[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 234484] kfile open dialog crashes Qt4 application in exit handler
From:       Roman Savochenko <rom_as () oscada ! org>
Date:       2011-07-08 18:21:07
Message-ID: E1QfFfn-0002ni-Th () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=234484


Roman Savochenko <rom_as@oscada.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rom_as@oscada.org




--- Comment #15 from Roman Savochenko <rom_as oscada org>  2011-07-08 18:21:07 ---
For other program but with like call QT mechanism I have backtrace for the
error:
(gdb) bt
#0  0x00007f927bbd26fb in QDBusAdaptorConnector::relaySlot (this=0x2941280,
argv=0x7fffd1abfc40) at qdbusabstractadaptor.cpp:270
#1  0x00007f927bbd2a05 in QDBusAdaptorConnector::qt_metacall (this=0x2941280,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd1abfc40)
    at qdbusabstractadaptor.cpp:366
#2  0x00007f928697947d in QMetaObject::activate (sender=0x29413d0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd1abfc40)
    at kernel/qobject.cpp:3283
#3  0x00007f928697988f in QObject::destroyed (this=<value optimized out>,
_t1=0x29413d0) at .moc/release-shared/moc_qobject.cpp:149
#4  0x00007f928697b975 in QObject::~QObject (this=0x29413d0, __in_chrg=<value
optimized out>) at kernel/qobject.cpp:843
#5  0x00007f9282037179 in KIO::Scheduler::~Scheduler() () from
/usr/lib64/libkio.so.5
#6  0x00007f928203d487 in ?? () from /usr/lib64/libkio.so.5
#7  0x00007f9282039979 in ?? () from /usr/lib64/libkio.so.5
#8  0x00007f928ca4d221 in __run_exit_handlers (status=10, listp=0x7f928cd7b4a8,
run_list_atexit=true) at exit.c:78
#9  0x00007f928ca4d275 in exit (status=43258496) at exit.c:100
#10 0x00007f928ca36c64 in __libc_start_main (main=0x4010c0 <main(int, char**,
char**)>, argc=2, ubp_av=0x7fffd1abfe98, init=<value optimized out>, 
    fini=<value optimized out>, rtld_fini=<value optimized out>,
stack_end=0x7fffd1abfe88) at libc-start.c:258
#11 0x0000000000400ff9 in _start () at ../sysdeps/x86_64/elf/start.S:113

From the bt I see what:
- QT call (QFileDialog::getSaveFileName()) to KDE4 the file name select plugin
through qOverride mechanism where been create KIO::Scheduler::Scheduler()
object.
- Next, on finish, QT objects have been full free by delete QApplication().
- Next, QT-module of the program have been unlinked by dlclose().
- And after all that we have crash on freeing try for
IO::Scheduler::Scheduler() which should be removed together with all QT
infrastructure freeing by QApplication() delete.

Who must be remove KIO::Scheduler::Scheduler()?

P.S. And other bug. KDE4 override file dialog, from
QFileDialog::getSaveFileName(), have not been localized and the warning have
place on start:
KGlobal::locale::Warning your global KLocale is being recreated with a valid
main component instead of a fake component, this usually means you tried to
call i18n related functions before your main component was created. You should
not do that since it most likely will not work

At that time QColorDialog KDE4 override dialog work fine and full localized!

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic