Bug 300059

Summary: KMail crashes at start
Product: [Applications] kmail2 Reporter: Stefan <chileno35>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: 4.8.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan 2012-05-15 12:07:54 UTC
Application: kmail (4.8.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I made a fresh install of Kubuntu 12.04 and wanted to start KMail.

The crash can be reproduced every time.

-- 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 0x7fe0c94357c0 (LWP 2142))]

Thread 4 (Thread 0x7fe0a6db1700 (LWP 2153)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe0bb71ddec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fe0bb71df19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fe0c424fe9a in start_thread (arg=0x7fe0a6db1700) at pthread_create.c:308
#4  0x00007fe0c67804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe0a6498700 (LWP 2154)):
#0  0x00007fe0c6774b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe0bf029ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0bf02a124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe0c710b426 in QEventDispatcherGlib::processEvents (this=0x7fe0a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe0c70dac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe0c70daed7 in QEventLoop::exec (this=0x7fe0a6497dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe0c6fd9fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe0c6fdcfcb in QThreadPrivate::start (arg=0x14a5980) at thread/qthread_unix.cpp:298
#8  0x00007fe0c424fe9a in start_thread (arg=0x7fe0a6498700) at pthread_create.c:308
#9  0x00007fe0c67804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe05e7ee700 (LWP 2163)):
#0  0x00007fe0c6774b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe0bf029ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0bf02a124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe0c710b426 in QEventDispatcherGlib::processEvents (this=0x7fe04c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe0c70dac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe0c70daed7 in QEventLoop::exec (this=0x7fe05e7edd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe0c6fd9fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe0c70ba9ff in QInotifyFileSystemWatcherEngine::run (this=0x19c3e30) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe0c6fdcfcb in QThreadPrivate::start (arg=0x19c3e30) at thread/qthread_unix.cpp:298
#9  0x00007fe0c424fe9a in start_thread (arg=0x7fe05e7ee700) at pthread_create.c:308
#10 0x00007fe0c67804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe0c94357c0 (LWP 2142)):
[KCrash Handler]
#6  0x00007fe0c66c4445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fe0c66c7bab in __GI_abort () at abort.c:91
#8  0x00007fe0c6fd250b in qt_message_output (msgType=<optimized out>, buf=0x1228818 "Fatal Error: Accessed global static 'QList<KMainWindow*> *sMemberList()' after destruction. Defined at ../../kdeui/widgets/kmainwindow.cpp:214") at global/qglobal.cpp:2276
#9  0x00007fe0c6fd28bf in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fe0c8f96ff0 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7ffff344a3d8) at global/qglobal.cpp:2322
#10 0x00007fe0c6fd2a64 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2505
#11 0x00007fe0c8ef562f 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 0x00007fe0c81e2c42 in KMKernel::dumpDeadLetters (this=<optimized out>) at ../../kmail/kmkernel.cpp:1283
#15 0x00007fe0c81e2fa7 in kmCrashHandler (sigId=<optimized out>) at ../../kmail/kmkernel.cpp:1135
#16 0x00007fe0c8e99ca9 in KCrash::defaultCrashHandler (sig=6) at ../../kdeui/util/kcrash.cpp:307
#17 <signal handler called>
#18 0x00007fe0c66c4445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#19 0x00007fe0c66c7bab in __GI_abort () at abort.c:91
#20 0x00007fe0c6fd250b in qt_message_output (msgType=<optimized out>, buf=0x15af288 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/mailkernel.cpp:48") at global/qglobal.cpp:2276
#21 0x00007fe0c6fd28bf in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fe0c25c5778 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7ffff344aec8) at global/qglobal.cpp:2322
#22 0x00007fe0c6fd2a64 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2505
#23 0x00007fe0c25690bf in operator-> (this=<optimized out>) at ../../mailcommon/mailkernel.cpp:48
#24 MailCommon::Kernel::self () at ../../mailcommon/mailkernel.cpp:64
#25 0x00007fe0c2558e89 in MailCommon::FolderCollection::writeConfig (this=0x1ab32b0) at ../../mailcommon/foldercollection.cpp:210
#26 0x00007fe0c25598b1 in MailCommon::FolderCollection::~FolderCollection (this=0x1ab32b0, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:83
#27 0x00007fe0c2559949 in MailCommon::FolderCollection::~FolderCollection (this=0x1ab32b0, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:85
#28 0x00007fe0c2557666 in deref (value=0x1ab32b0, d=0x1ab2a80) 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=0x1a002b0, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:651
#33 0x00007fe0c66c9d3d in __cxa_finalize (d=0x7fe0c280b310) at cxa_finalize.c:56
#34 0x00007fe0c25272c6 in __do_global_dtors_aux () from /usr/lib/libmailcommon.so.4
#35 0x00007ffff344b330 in ?? ()
#36 0x00007ffff344ba40 in ?? ()
#37 0x00007fe0c25bf271 in _fini () from /usr/lib/libmailcommon.so.4
#38 0x00007ffff344ba40 in ?? ()
#39 0x00007fe0c927992d in _dl_fini () at dl-fini.c:259
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Possible duplicates by query: bug 294752, bug 286605, bug 286172, bug 281038, bug 277629.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-03 14:03:14 UTC

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