Bug 310695 - Kontact crashes on ever startup after an unclean shutdown, launches fine on secont attempt.
Summary: Kontact crashes on ever startup after an unclean shutdown, launches fine on s...
Status: RESOLVED DUPLICATE of bug 298328
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-26 08:55 UTC by Christian Reiner
Modified: 2013-12-21 14:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.04 KB, text/plain)
2013-05-05 04:00 UTC, Johan Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Reiner 2012-11-26 08:55:59 UTC
Application: kontact (4.9.3)
KDE Platform Version: 4.9.3 "release 520"
Qt Version: 4.8.3
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
Often Kontact crashes on startup (see backtrace), but it always starts fine on a second attempt. I assume the crashed attempted did do some cleanup work?

- What I was doing when the application crashed:
Kontact has been shutdown unclean one or the other way. I assume it is not able to "cleanup" propperly in those cases. 
I think the effect depends on having had more than just KMail2 activated in the previous session. 

- I think this is an old bug that was around for many many month and finally closed about a year ago. Exactly the same symptoms.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7f78b9dfb700 (LWP 4269)):
#0  0x00007f78ca8788f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f78cf267eb7 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f78cfc6c2a0 <WTF::pageheap_memory>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007f78cf267ee9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007f78ca874e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f78cffc92bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f78b94fa700 (LWP 4270)):
#0  0x00007f78cffc113f in poll () from /lib64/libc.so.6
#1  0x00007f78ca2c9684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f78ca2c97a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f78d073ccf6 in QEventDispatcherGlib::processEvents (this=0x7f78b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f78d070d85f in QEventLoop::processEvents (this=this@entry=0x7f78b94f9e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f78d070dae8 in QEventLoop::exec (this=0x7f78b94f9e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f78d060ffc0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f78d0612f9c in QThreadPrivate::start (arg=0x2553bb0) at thread/qthread_unix.cpp:338
#8  0x00007f78ca874e0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007f78cffc92bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f78d2a51780 (LWP 4268)):
[KCrash Handler]
#6  activateInitialPluginModule (this=0x2677120) at /usr/src/debug/kdepim-4.9.3/kontact/src/mainwindow.cpp:322
#7  Kontact::MainWindow::activateInitialPluginModule (this=0x2677120) at /usr/src/debug/kdepim-4.9.3/kontact/src/mainwindow.cpp:317
#8  0x00000000004040aa in KontactApp::newInstance (this=0x7fff8ced37c0) at /usr/src/debug/kdepim-4.9.3/kontact/src/main.cpp:148
#9  0x00007f78d1e278d2 in KUniqueApplicationAdaptor::newInstance (this=0x26a5da0, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kuniqueapplication.cpp:442
#10 0x00007f78d1e27954 in qt_static_metacall (_a=0x7fff8ced2a00, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.9.3/build/kdeui/kuniqueapplication_p.moc:58
#11 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff8ced2a00) at /usr/src/debug/kdelibs-4.9.3/build/kdeui/kuniqueapplication_p.moc:52
#12 0x00007f78d1e27a8b in KUniqueApplicationAdaptor::qt_metacall (this=0x26a5da0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff8ced2a00) at /usr/src/debug/kdelibs-4.9.3/build/kdeui/kuniqueapplication_p.moc:102
#13 0x00007f78cd016c1a in QDBusConnectionPrivate::deliverCall (this=this@entry=0x253b8d0, object=object@entry=0x26a5da0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#14 0x00007f78cd017d15 in QDBusConnectionPrivate::activateCall (this=this@entry=0x253b8d0, object=0x26a5da0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:857
#15 0x00007f78cd018686 in QDBusConnectionPrivate::activateObject (this=0x253b8d0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#16 0x00007f78cd01877b in QDBusActivateObjectEvent::placeMetaCall (this=0x3245c60) at qdbusintegrator.cpp:1537
#17 0x00007f78d07234ee in QObject::event (this=0x7fff8ced37c0, e=<optimized out>) at kernel/qobject.cpp:1204
#18 0x00007f78d1110854 in QApplication::event (this=0x7fff8ced37c0, e=0x3245c60) at kernel/qapplication.cpp:2539
#19 0x00007f78d110e74c in QApplicationPrivate::notify_helper (this=this@entry=0x2549c20, receiver=receiver@entry=0x7fff8ced37c0, e=e@entry=0x3245c60) at kernel/qapplication.cpp:4557
#20 0x00007f78d1112bca in QApplication::notify (this=0x7fff8ced37c0, receiver=0x7fff8ced37c0, e=0x3245c60) at kernel/qapplication.cpp:4418
#21 0x00007f78d1e21616 in KApplication::notify (this=0x7fff8ced37c0, receiver=0x7fff8ced37c0, event=0x3245c60) at /usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kapplication.cpp:311
#22 0x00007f78d070eb0e in QCoreApplication::notifyInternal (this=0x7fff8ced37c0, receiver=receiver@entry=0x7fff8ced37c0, event=event@entry=0x3245c60) at kernel/qcoreapplication.cpp:915
#23 0x00007f78d0712471 in sendEvent (event=0x3245c60, receiver=0x7fff8ced37c0) at kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2517350) at kernel/qcoreapplication.cpp:1539
#25 0x00007f78d073cb43 in sendPostedEvents () at kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x2549a60) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007f78ca2c93b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f78ca2c96e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f78ca2c97a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f78d073ccd6 in QEventDispatcherGlib::processEvents (this=0x251cb80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007f78d11aea5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f78d070d85f in QEventLoop::processEvents (this=this@entry=0x7fff8ced3630, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f78d070dae8 in QEventLoop::exec (this=0x7fff8ced3630, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f78d0712788 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#35 0x0000000000403649 in main (argc=1, argv=0x7fff8ced3908) at /usr/src/debug/kdepim-4.9.3/kontact/src/main.cpp:219

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

Possible duplicates by query: bug 308625, bug 307341, bug 303290, bug 303233, bug 302970.

Reported using DrKonqi
Comment 1 Johan Smith 2013-05-05 04:00:28 UTC
Created attachment 79709 [details]
New crash information added by DrKonqi

kontact (4.10.2) on KDE Platform 4.10.2 "release 556" using Qt 4.8.4

- What I was doing when the application crashed:
First opened kontact, then I close it and went back to open Kontact and crashed.
This only happens sometimes, but at least once per day.

-- Backtrace (Reduced):
#6  activateInitialPluginModule (this=0x14f6490) at /usr/src/debug/kdepim-4.10.2/kontact/src/mainwindow.cpp:325
#7  Kontact::MainWindow::activateInitialPluginModule (this=0x14f6490) at /usr/src/debug/kdepim-4.10.2/kontact/src/mainwindow.cpp:320
#8  0x00000000004040ca in KontactApp::newInstance (this=0x7fffc103f080) at /usr/src/debug/kdepim-4.10.2/kontact/src/main.cpp:148
#9  0x00007ff035989422 in KUniqueApplicationAdaptor::newInstance (this=0x14b6f60, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.10.2/kdeui/kernel/kuniqueapplication.cpp:442
#10 0x00007ff0359894a4 in qt_static_metacall (_a=0x7fffc103e2c0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.10.2/build/kdeui/kuniqueapplication_p.moc:58
Comment 2 Jekyll Wu 2013-12-21 14:00:50 UTC

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