Bug 305491

Summary: Kmal Crash when i delete local mailfolder!
Product: [Applications] kmail2 Reporter: Thomas Swoboda <info>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Swoboda 2012-08-20 13:28:44 UTC
Application: kmail (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
Start Kmail and delete the local mail folder.
The lcoal mail folder was market as red.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa30e5fd7c0 (LWP 2878))]

Thread 4 (Thread 0x7fa2ebec9700 (LWP 2926)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3008dddec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa3008ddf19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa309419e9a in start_thread (arg=0x7fa2ebec9700) at pthread_create.c:308
#4  0x00007fa30b94a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa2eb5c0700 (LWP 2927)):
#0  0x00007fa30b93eb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa3041ea036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa3041ea164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa30c2d5426 in QEventDispatcherGlib::processEvents (this=0x7fa2e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa30c2a4c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa30c2a4ed7 in QEventLoop::exec (this=0x7fa2eb5bfdc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa30c1a3fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fa30c1a6fcb in QThreadPrivate::start (arg=0x1e71860) at thread/qthread_unix.cpp:298
#8  0x00007fa309419e9a in start_thread (arg=0x7fa2eb5c0700) at pthread_create.c:308
#9  0x00007fa30b94a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa2a356f700 (LWP 2931)):
#0  0x00007fa30b93eb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa3041ea036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa3041ea164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa30c2d5426 in QEventDispatcherGlib::processEvents (this=0x7fa29c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa30c2a4c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa30c2a4ed7 in QEventLoop::exec (this=0x7fa2a356ed90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa30c1a3fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fa30c2849ff in QInotifyFileSystemWatcherEngine::run (this=0x2395da0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa30c1a6fcb in QThreadPrivate::start (arg=0x2395da0) at thread/qthread_unix.cpp:298
#9  0x00007fa309419e9a in start_thread (arg=0x7fa2a356f700) at pthread_create.c:308
#10 0x00007fa30b94a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa30e5fd7c0 (LWP 2878)):
[KCrash Handler]
#6  0x00007fa30b88e445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fa30b891bab in __GI_abort () at abort.c:91
#8  0x00007fa30c19c50b in qt_message_output (msgType=<optimized out>, buf=0x1ae21d8 "Fatal Error: Accessed global static 'QList<KMainWindow*> *sMemberList()' after destruction. Defined at ../../kdeui/widgets/kmainwindow.cpp:214") at global/qglobal.cpp:2276
#9  0x00007fa30c19c8bf in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fa30e169430 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff30d6ae18) at global/qglobal.cpp:2322
#10 0x00007fa30c19ca64 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2505
#11 0x00007fa30e0c74cf in operator-> (this=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:214
#12 operator* (this=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:214
#13 KMainWindow::memberList () at ../../kdeui/widgets/kmainwindow.cpp:1176
#14 0x00007fa30d3ad072 in KMKernel::dumpDeadLetters (this=<optimized out>) at ../../kmail/kmkernel.cpp:1283
#15 0x00007fa30d3ad3d7 in kmCrashHandler (sigId=<optimized out>) at ../../kmail/kmkernel.cpp:1135
#16 0x00007fa30e06bb49 in KCrash::defaultCrashHandler (sig=6) at ../../kdeui/util/kcrash.cpp:307
#17 <signal handler called>
#18 0x00007fa30b88e445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#19 0x00007fa30b891bab in __GI_abort () at abort.c:91
#20 0x00007fa30c19c50b in qt_message_output (msgType=<optimized out>, buf=0x18ae3c8 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/mailkernel.cpp:48") at global/qglobal.cpp:2276
#21 0x00007fa30c19c8bf in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fa30778b9d8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff30d6b908) at global/qglobal.cpp:2322
#22 0x00007fa30c19ca64 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2505
#23 0x00007fa30772f24f in operator-> (this=<optimized out>) at ../../mailcommon/mailkernel.cpp:48
#24 MailCommon::Kernel::self () at ../../mailcommon/mailkernel.cpp:64
#25 0x00007fa30771f019 in MailCommon::FolderCollection::writeConfig (this=0x1c05f40) at ../../mailcommon/foldercollection.cpp:210
#26 0x00007fa30771fa41 in MailCommon::FolderCollection::~FolderCollection (this=0x1c05f40, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:83
#27 0x00007fa30771fad9 in MailCommon::FolderCollection::~FolderCollection (this=0x1c05f40, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:85
#28 0x00007fa30771d7f6 in deref (value=0x1c05f40, d=0x207e3e0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#29 deref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#30 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#31 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:466
#32 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x21f77e0, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:651
#33 0x00007fa30b893d3d in __cxa_finalize (d=0x7fa3079d1320) at cxa_finalize.c:56
#34 0x00007fa3076ed376 in __do_global_dtors_aux () from /usr/lib/libmailcommon.so.4
#35 0x00007fff30d6bd70 in ?? ()
#36 0x00007fff30d6c510 in ?? ()
#37 0x00007fa3077854d1 in _fini () from /usr/lib/libmailcommon.so.4
#38 0x00007fff30d6c510 in ?? ()
#39 0x00007fa30e44c92d in _dl_fini () at dl-fini.c:259
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Possible duplicates by query: bug 304640, bug 303531, bug 300961, bug 300220, bug 300059.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-20 13:46:56 UTC

*** This bug has been marked as a duplicate of bug 303531 ***