Bug 221546

Summary: Kontact crashes after starting two instances by mistake and closing them
Product: [Applications] kontact Reporter: René Krell <renda.krell>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 4.4 pre   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description René Krell 2010-01-06 17:06:36 UTC
Version:           4.4 pre (using Devel)
Compiler:          gcc 
OS:                Linux
Installed from:    Compiled sources

For some unknown reason, the last few weeks I get always two instances of Kontact launched after login to KDE 4.4. Today I chose "Start Kontact" on the appearing messagebox that informs about the double instance. So I got two Kontact instances running. After closing them both I get the following crash:


Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc6bf5e07f0 (LWP 13181))]

Thread 2 (Thread 0x7fc6a0d6f910 (LWP 13399)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fc6bd9ca272 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6bd9bf6d9 in QThreadPoolThread::run (this=0x1b67660) at concurrent/qthreadpool.cpp:140
#4  0x00007fc6bd9c9355 in QThreadPrivate::start (arg=0x1b67660) at thread/qthread_unix.cpp:248
#5  0x00007fc6b846365d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fc6bc74e14d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc6bf5e07f0 (LWP 13181)):
[KCrash Handler]
#5  0x00007fc6a73371e1 in KMMainWidget::initializeFilterActions() () from /usr/lib64/libkmailprivate.so.4
#6  0x00007fc6a7908fe1 in ?? () from /usr/lib64/kde4/kmailpart.so
#7  0x00007fc6bdacb8e4 in QObject::event (this=0x944140, e=0x7fffb7665410) at kernel/qobject.cpp:1271
#8  0x00007fc6bcea077c in QApplicationPrivate::notify_helper (this=0x63a610, receiver=0x944140, e=0x7fffb7665410) at kernel/qapplication.cpp:4297
#9  0x00007fc6bcea6d5b in QApplication::notify (this=0x7fffb76662c0, receiver=0x944140, e=0x7fffb7665410) at kernel/qapplication.cpp:4180
#10 0x00007fc6be47ba76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#11 0x00007fc6bdabbb6c in QCoreApplication::notifyInternal (this=0x7fffb76662c0, receiver=0x944140, event=0x7fffb7665410) at kernel/qcoreapplication.cpp:704
#12 0x00007fc6bc45cc97 in KParts::MainWindow::createGUI(KParts::Part*) () from /usr/lib64/libkparts.so.4
#13 0x00007fc6bf1fc97c in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#14 0x00007fc6bdacb8ad in QObject::event (this=0x7d2810, e=0xf73a00) at kernel/qobject.cpp:1223
#15 0x00007fc6bcef60bf in QWidget::event (this=0x7d2810, event=0xf73a00) at kernel/qwidget.cpp:8435
#16 0x00007fc6bd29863b in QMainWindow::event (this=0x7d2810, event=0xf73a00) at widgets/qmainwindow.cpp:1435
#17 0x00007fc6be592a83 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007fc6bcea077c in QApplicationPrivate::notify_helper (this=0x63a610, receiver=0x7d2810, e=0xf73a00) at kernel/qapplication.cpp:4297
#19 0x00007fc6bcea6d5b in QApplication::notify (this=0x7fffb76662c0, receiver=0x7d2810, e=0xf73a00) at kernel/qapplication.cpp:4180
#20 0x00007fc6be47ba76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007fc6bdabbb6c in QCoreApplication::notifyInternal (this=0x7fffb76662c0, receiver=0x7d2810, event=0xf73a00) at kernel/qcoreapplication.cpp:704
#22 0x00007fc6bdabe2e7 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#24 0x00007fc6bdae55b3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#25 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#26 0x00007fc6b5308dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fc6b530c7a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fc6b530c8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fc6bdae50f3 in QEventDispatcherGlib::processEvents (this=0x610970, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007fc6bcf4e73e in QGuiEventDispatcherGlib::processEvents (this=0x7fffb7664a40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fc6bdaba482 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007fc6bdaba85c in QEventLoop::exec (this=0x7fffb7666200, flags=) at kernel/qeventloop.cpp:201
#33 0x00007fc6bdabe5ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0x0000000000403ed7 in _start ()
The current source language is "auto; currently asm".
The current source language is "auto; currently c".
Comment 1 René Krell 2010-01-06 17:18:35 UTC
Sorry, next time with kmail debuginfo, I already added them, but cannot reproduce it another time. Maybe you already know the problem.
Comment 2 Dario Andres 2010-01-06 20:10:25 UTC
This crash is being tracked at bug 185544 / bug 143187. Thanks

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