Bug 316179

Summary: Kmil2 crashes at startup
Product: [Applications] kmail2 Reporter: aureli <aurelibuendia>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: montel
Priority: NOR    
Version: 4.8.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description aureli 2013-03-05 15:33:45 UTC
Application: kmail (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5) "release 522"
Qt Version: 4.8.4
Operating System: Linux 3.1.10-1.16-desktop i686
Distribution: "openSUSE 12.1 (i586)"

-- Information about the crash:
El recurso carpetas kmail esta daƱado

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0xb1731b50 (LWP 31193))]

Thread 3 (Thread 0xafd61b70 (LWP 31203)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0xb5e2b5cc in __pthread_cond_wait (cond=0xb3f4ae70, mutex=0xb3f4ae58) at forward.c:139
#2  0xb37f3ea9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb37f3eef in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb582ea7d in start_thread (arg=0xafd61b70) at pthread_create.c:301
#5  0xb5e1dabe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xaf439b70 (LWP 31204)):
#0  0xb455fc92 in __GI_clock_gettime (clock_id=1, tp=0xaf439018) at ../sysdeps/unix/clock_gettime.c:115
#1  0xb6b72e35 in do_gettime (frac=0xaf439010, sec=0xaf439008) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6c5dde6 in QTimerInfoList::updateCurrentTime (this=0xaeb01abc) at kernel/qeventdispatcher_unix.cpp:354
#4  0xb6c5e14a in QTimerInfoList::timerWait (this=0xaeb01abc, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#5  0xb6c5c843 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaf43911c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6c5c8dd in timerSourcePrepare (source=0xaeb01a88, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb44a649c in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0xb44a7257 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb44a784a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0xb6c5d3a7 in QEventDispatcherGlib::processEvents (this=0xaeb00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb6c28dcd in QEventLoop::processEvents (this=0xaf4392b0, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6c29069 in QEventLoop::exec (this=0xaf4392b0, flags=...) at kernel/qeventloop.cpp:204
#13 0xb6b10ecc in QThread::exec (this=0x8778720) at thread/qthread.cpp:542
#14 0xb6b10fbb in QThread::run (this=0x8778720) at thread/qthread.cpp:609
#15 0xb6b143f8 in QThreadPrivate::start (arg=0x8778720) at thread/qthread_unix.cpp:338
#16 0xb582ea7d in start_thread (arg=0xaf439b70) at pthread_create.c:301
#17 0xb5e1dabe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb1731b50 (LWP 31193)):
[KCrash Handler]
#6  0xb5d758c5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0xb5d771d5 in __GI_abort () at abort.c:93
#8  0xb6b08e1a in qt_message_output (msgType=QtFatalMsg, buf=0x82bcf60 "Fatal Error: Accessed global static 'QList<KMainWindow*> *sMemberList()' after destruction. Defined at /home/abuild/rpmbuild/BUILD/kdelibs-4.8.5/kdeui/widgets/kmainwindow.cpp:214") at global/qglobal.cpp:2323
#9  0xb6b0901b in qt_message (msgType=QtFatalMsg, msg=0xb7614c28 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0xbfb9d3d4 "\352\327c\267\336\327c\267D\327c\267\326") at global/qglobal.cpp:2369
#10 0xb6b09138 in qFatal (msg=0xb7614c28 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2552
#11 0xb737166b in operator-> (this=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kdeui/widgets/kmainwindow.cpp:214
#12 0xb755b3f8 in operator-> (this=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kdeui/widgets/kmainwindow.cpp:214
#13 operator* (this=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kdeui/widgets/kmainwindow.cpp:214
#14 KMainWindow::memberList () at /usr/src/debug/kdelibs-4.8.5/kdeui/widgets/kmainwindow.cpp:1176
#15 0xb6e50b64 in KMKernel::dumpDeadLetters() () from /usr/lib/libkmailprivate.so.4
#16 0xb6e50ef0 in ?? () from /usr/lib/libkmailprivate.so.4
#17 0xb74f123f in KCrash::defaultCrashHandler (sig=6) at /usr/src/debug/kdelibs-4.8.5/kdeui/util/kcrash.cpp:307
#18 <signal handler called>
#19 0xb5d758c5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#20 0xb5d771d5 in __GI_abort () at abort.c:93
#21 0xb6b08e1a in qt_message_output (msgType=QtFatalMsg, buf=0x8ba0e08 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at /home/abuild/rpmbuild/BUILD/kdepim-4.8.5/mailcommon/mailkernel.cpp:48") at global/qglobal.cpp:2323
#22 0xb6b0901b in qt_message (msgType=QtFatalMsg, msg=0xb4faaf48 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0xbfb9dde4 "\321\260\372\264\307\260\372\264\004\257\372\264\060") at global/qglobal.cpp:2369
#23 0xb6b09138 in qFatal (msg=0xb4faaf48 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2552
#24 0xb4f4344f in operator-> (this=<optimized out>) at /usr/src/debug/kdepim-4.8.5/mailcommon/mailkernel.cpp:48
#25 MailCommon::Kernel::self () at /usr/src/debug/kdepim-4.8.5/mailcommon/mailkernel.cpp:64
#26 0xb4f30efe in MailCommon::FolderCollection::writeConfig (this=0x8a33b50) at /usr/src/debug/kdepim-4.8.5/mailcommon/foldercollection.cpp:210
#27 0xb4f31a03 in MailCommon::FolderCollection::~FolderCollection (this=0x8a33b50, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.8.5/mailcommon/foldercollection.cpp:83
#28 0xb4f31ac2 in MailCommon::FolderCollection::~FolderCollection (this=0x8a33b50, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.8.5/mailcommon/foldercollection.cpp:85
#29 0xb4f2f3a1 in deref (value=<optimized out>, d=0x8479778) at /usr/include/QtCore/qsharedpointer_impl.h:342
#30 deref (this=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:336
#31 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:401
#32 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:466
#33 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x8a326a0, this=<optimized out>) at /usr/include/QtCore/qmap.h:652
#34 0xb5d78cdb in __cxa_finalize (d=0xb4feb23c) at cxa_finalize.c:56
#35 0xb4ef8cd4 in __do_global_dtors_aux () from /usr/lib/libmailcommon.so.4
#36 0xb4fa4abd in _fini () from /usr/lib/libmailcommon.so.4
#37 0xb772d4c4 in _rtld_local () from /lib/ld-linux.so.2
#38 0xb772cfc4 in ?? () from /lib/ld-linux.so.2
#39 0xb5d78931 in __run_exit_handlers (status=1, listp=0xb5eb1304, run_list_atexit=true) at exit.c:78
#40 0xb5d789bd in __GI_exit (status=1) at exit.c:100
#41 0xb4f44012 in MailCommon::Kernel::emergencyExit (this=0x82c6b80, reason=...) at /usr/src/debug/kdepim-4.8.5/mailcommon/mailkernel.cpp:186
#42 0xb4f4451b in MailCommon::Kernel::createDefaultCollectionDone (this=0x82c6b80, job=0xbfb9e50c) at /usr/src/debug/kdepim-4.8.5/mailcommon/mailkernel.cpp:157
#43 0xb4f44c9d in qt_static_metacall (_a=0xbfb9e618, _o=0x82c6b80, _c=<optimized out>, _id=<optimized out>) at /usr/src/debug/kdepim-4.8.5/build/mailcommon/mailkernel.moc:59
#44 MailCommon::Kernel::qt_static_metacall (_o=0x82c6b80, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfb9e618) at /usr/src/debug/kdepim-4.8.5/build/mailcommon/mailkernel.moc:51
#45 0xb6c3f87f in QMetaObject::activate (sender=0x8261840, m=0xb72774ac, local_signal_index=3, argv=0xbfb9e618) at kernel/qobject.cpp:3548
#46 0xb70c38a5 in KJob::result (this=0x8261840, _t1=0x8261840) at /usr/src/debug/kdelibs-4.8.5/build/kdecore/kjob.moc:208
#47 0xb70c38f8 in KJob::emitResult (this=0x8261840) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:318
#48 0xb52a604d in Akonadi::TransactionSequence::commit (this=0x8261840) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/transactionsequence.cpp:160
#49 0xb530b2cf in Akonadi::SpecialCollectionsRequestJobPrivate::nextResource (this=0x8170160) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/specialcollectionsrequestjob.cpp:174
#50 0xb530bb76 in Akonadi::SpecialCollectionsRequestJobPrivate::createRequestedFolders (this=0x8170160, scanJob=0x86d1b10, requestedFolders=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/specialcollectionsrequestjob.cpp:255
#51 0xb530c347 in Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult (this=0x8170160, job=0xbfb9e860) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/specialcollectionsrequestjob.cpp:206
#52 0xb6c3f87f in QMetaObject::activate (sender=0x86d1b10, m=0xb72774ac, local_signal_index=3, argv=0xbfb9e958) at kernel/qobject.cpp:3548
#53 0xb70c38a5 in KJob::result (this=0x86d1b10, _t1=0x86d1b10) at /usr/src/debug/kdelibs-4.8.5/build/kdecore/kjob.moc:208
#54 0xb70c38f8 in KJob::emitResult (this=0x86d1b10) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:318
#55 0xb52d3355 in Akonadi::ResourceScanJob::Private::fetchResult (this=0x878c5c8, job=0x89ceba0) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/specialcollectionshelperjobs.cpp:150
#56 0xb6c3f87f in QMetaObject::activate (sender=0x89ceba0, m=0xb72774ac, local_signal_index=3, argv=0xbfb9eb28) at kernel/qobject.cpp:3548
#57 0xb70c38a5 in KJob::result (this=0x89ceba0, _t1=0x89ceba0) at /usr/src/debug/kdelibs-4.8.5/build/kdecore/kjob.moc:208
#58 0xb70c38f8 in KJob::emitResult (this=0x89ceba0) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:318
#59 0xb529dfbe in Akonadi::JobPrivate::delayedEmitResult (this=0x81eaeb8) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/job.cpp:144
#60 0xb6c3c2b1 in QMetaCallEvent::placeMetaCall (this=0x89f0e28, object=0x89ceba0) at kernel/qobject.cpp:524
#61 0xb6c4557b in QObject::event (this=0x89ceba0, e=0x89f0e28) at kernel/qobject.cpp:1203
#62 0xb610e594 in notify_helper (e=0x89f0e28, receiver=0x89ceba0, this=0x8092cf0) at kernel/qapplication.cpp:4562
#63 QApplicationPrivate::notify_helper (this=0x8092cf0, receiver=0x89ceba0, e=0x89f0e28) at kernel/qapplication.cpp:4534
#64 0xb61138d3 in QApplication::notify (this=0x89f0e28, receiver=0x89ceba0, e=0x89f0e28) at kernel/qapplication.cpp:4291
#65 0xb747fe91 in KApplication::notify (this=0xbfb9f3ac, receiver=0x89ceba0, event=0x89f0e28) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#66 0xb6c2a54e in QCoreApplication::notifyInternal (this=0xbfb9f3ac, receiver=0x89ceba0, event=0x89f0e28) at kernel/qcoreapplication.cpp:946
#67 0xb6c2e1c8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#68 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8051750) at kernel/qcoreapplication.cpp:1570
#69 0xb6c2e4fc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1463
#70 0xb6c5cf54 in sendPostedEvents () at kernel/qcoreapplication.h:236
#71 postEventSourceDispatch (s=0x8098f50) at kernel/qeventdispatcher_glib.cpp:279
#72 0xb44a6e7f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#73 0xb44a75b0 in ?? () from /usr/lib/libglib-2.0.so.0
#74 0xb44a784a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#75 0xb6c5d347 in QEventDispatcherGlib::processEvents (this=0x8051388, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#76 0xb61c27fa in QGuiEventDispatcherGlib::processEvents (this=0x8051388, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0xb6c28dcd in QEventLoop::processEvents (this=0xbfb9f2d4, flags=...) at kernel/qeventloop.cpp:149
#78 0xb6c29069 in QEventLoop::exec (this=0xbfb9f2d4, flags=...) at kernel/qeventloop.cpp:204
#79 0xb6c2e5aa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#80 0xb610c434 in QApplication::exec () at kernel/qapplication.cpp:3823
#81 0x0804a496 in ?? ()
#82 0xb5d61003 in __libc_start_main (main=0x8049c50, argc=3, ubp_av=0xbfb9f554, init=0x804ae00 <__libc_csu_init>, fini=0x804ae70 <__libc_csu_fini>, rtld_fini=0xb771bca0 <_dl_fini>, stack_end=0xbfb9f54c) at libc-start.c:226
#83 0x0804a939 in _start ()

Possible duplicates by query: bug 313684, bug 308545, bug 306435, bug 305658, bug 305491.

Reported using DrKonqi
Comment 1 Laurent Montel 2013-03-05 15:44:25 UTC
We already fixed it in 4.9.x

Please update your version.
Today we release 4.10.1.

4.8.5 is outdated.