Bug 304640

Summary: Kmail Crashes Randomly
Product: [Applications] kmail2 Reporter: darthmedicus
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 darthmedicus 2012-08-06 02:48:17 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-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
When this crash occured, I had opened KMail after configuring it with my gmail account.  It crashed right after loading.  I have not yet been able to reproduce the exact instance in which it crashes as of yet.

-- 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 0x7f6d410027c0 (LWP 5834))]

Thread 4 (Thread 0x7f6d1ed2b700 (LWP 5838)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6d332d5dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6d332d5f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6d3be11e9a in start_thread (arg=0x7f6d1ed2b700) at pthread_create.c:308
#4  0x00007f6d3e3424bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6d1e42a700 (LWP 5839)):
#0  0x00007f6d3e336b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6d36be2036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6d36be2164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6d3eccd426 in QEventDispatcherGlib::processEvents (this=0x7f6d180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6d3ec9cc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6d3ec9ced7 in QEventLoop::exec (this=0x7f6d1e429dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6d3eb9bfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6d3eb9efcb in QThreadPrivate::start (arg=0xc6d270) at thread/qthread_unix.cpp:298
#8  0x00007f6d3be11e9a in start_thread (arg=0x7f6d1e42a700) at pthread_create.c:308
#9  0x00007f6d3e3424bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6cd7613700 (LWP 5842)):
#0  0x00007fff438998de in ?? ()
#1  0x00007f6d35c5f15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f6d3ebf5bb4 in do_gettime (frac=0x7f6cd7612b58, sec=0x7f6cd7612b50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f6d3eccdb8d in QTimerInfoList::updateCurrentTime (this=0x7f6ccc002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f6d3eccdec3 in QTimerInfoList::timerWait (this=0x7f6ccc002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f6d3eccc97c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f6cd7612c2c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f6d3eccca25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f6d36be1846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f6d36be1f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f6d36be2164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f6d3eccd426 in QEventDispatcherGlib::processEvents (this=0x7f6ccc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f6d3ec9cc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f6d3ec9ced7 in QEventLoop::exec (this=0x7f6cd7612d90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f6d3eb9bfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f6d3ec7c9ff in QInotifyFileSystemWatcherEngine::run (this=0x1112730) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f6d3eb9efcb in QThreadPrivate::start (arg=0x1112730) at thread/qthread_unix.cpp:298
#17 0x00007f6d3be11e9a in start_thread (arg=0x7f6cd7613700) at pthread_create.c:308
#18 0x00007f6d3e3424bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6d410027c0 (LWP 5834)):
[KCrash Handler]
#6  0x00007f6d3e286445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f6d3e289bab in __GI_abort () at abort.c:91
#8  0x00007f6d3eb9450b in qt_message_output (msgType=<optimized out>, buf=0x9921a8 "Fatal Error: Accessed global static 'QList<KMainWindow*> *sMemberList()' after destruction. Defined at ../../kdeui/widgets/kmainwindow.cpp:214") at global/qglobal.cpp:2276
#9  0x00007f6d3eb948bf in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f6d40b61430 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff43802f58) at global/qglobal.cpp:2322
#10 0x00007f6d3eb94a64 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2505
#11 0x00007f6d40abf4cf 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 0x00007f6d3fda5072 in KMKernel::dumpDeadLetters (this=<optimized out>) at ../../kmail/kmkernel.cpp:1283
#15 0x00007f6d3fda53d7 in kmCrashHandler (sigId=<optimized out>) at ../../kmail/kmkernel.cpp:1135
#16 0x00007f6d40a63b49 in KCrash::defaultCrashHandler (sig=6) at ../../kdeui/util/kcrash.cpp:307
#17 <signal handler called>
#18 0x00007f6d3e286445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#19 0x00007f6d3e289bab in __GI_abort () at abort.c:91
#20 0x00007f6d3eb9450b in qt_message_output (msgType=<optimized out>, buf=0x87eb08 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/mailkernel.cpp:48") at global/qglobal.cpp:2276
#21 0x00007f6d3eb948bf in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f6d3a1839d8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff43803a18) at global/qglobal.cpp:2322
#22 0x00007f6d3eb94a64 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2505
#23 0x00007f6d3a12724f in operator-> (this=<optimized out>) at ../../mailcommon/mailkernel.cpp:48
#24 MailCommon::Kernel::self () at ../../mailcommon/mailkernel.cpp:64
#25 0x00007f6d3a117019 in MailCommon::FolderCollection::writeConfig (this=0x1185bc0) at ../../mailcommon/foldercollection.cpp:210
#26 0x00007f6d3a117a41 in MailCommon::FolderCollection::~FolderCollection (this=0x1185bc0, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:83
#27 0x00007f6d3a117ad9 in MailCommon::FolderCollection::~FolderCollection (this=0x1185bc0, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:85
#28 0x00007f6d3a1157f6 in deref (value=0x1185bc0, d=0x1185720) 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=0xe06910, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:651
#33 0x00007f6d3e28bd3d in __cxa_finalize (d=0x7f6d3a3c9320) at cxa_finalize.c:56
#34 0x00007f6d3a0e5376 in __do_global_dtors_aux () from /usr/lib/libmailcommon.so.4
#35 0x00007fff43803e80 in ?? ()
#36 0x00007fff43804580 in ?? ()
#37 0x00007f6d3a17d4d1 in _fini () from /usr/lib/libmailcommon.so.4
#38 0x00007fff43804580 in ?? ()
#39 0x00007f6d40e4492d in _dl_fini () at dl-fini.c:259
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

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

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-19 16:42:18 UTC

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