Bug 313084 - kontact kmail crash
Summary: kontact kmail crash
Status: RESOLVED DUPLICATE of bug 306565
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-11 15:49 UTC by bwduncan
Modified: 2013-03-06 21:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bwduncan 2013-01-11 15:49:42 UTC
Application: kontact (4.9.3)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-21-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

While composing a mail message, I selected tools->address book. Kontact crashed. ~/.xsession-errors contained:

Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/mailkernel.cpp:53
*** KMail got signal 6 (Exiting)
Fatal Error: Accessed global static 'CodecManagerPrivate *sInstance()' after destruction. Defined at ../../kmail/codecmanager.cpp:50
unnamed app(5430): Communication problem with  "kaddressbook" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 

KCrash: Application 'kontact' crashing...

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4363cae7c0 (LWP 9708))]

Thread 3 (Thread 0x7f435c24b700 (LWP 9709)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4375224b2d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f4375be5280 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2499
#2  0x00007f4375224c39 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1622
#3  0x00007f437076fe9a in start_thread (arg=0x7f435c24b700) at pthread_create.c:308
#4  0x00007f4375f4fcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f435b94a700 (LWP 9710)):
#0  0x00007f4375f44303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f43702a0d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f43702a0ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f43766c4c16 in QEventDispatcherGlib::processEvents (this=0x7f43540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f43766952bf in QEventLoop::processEvents (this=this@entry=0x7f435b949dc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4376695548 in QEventLoop::exec (this=0x7f435b949dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4376596b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4376599aec in QThreadPrivate::start (arg=0x184b2d0) at thread/qthread_unix.cpp:338
#8  0x00007f437076fe9a in start_thread (arg=0x7f435b94a700) at pthread_create.c:308
#9  0x00007f4375f4fcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4363cae7c0 (LWP 9708)):
[KCrash Handler]
#6  0x00007f4375e92425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f4375e95b8b in __GI_abort () at abort.c:91
#8  0x00007f437658f4c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0xad698d8 "Fatal Error: Accessed global static 'CodecManagerPrivate *sInstance()' after destruction. Defined at ../../kmail/codecmanager.cpp:50") at global/qglobal.cpp:2290
#9  0x00007f437658f838 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f4312b741b8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fffcfe29c98) at global/qglobal.cpp:2336
#10 0x00007f437658f9c4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2519
#11 0x00007f4312b1e45f in operator-> (this=<optimized out>) at ../../kmail/codecmanager.cpp:50
#12 CodecManager::self () at ../../kmail/codecmanager.cpp:73
#13 0x00007f4312b1d8aa in CodecAction::mimeCharsets (this=0xa472f40) at ../../kmail/codecaction.cpp:82
#14 0x00007f4312b38d9b in KMComposeWin::applyComposerSetting (this=this@entry=0xad05570, mComposerBase=0xaaf82b0) at ../../kmail/kmcomposewin.cpp:2686
#15 0x00007f4312b38fcf in KMComposeWin::autoSaveMessage (this=0xad05570, force=<optimized out>) at ../../kmail/kmcomposewin.cpp:1836
#16 0x00007f4312abff39 in KMKernel::dumpDeadLetters (this=0x25ec) at ../../kmail/kmkernel.cpp:1334
#17 0x00007f4312ac0207 in kmCrashHandler (sigId=<optimized out>) at ../../kmail/kmkernel.cpp:1176
#18 0x00007f4377dde308 in KCrash::defaultCrashHandler (sig=6) at ../../kdeui/util/kcrash.cpp:307
#19 <signal handler called>
#20 0x00007f4375e92425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#21 0x00007f4375e95b8b in __GI_abort () at abort.c:91
#22 0x00007f437658f4c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0xa75d338 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/mailkernel.cpp:53") at global/qglobal.cpp:2290
#23 0x00007f437658f838 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f431278cd68 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fffcfe2a898) at global/qglobal.cpp:2336
#24 0x00007f437658f9c4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2519
#25 0x00007f431273b917 in operator-> (this=<optimized out>) at ../../mailcommon/mailkernel.cpp:53
#26 MailCommon::Kernel::self () at ../../mailcommon/mailkernel.cpp:69
#27 0x00007f431272e019 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x232c830) at ../../mailcommon/foldercollection.cpp:208
#28 0x00007f431272eaea in MailCommon::FolderCollection::~FolderCollection (this=0x232c830, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:83
#29 0x00007f431272eb69 in MailCommon::FolderCollection::~FolderCollection (this=0x232c830, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:85
#30 0x00007f431272c884 in deref (value=0x232c830, d=0x1c0f240) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#31 deref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#32 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#33 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:466
#34 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x22f24f0, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#35 0x00007f4375e97901 in __run_exit_handlers (status=255, listp=0x7f43762146a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
#36 0x00007f4375e97985 in __GI_exit (status=<optimized out>) at exit.c:100
#37 0x00007f4376b22592 in KCmdLineArgs::isSet (this=0x914a320, _opt=...) at ../../kdecore/kernel/kcmdlineargs.cpp:1520
#38 0x0000000000403d17 in KontactApp::newInstance (this=0x7fffcfe2beb0) at ../../../kontact/src/main.cpp:130
#39 0x00007f4377d86482 in KUniqueApplicationAdaptor::newInstance (this=0x17c9a90, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#40 0x00007f4377d86504 in qt_static_metacall (_a=0x7fffcfe2b0f0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#41 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffcfe2b0f0) at ./kuniqueapplication_p.moc:52
#42 0x00007f4377d8663b in KUniqueApplicationAdaptor::qt_metacall (this=0x17c9a90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffcfe2b0f0) at ./kuniqueapplication_p.moc:102
#43 0x00007f43730b2ed3 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x1682b40, object=object@entry=0x17c9a90, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#44 0x00007f43730b3fd5 in QDBusConnectionPrivate::activateCall (this=this@entry=0x1682b40, object=0x17c9a90, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:857
#45 0x00007f43730b494f in QDBusConnectionPrivate::activateObject (this=0x1682b40, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#46 0x00007f43730b4a2b in QDBusActivateObjectEvent::placeMetaCall (this=0xad6e7a0) at qdbusintegrator.cpp:1537
#47 0x00007f43766ab43e in QObject::event (this=0x7fffcfe2beb0, e=<optimized out>) at kernel/qobject.cpp:1195
#48 0x00007f4377079f94 in QApplication::event (this=0x7fffcfe2beb0, e=0xad6e7a0) at kernel/qapplication.cpp:2544
#49 0x00007f4377077e9c in QApplicationPrivate::notify_helper (this=this@entry=0x169db50, receiver=receiver@entry=0x7fffcfe2beb0, e=e@entry=0xad6e7a0) at kernel/qapplication.cpp:4562
#50 0x00007f437707c30a in QApplication::notify (this=0x7fffcfe2beb0, receiver=0x7fffcfe2beb0, e=0xad6e7a0) at kernel/qapplication.cpp:4423
#51 0x00007f4377d801d6 in KApplication::notify (this=0x7fffcfe2beb0, receiver=0x7fffcfe2beb0, event=0xad6e7a0) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f437669656e in QCoreApplication::notifyInternal (this=0x7fffcfe2beb0, receiver=receiver@entry=0x7fffcfe2beb0, event=event@entry=0xad6e7a0) at kernel/qcoreapplication.cpp:915
#53 0x00007f437669a3f1 in sendEvent (event=0xad6e7a0, receiver=0x7fffcfe2beb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1662380) at kernel/qcoreapplication.cpp:1539
#55 0x00007f43766c4a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=0x168dad0) at kernel/qeventdispatcher_glib.cpp:279
#57 0x00007f43702a0ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f43702a0de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f43702a0ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f43766c4bf6 in QEventDispatcherGlib::processEvents (this=0x1663c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#61 0x00007f437711cc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f43766952bf in QEventLoop::processEvents (this=this@entry=0x7fffcfe2bd20, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f4376695548 in QEventLoop::exec (this=0x7fffcfe2bd20, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f437669a708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#65 0x0000000000403339 in main (argc=1, argv=0x7fffcfe2bff8) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 309981, bug 307369, bug 302707, bug 296226, bug 286605.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-06 21:32:34 UTC

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