Bug 317216 - Kontact crashes when already running (minimized to tray) and activating from launcher
Summary: Kontact crashes when already running (minimized to tray) and activating from ...
Status: RESOLVED DUPLICATE of bug 309981
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-23 04:23 UTC by Mike Vaughn
Modified: 2013-03-23 05:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Vaughn 2013-03-23 04:23:03 UTC
Application: kontact (4.10.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.3
Operating System: Linux 3.5.0-25-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
I generally leave Kontact running all the time, and just close it to the system tray. Most of the time, when I try to open it when it's already running, via any method other than clicking its tray icon, it crashes.

The crash can be reproduced sometimes.

-- 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 0x7f0d8006a7c0 (LWP 2843))]

Thread 5 (Thread 0x7f0d78795700 (LWP 2844)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0d918d9b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f0d918d9c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f0d8ca0ee9a in start_thread (arg=0x7f0d78795700) at pthread_create.c:308
#4  0x00007f0d92604cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0d77e7c700 (LWP 2845)):
#0  0x00007f0d925f9303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0d8c147d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0d8c147ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0d93a26c46 in QEventDispatcherGlib::processEvents (this=0x7f0d700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f0d939f72ef in QEventLoop::processEvents (this=this@entry=0x7f0d77e7bdc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0d939f7578 in QEventLoop::exec (this=0x7f0d77e7bdc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0d938f8b40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f0d938fbb1c in QThreadPrivate::start (arg=0xb101a0) at thread/qthread_unix.cpp:338
#8  0x00007f0d8ca0ee9a in start_thread (arg=0x7f0d77e7c700) at pthread_create.c:308
#9  0x00007f0d92604cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0d2a50d700 (LWP 2850)):
#0  0x00007fff79fdd827 in clock_gettime ()
#1  0x00007f0d8c3fb15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f0d939519f4 in do_gettime (frac=0x7f0d2a50cae8, sec=0x7f0d2a50cae0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f0d93a2744d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f0d24002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f0d93a27793 in QTimerInfoList::timerWait (this=0x7f0d24002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f0d93a262fc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f0d2a50cbd4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f0d93a263a5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f0d8c147618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f0d8c147cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f0d8c147ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f0d93a26c46 in QEventDispatcherGlib::processEvents (this=0x7f0d240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f0d939f72ef in QEventLoop::processEvents (this=this@entry=0x7f0d2a50cd90, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f0d939f7578 in QEventLoop::exec (this=0x7f0d2a50cd90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f0d938f8b40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f0d939d79df in QInotifyFileSystemWatcherEngine::run (this=0xbd7b80) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f0d938fbb1c in QThreadPrivate::start (arg=0xbd7b80) at thread/qthread_unix.cpp:338
#17 0x00007f0d8ca0ee9a in start_thread (arg=0x7f0d2a50d700) at pthread_create.c:308
#18 0x00007f0d92604cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0d22148700 (LWP 2863)):
#0  0x00007fff79fdd827 in clock_gettime ()
#1  0x00007f0d8c3fb15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f0d939519f4 in do_gettime (frac=0x7f0d22147ae8, sec=0x7f0d22147ae0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f0d93a2744d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f0d10002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f0d93a27793 in QTimerInfoList::timerWait (this=0x7f0d10002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f0d93a262fc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f0d22147bd4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f0d93a263a5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f0d8c147618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f0d8c147cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f0d8c147ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f0d93a26c46 in QEventDispatcherGlib::processEvents (this=0x7f0d100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f0d939f72ef in QEventLoop::processEvents (this=this@entry=0x7f0d22147d90, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f0d939f7578 in QEventLoop::exec (this=0x7f0d22147d90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f0d938f8b40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f0d939d79df in QInotifyFileSystemWatcherEngine::run (this=0x1448d70) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f0d938fbb1c in QThreadPrivate::start (arg=0x1448d70) at thread/qthread_unix.cpp:338
#17 0x00007f0d8ca0ee9a in start_thread (arg=0x7f0d22148700) at pthread_create.c:308
#18 0x00007f0d92604cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0d8006a7c0 (LWP 2843)):
[KCrash Handler]
#6  0x00007f0d92547425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f0d9254ab8b in __GI_abort () at abort.c:91
#8  0x00007f0d938f14f2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x37aa018 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/mailkernel.cpp:55") at global/qglobal.cpp:2290
#9  0x00007f0d938f1868 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f0d2f537e08 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fff79e31298) at global/qglobal.cpp:2336
#10 0x00007f0d938f19f4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2519
#11 0x00007f0d2f4e8ef7 in operator-> (this=<optimized out>) at ../../mailcommon/mailkernel.cpp:55
#12 MailCommon::Kernel::self () at ../../mailcommon/mailkernel.cpp:71
#13 0x00007f0d2f4dc9c9 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x123a460) at ../../mailcommon/foldercollection.cpp:209
#14 0x00007f0d2f4dd49a in MailCommon::FolderCollection::~FolderCollection (this=0x123a460, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:84
#15 0x00007f0d2f4dd519 in MailCommon::FolderCollection::~FolderCollection (this=0x123a460, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:86
#16 0x00007f0d2f4db234 in deref (value=0x123a460, d=0xf221e0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#17 deref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#18 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#19 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:466
#20 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x12d4d10, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#21 0x00007f0d9254c901 in __run_exit_handlers (status=255, listp=0x7f0d928c96a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
#22 0x00007f0d9254c985 in __GI_exit (status=<optimized out>) at exit.c:100
#23 0x00007f0d93e84862 in KCmdLineArgs::isSet (this=0x2fb2990, _opt=...) at ../../kdecore/kernel/kcmdlineargs.cpp:1520
#24 0x0000000000403d17 in KontactApp::newInstance (this=0x7fff79e328b0) at ../../../kontact/src/main.cpp:130
#25 0x00007f0d9443dd82 in KUniqueApplicationAdaptor::newInstance (this=0xb166a0, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#26 0x00007f0d9443de04 in qt_static_metacall (_a=0x7fff79e31af0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#27 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff79e31af0) at ./kuniqueapplication_p.moc:52
#28 0x00007f0d9443df3b in KUniqueApplicationAdaptor::qt_metacall (this=0xb166a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff79e31af0) at ./kuniqueapplication_p.moc:102
#29 0x00007f0d8f764ed3 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x97c260, object=object@entry=0xb166a0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#30 0x00007f0d8f765fd5 in QDBusConnectionPrivate::activateCall (this=this@entry=0x97c260, object=0xb166a0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:857
#31 0x00007f0d8f76694f in QDBusConnectionPrivate::activateObject (this=0x97c260, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#32 0x00007f0d8f766a2b in QDBusActivateObjectEvent::placeMetaCall (this=0x2df76f0) at qdbusintegrator.cpp:1537
#33 0x00007f0d93a0d46e in QObject::event (this=0x7fff79e328b0, e=<optimized out>) at kernel/qobject.cpp:1195
#34 0x00007f0d92da1f94 in QApplication::event (this=0x7fff79e328b0, e=0x2df76f0) at kernel/qapplication.cpp:2544
#35 0x00007f0d92d9fe9c in QApplicationPrivate::notify_helper (this=this@entry=0x99ad80, receiver=receiver@entry=0x7fff79e328b0, e=e@entry=0x2df76f0) at kernel/qapplication.cpp:4562
#36 0x00007f0d92da430a in QApplication::notify (this=0x7fff79e328b0, receiver=0x7fff79e328b0, e=0x2df76f0) at kernel/qapplication.cpp:4423
#37 0x00007f0d94437ad6 in KApplication::notify (this=0x7fff79e328b0, receiver=0x7fff79e328b0, event=0x2df76f0) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007f0d939f859e in QCoreApplication::notifyInternal (this=0x7fff79e328b0, receiver=receiver@entry=0x7fff79e328b0, event=event@entry=0x2df76f0) at kernel/qcoreapplication.cpp:915
#39 0x00007f0d939fc421 in sendEvent (event=0x2df76f0, receiver=0x7fff79e328b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x95a6a0) at kernel/qcoreapplication.cpp:1539
#41 0x00007f0d93a26a93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#42 postEventSourceDispatch (s=0x993370) at kernel/qeventdispatcher_glib.cpp:279
#43 0x00007f0d8c147ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f0d8c147de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f0d8c147ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f0d93a26c26 in QEventDispatcherGlib::processEvents (this=0x95bb60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00007f0d92e44c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f0d939f72ef in QEventLoop::processEvents (this=this@entry=0x7fff79e32720, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f0d939f7578 in QEventLoop::exec (this=0x7fff79e32720, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007f0d939fc738 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#51 0x0000000000403339 in main (argc=1, argv=0x7fff79e329f8) at ../../../kontact/src/main.cpp:219

This bug may be a duplicate of or related to bug 309981.

Possible duplicates by query: bug 315113, bug 313084, bug 309981, bug 307369, bug 302707.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-23 05:53:43 UTC

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