Bug 231395

Summary: Kmail crashes after closing (two Kmail instances load after login)
Product: [Applications] kontact Reporter: pavel.mala
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pavel.mala 2010-03-20 09:35:53 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
During login, kontact is started twice and a dialog is presented saying that Kontact is already running and running a second instance could be dangerous. Clicking "No" closes both. Clicking "Yes" opens both, named "Kontact" and something like "Kontact ", each with an icon in the tray. Closing "Kontact" crashes kontact and closes both windows. Closing "Kontact " first did not crash them until I closed "Kontact" (I only did this once).

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f83ac0ceaa1 in KMKernel::toggleMainWin() () from /usr/lib/libkmailprivate.so.4
#6  0x00007f83abff00bd in ?? () from /usr/lib/libkmailprivate.so.4
#7  0x00007f83abff1533 in ?? () from /usr/lib/libkmailprivate.so.4
#8  0x00007f83c131bddc in QMetaObject::activate (sender=0x259bd30, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xae70) at kernel/qobject.cpp:3113
#9  0x00007f83c222fb5e in QSystemTrayIcon::activated (this=0x0, _t1=QSystemTrayIcon::Trigger) at .moc/release-shared/moc_qsystemtrayicon.cpp:128
#10 0x00007f83c2223ae6 in QSystemTrayIconSys::mousePressEvent (this=0x299a510, ev=0x7fff42faad00) at util/qsystemtrayicon_x11.cpp:298
#11 0x00007f83c1c759a6 in QWidget::event (this=0x299a510, event=0x7fff42faad00) at kernel/qwidget.cpp:7545
#12 0x00007f83c1c26efc in QApplicationPrivate::notify_helper (this=0x1979500, receiver=0x299a510, e=0x7fff42faad00) at kernel/qapplication.cpp:4056
#13 0x00007f83c1c2e011 in QApplication::notify (this=<value optimized out>, receiver=0x299a510, e=0x7fff42faad00) at kernel/qapplication.cpp:3758
#14 0x00007f83c285dab6 in KApplication::notify (this=0x7fff42facc20, receiver=0x299a510, event=0x7fff42faad00) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007f83c1306c2c in QCoreApplication::notifyInternal (this=0x7fff42facc20, receiver=0x299a510, event=0x7fff42faad00) at kernel/qcoreapplication.cpp:610
#16 0x00007f83c1c2d8e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x299a510, event=0x7fff42faad00, alienWidget=0x0, nativeWidget=0x299a510, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#17 QApplicationPrivate::sendMouseEvent (receiver=0x299a510, event=0x7fff42faad00, alienWidget=0x0, nativeWidget=0x299a510, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>)
    at kernel/qapplication.cpp:2924
#18 0x00007f83c1c93a0e in QETWidget::translateMouseEvent (this=0x299a510, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#19 0x00007f83c1c92aa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff42fac830) at kernel/qapplication_x11.cpp:3550
#20 0x00007f83c1cbbd0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x00007f83bab81bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007f83bab85598 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007f83bab856c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007f83c132f1a6 in QEventDispatcherGlib::processEvents (this=0x1944cb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#25 0x00007f83c1cbb4be in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x00007f83c1305532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007f83c1305904 in QEventLoop::exec (this=0x7fff42facb60, flags=) at kernel/qeventloop.cpp:201
#28 0x00007f83c1307ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x0000000000403f47 in _start ()

This bug may be a duplicate of or related to bug 228135

Reported using DrKonqi
Comment 1 Dario Andres 2010-03-20 15:48:51 UTC
As bug 215304, the main root cause of this bug is being tracked at bug 185544. 
Regards

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