Bug 333416

Summary: Kontact Crashes on restart.
Product: [Applications] kontact Reporter: Russ Fineman <upscope>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.12.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Russ Fineman 2014-04-14 17:36:57 UTC
Application: kontact (4.12.4)
KDE Platform Version: 4.12.4
Qt Version: 4.8.5
Operating System: Linux 3.11.10-7-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Had shutdown Kontact. Restarted Kontact without killing the old process first.

This has been happening since KDE 4.12.1  was installed. Now on 4.12.4. After crash wizard shutsdown, clicking on Kotact starts it up properly, but doesn't start kwallet for passwords, likeit does on first start after killing kontact process with KsysGuard.

The crash can be reproduced sometimes.

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

Thread 4 (Thread 0x7f5cb9db5700 (LWP 3586)):
#0  0x00007f5ccf8e40af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5cd307ff76 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f5cd307ffa9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f5ccf8e00db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5cd582190d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5cb94a4700 (LWP 3602)):
#0  0x00007f5ccf8e40af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5cd2df22cd in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f5cd30a7ad6 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f5ccf8e00db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5cd582190d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5c62232700 (LWP 3723)):
#0  0x00007f5ccf31aa7f in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f5ccf31cc4b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5ccf31d523 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5ccf31d70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f5cd5f9ed76 in QEventDispatcherGlib::processEvents (this=0x7f5c540008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f5cd5f70d0f in QEventLoop::processEvents (this=this@entry=0x7f5c62231d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5cd5f71005 in QEventLoop::exec (this=this@entry=0x7f5c62231d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f5cd5e6ffef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007f5cd5e7268f in QThreadPrivate::start (arg=0x274f580) at thread/qthread_unix.cpp:338
#9  0x00007f5ccf8e00db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5cd582190d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5cd82db8c0 (LWP 3560)):
[KCrash Handler]
#5  Kontact::MainWindow::activateInitialPluginModule (this=0x24b3a50) at /usr/src/debug/kdepim-4.12.4/kontact/src/mainwindow.cpp:329
#6  0x000000000040429a in KontactApp::newInstance (this=0x7fff570b36e0) at /usr/src/debug/kdepim-4.12.4/kontact/src/main.cpp:148
#7  0x00007f5cd769e6cc in ?? () from /usr/lib64/libkdeui.so.5
#8  0x00007f5cd769e755 in ?? () from /usr/lib64/libkdeui.so.5
#9  0x00007f5cd769e973 in ?? () from /usr/lib64/libkdeui.so.5
#10 0x00007f5cd4b92ead in QDBusConnectionPrivate::deliverCall (this=this@entry=0x232cf60, object=object@entry=0x25043f0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#11 0x00007f5cd4b940ab in QDBusConnectionPrivate::activateCall (this=this@entry=0x232cf60, object=0x25043f0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#12 0x00007f5cd4b94b1d in QDBusConnectionPrivate::activateObject (this=0x232cf60, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#13 0x00007f5cd4b94beb in QDBusActivateObjectEvent::placeMetaCall (this=0x28e5cc0) at qdbusintegrator.cpp:1541
#14 0x00007f5cd5f8a11e in QObject::event (this=this@entry=0x7fff570b36e0, e=e@entry=0x28e5cc0) at kernel/qobject.cpp:1203
#15 0x00007f5cd5f762bc in QCoreApplication::event (this=this@entry=0x7fff570b36e0, e=e@entry=0x28e5cc0) at kernel/qcoreapplication.cpp:1761
#16 0x00007f5cd69858a3 in QApplication::event (this=0x7fff570b36e0, e=0x28e5cc0) at kernel/qapplication.cpp:2544
#17 0x00007f5cd69808ac in QApplicationPrivate::notify_helper (this=this@entry=0x234aea0, receiver=receiver@entry=0x7fff570b36e0, e=e@entry=0x28e5cc0) at kernel/qapplication.cpp:4562
#18 0x00007f5cd6986e70 in QApplication::notify (this=0x7fff570b36e0, receiver=0x7fff570b36e0, e=0x28e5cc0) at kernel/qapplication.cpp:4348
#19 0x00007f5cd769747a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f5cd5f720ad in QCoreApplication::notifyInternal (this=0x7fff570b36e0, receiver=receiver@entry=0x7fff570b36e0, event=event@entry=0x28e5cc0) at kernel/qcoreapplication.cpp:949
#21 0x00007f5cd5f750ff in sendEvent (event=0x28e5cc0, receiver=0x7fff570b36e0) at kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x22b7150) at kernel/qcoreapplication.cpp:1573
#23 0x00007f5cd5f755a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#24 0x00007f5cd5f9f493 in sendPostedEvents () at kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=0x2347020) at kernel/qeventdispatcher_glib.cpp:280
#26 0x00007f5ccf31d316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f5ccf31d668 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f5ccf31d70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f5cd5f9ed55 in QEventDispatcherGlib::processEvents (this=0x22bc5b0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#30 0x00007f5cd6a1d936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f5cd5f70d0f in QEventLoop::processEvents (this=this@entry=0x7fff570b35e0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f5cd5f71005 in QEventLoop::exec (this=this@entry=0x7fff570b35e0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f5cd5f7613b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#34 0x00007f5cd697f06c in QApplication::exec () at kernel/qapplication.cpp:3823
#35 0x0000000000403960 in main (argc=3, argv=0x7fff570b3828) at /usr/src/debug/kdepim-4.12.4/kontact/src/main.cpp:219

Possible duplicates by query: bug 328968, bug 324131, bug 323845, bug 322264.

Reported using DrKonqi
Comment 1 Russ Fineman 2014-04-29 17:00:11 UTC
Appears to be fixed in 4.13.0. Kontact is now shutting down when exit with upper rifght x or with File --> close. 

Please close this if your satisfied.

Thanks

Russ