Bug 310116

Summary: Kontact ignored close request and crashed
Product: [Applications] kontact Reporter: Christopher Yeleighton <giecrilj>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christopher Yeleighton 2012-11-14 20:41:31 UTC
Application: kontact (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

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

I woke my computer up.  Kontact asked whether it should reconnect.  I tried to confirm but the dialogue box did not submit so I closed the dialogue box.  I told KWin to close Kontact but nothing happened.  I was unable to talk to Kontact because it did not show menus items.  I asked Plasma to launch Kontact and then it aborted.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f454a2ec780 (LWP 1712))]

Thread 4 (Thread 0x7f4531b96700 (LWP 1780)):
#0  0x00007f45421f88f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4546b3a177 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f4546b3a1a9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f45421f4e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f454783f2bd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f453127d700 (LWP 1786)):
#0  0x00007fff5b36265e in clock_gettime ()
#1  0x00007f453fe39f7d in clock_gettime () from /lib64/librt.so.1
#2  0x00007f4547edea24 in do_gettime (frac=0x7f453127cba8, sec=0x7f453127cba0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f4547fb115d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f452c002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f4547fb14a3 in QTimerInfoList::timerWait (this=0x7f452c002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f4547fb001c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f453127cc7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f4541c48ebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f4541c495ab in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f4541c497a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f4547fb0956 in QEventDispatcherGlib::processEvents (this=0x7f452c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007f4547f8173f in QEventLoop::processEvents (this=this@entry=0x7f453127ce20, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f4547f819c8 in QEventLoop::exec (this=0x7f453127ce20, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f4547e85e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007f4547e88ddb in QThreadPrivate::start (arg=0xc0dcf0) at thread/qthread_unix.cpp:298
#15 0x00007f45421f4e0e in start_thread () from /lib64/libpthread.so.0
#16 0x00007f454783f2bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f44d7c89700 (LWP 10490)):
#0  0x00007fff5b36265e in clock_gettime ()
#1  0x00007f453fe39f7d in clock_gettime () from /lib64/librt.so.1
#2  0x00007f4547edea24 in do_gettime (frac=0x7f44d7c88b58, sec=0x7f44d7c88b50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f4547fb115d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f44d00011d0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f4547fb14a3 in QTimerInfoList::timerWait (this=0x7f44d00011d0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f4547fb001c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f44d7c88c4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f4547fb00c5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f4541c48ebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f4541c495ab in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f4541c497a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f4547fb0956 in QEventDispatcherGlib::processEvents (this=0x7f44d0004a70, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f4547f8173f in QEventLoop::processEvents (this=this@entry=0x7f44d7c88df0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f4547f819c8 in QEventLoop::exec (this=0x7f44d7c88df0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f4547e85e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f4547f6211f in QInotifyFileSystemWatcherEngine::run (this=0x2d40390) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f4547e88ddb in QThreadPrivate::start (arg=0x2d40390) at thread/qthread_unix.cpp:298
#17 0x00007f45421f4e0e in start_thread () from /lib64/libpthread.so.0
#18 0x00007f454783f2bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f454a2ec780 (LWP 1712)):
[KCrash Handler]
#6  0x00007f454778fd25 in raise () from /lib64/libc.so.6
#7  0x00007f45477911a8 in abort () from /lib64/libc.so.6
#8  0x00007f4547e7e9a4 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2252
#9  0x00007f4547e7eb58 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f44e8ac17c0 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fff5b220b58) at global/qglobal.cpp:2298
#10 0x00007f4547e7ece4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2481
#11 0x00007f44e8a68037 in operator-> (this=<optimized out>) at /usr/src/debug/kdepim-4.8.5/mailcommon/mailkernel.cpp:48
#12 MailCommon::Kernel::self () at /usr/src/debug/kdepim-4.8.5/mailcommon/mailkernel.cpp:64
#13 0x00007f44e8a57d29 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x16bfde0) at /usr/src/debug/kdepim-4.8.5/mailcommon/foldercollection.cpp:210
#14 0x00007f44e8a5879a in MailCommon::FolderCollection::~FolderCollection (this=0x16bfde0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.8.5/mailcommon/foldercollection.cpp:83
#15 0x00007f44e8a58819 in MailCommon::FolderCollection::~FolderCollection (this=0x16bfde0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.8.5/mailcommon/foldercollection.cpp:85
#16 0x00007f44e8a56594 in deref (value=0x16bfde0, d=0x16be890) at /usr/include/QtCore/qsharedpointer_impl.h:342
#17 deref (this=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:336
#18 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:401
#19 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:466
#20 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x14679c0, this=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /usr/include/QtCore/qmap.h:651
#21 0x00007f45477928b1 in __run_exit_handlers () from /lib64/libc.so.6
#22 0x00007f4547792935 in exit () from /lib64/libc.so.6
#23 0x00007f4548417f1c in KCmdLineArgs::isSet (this=0xa57d70, _opt=...) at /usr/src/debug/kdelibs-4.8.5/kdecore/kernel/kcmdlineargs.cpp:1511
#24 0x00000000004040d7 in KontactApp::newInstance (this=0x7fff5b223350) at /usr/src/debug/kdepim-4.8.5/kontact/src/main.cpp:129
#25 0x00007f454969b2c2 in KUniqueApplicationAdaptor::newInstance (this=0xbd1e40, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kuniqueapplication.cpp:442
#26 0x00007f454969b344 in qt_static_metacall (_a=0x7fff5b221390, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/build/kdeui/kuniqueapplication_p.moc:58
#27 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff5b221390) at /usr/src/debug/kdelibs-4.8.5/build/kdeui/kuniqueapplication_p.moc:52
#28 0x00007f454969b47b in KUniqueApplicationAdaptor::qt_metacall (this=0xbd1e40, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5b221390) at /usr/src/debug/kdelibs-4.8.5/build/kdeui/kuniqueapplication_p.moc:102
#29 0x00007f45449c8c1a in QDBusConnectionPrivate::deliverCall (this=this@entry=0xa58960, object=object@entry=0xbd1e40, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#30 0x00007f45449c9d15 in QDBusConnectionPrivate::activateCall (this=this@entry=0xa58960, object=0xbd1e40, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:857
#31 0x00007f45449ca686 in QDBusConnectionPrivate::activateObject (this=0xa58960, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#32 0x00007f45449ca77b in QDBusActivateObjectEvent::placeMetaCall (this=0x42cfbb0) at qdbusintegrator.cpp:1537
#33 0x00007f4547f970ae in QObject::event (this=0x7fff5b223350, e=<optimized out>) at kernel/qobject.cpp:1204
#34 0x00007f4548983904 in QApplication::event (this=0x7fff5b223350, e=0x42cfbb0) at kernel/qapplication.cpp:2536
#35 0x00007f454898174c in QApplicationPrivate::notify_helper (this=this@entry=0xa680b0, receiver=receiver@entry=0x7fff5b223350, e=e@entry=0x42cfbb0) at kernel/qapplication.cpp:4554
#36 0x00007f4548985c7a in QApplication::notify (this=0x7fff5b223350, receiver=0x7fff5b223350, e=0x42cfbb0) at kernel/qapplication.cpp:4415
#37 0x00007f4549695006 in KApplication::notify (this=0x7fff5b223350, receiver=0x7fff5b223350, event=0x42cfbb0) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#38 0x00007f4547f8273e in QCoreApplication::notifyInternal (this=0x7fff5b223350, receiver=receiver@entry=0x7fff5b223350, event=event@entry=0x42cfbb0) at kernel/qcoreapplication.cpp:876
#39 0x00007f4547f86091 in sendEvent (event=0x42cfbb0, receiver=0x7fff5b223350) at kernel/qcoreapplication.h:231
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa34350) at kernel/qcoreapplication.cpp:1500
#41 0x00007f4547fb07a3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#42 postEventSourceDispatch (s=0xa65870) at kernel/qeventdispatcher_glib.cpp:279
#43 0x00007f4541c493b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f4541c496e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f4541c497a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f4547fb0936 in QEventDispatcherGlib::processEvents (this=0xa39b80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00007f4548a218ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f4547f8173f in QEventLoop::processEvents (this=this@entry=0x7fff5b221fc0, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f4547f819c8 in QEventLoop::exec (this=0x7fff5b221fc0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007f45489ecb8a in QSessionManager::allowsInteraction (this=<optimized out>) at kernel/qapplication_x11.cpp:5940
#51 0x00007f454974d9c1 in KMWSessionManager::commitData (this=<optimized out>, sm=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/widgets/kmainwindow.cpp:165
#52 0x00007f45496979c4 in KApplication::commitData (this=0x7fff5b223350, sm=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:658
#53 0x00007f45489f9adf in sm_performSaveYourself (smd=0xb21eb0) at kernel/qapplication_x11.cpp:5747
#54 0x00007f45489f9de5 in sm_saveYourselfCallback (smcConn=<optimized out>, clientData=<optimized out>, saveType=<optimized out>, shutdown=<optimized out>, interactStyle=<optimized out>) at kernel/qapplication_x11.cpp:5690
#55 0x00007f4543c5ffd7 in _SmcProcessMessage (iceConn=0xb31510, clientData=0xb32170, opcode=<optimized out>, length=<optimized out>, swap=0, replyWait=<optimized out>, replyReadyRet=0x7fff5b2227f8) at sm_process.c:241
#56 0x00007f4543a50617 in IceProcessMessages (iceConn=0xb31510, replyWait=0x0, replyReadyRet=0x0) at process.c:386
#57 0x00007f4547f98f5f in QMetaObject::activate (sender=0xb25240, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5b222960) at kernel/qobject.cpp:3556
#58 0x00007f4547fe2a6e in QSocketNotifier::activated (this=<optimized out>, _t1=8) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#59 0x00007f4547f9f4fb in QSocketNotifier::event (this=0xb25240, e=0x7fff5b222f80) at kernel/qsocketnotifier.cpp:317
#60 0x00007f454898174c in QApplicationPrivate::notify_helper (this=this@entry=0xa680b0, receiver=receiver@entry=0xb25240, e=e@entry=0x7fff5b222f80) at kernel/qapplication.cpp:4554
#61 0x00007f4548985c7a in QApplication::notify (this=0x7fff5b223350, receiver=0xb25240, e=0x7fff5b222f80) at kernel/qapplication.cpp:4415
#62 0x00007f4549695006 in KApplication::notify (this=0x7fff5b223350, receiver=0xb25240, event=0x7fff5b222f80) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#63 0x00007f4547f8273e in QCoreApplication::notifyInternal (this=0x7fff5b223350, receiver=0xb25240, event=0x7fff5b222f80) at kernel/qcoreapplication.cpp:876
#64 0x00007f4547fb0148 in sendEvent (event=0x7fff5b222f80, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#65 socketNotifierSourceDispatch (source=0xa68300) at kernel/qeventdispatcher_glib.cpp:110
#66 0x00007f4541c493b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#67 0x00007f4541c496e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#68 0x00007f4541c497a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#69 0x00007f4547fb0936 in QEventDispatcherGlib::processEvents (this=0xa39b80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#70 0x00007f4548a218ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0x00007f4547f8173f in QEventLoop::processEvents (this=this@entry=0x7fff5b2231c0, flags=...) at kernel/qeventloop.cpp:149
#72 0x00007f4547f819c8 in QEventLoop::exec (this=0x7fff5b2231c0, flags=...) at kernel/qeventloop.cpp:204
#73 0x00007f4547f863a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#74 0x0000000000403699 in main (argc=3, argv=0x7fff5b223498) at /usr/src/debug/kdepim-4.8.5/kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 309981, bug 309225, bug 308651, bug 294752, bug 301250, bug 300876, bug 300007.

Possible duplicates by query: bug 309981, bug 309227, bug 309225, bug 308651, bug 307369.

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

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