Bug 214236

Summary: kmail crash after double startup and closing one iconified window
Product: [Applications] kontact Reporter: Olivier LAHAYE <olivier.lahaye1>
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 Olivier LAHAYE 2009-11-12 09:08:43 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.3
Operating System: Linux 2.6.31.5-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
when loggin in, kamil is always double restored (seesion management bug?)

I closed one of both kmail windows and kmail crashed.

Windows were iconified, so I right clicked the kmail<2> windows and selected close.

and boom

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8c38b15710 (LWP 6680))]

Thread 2 (Thread 0x7f8c196cc910 (LWP 7064)):
#0  0x00007f8c326b80dd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8c3735fd12 in QWaitCondition::wait (this=<value optimized out>, mutex=0x22218a0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f8c37355e42 in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#3  0x00007f8c3735ecf5 in QThreadPrivate::start (arg=0x21f3a40) at thread/qthread_unix.cpp:188
#4  0x00007f8c326b37cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f8c361d237d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8c38b15710 (LWP 6680)):
[KCrash Handler]
#5  KMail::ListJob::slotListEntries (this=0x23bb0b0, job=0x23bb760, uds=<value optimized out>) at /usr/lib/qt4/include/QtCore/qbasicatomic.h:69
#6  0x00007f8c1fa473e7 in KMail::ListJob::qt_metacall (this=0x23bb0b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2429d520)
    at /usr/src/debug/kdepim-4.3.2/build/kmail/listjob.moc:78
#7  0x00007f8c374598dc in QMetaObject::activate (sender=0x23bb760, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fff2429d518) at kernel/qobject.cpp:3112
#8  0x00007f8c34d37304 in KIO::ListJob::entries (this=0x23bb0b0, _t1=0x23bb760, _t2=<value optimized out>) at /usr/src/debug/kdelibs-4.3.2/build/kio/jobclasses.moc:781
#9  0x00007f8c34d459a7 in KIO::ListJobPrivate::slotListEntries (this=0x23bb5c0, list=<value optimized out>) at /usr/src/debug/kdelibs-4.3.2/kio/kio/job.cpp:2333
#10 0x00007f8c34d45d3a in KIO::ListJob::qt_metacall (this=0x23bb760, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2429d8a0)
    at /usr/src/debug/kdelibs-4.3.2/build/kio/jobclasses.moc:767
#11 0x00007f8c374598dc in QMetaObject::activate (sender=0x1de0060, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fff2429d518) at kernel/qobject.cpp:3112
#12 0x00007f8c34dfcb85 in KIO::SlaveInterface::listEntries (this=0x23bb0b0, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.3.2/build/kio/slaveinterface.moc:179
#13 0x00007f8c34e0060d in KIO::SlaveInterface::dispatch (this=0x1de0060, _cmd=<value optimized out>, rawdata=@0x7fff2429dac0) at /usr/src/debug/kdelibs-4.3.2/kio/kio/slaveinterface.cpp:193
#14 0x00007f8c34dfcf63 in KIO::SlaveInterface::dispatch (this=0x1de0060) at /usr/src/debug/kdelibs-4.3.2/kio/kio/slaveinterface.cpp:91
#15 0x00007f8c34defd7d in KIO::Slave::gotInput (this=0x1de0060) at /usr/src/debug/kdelibs-4.3.2/kio/kio/slave.cpp:322
#16 0x00007f8c34df1e9c in KIO::Slave::qt_metacall (this=0x1de0060, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2429dc30)
    at /usr/src/debug/kdelibs-4.3.2/build/kio/slave.moc:76
#17 0x00007f8c374598dc in QMetaObject::activate (sender=0x1fcbd20, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fff2429d518) at kernel/qobject.cpp:3112
#18 0x00007f8c34d0b1e7 in KIO::ConnectionPrivate::dequeue (this=0x1fe1c70) at /usr/src/debug/kdelibs-4.3.2/kio/kio/connection.cpp:82
#19 0x00007f8c34d0b30d in KIO::Connection::qt_metacall (this=0x1fcbd20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1781de0)
    at /usr/src/debug/kdelibs-4.3.2/build/kio/connection.moc:73
#20 0x00007f8c37453bf9 in QObject::event (this=0x1fcbd20, e=0x1fb4580) at kernel/qobject.cpp:1110
#21 0x00007f8c368f312c in QApplicationPrivate::notify_helper (this=0x11591b0, receiver=0x1fcbd20, e=0x1fb4580) at kernel/qapplication.cpp:4065
#22 0x00007f8c368fa3fe in QApplication::notify (this=0x7fff2429e5f0, receiver=0x1fcbd20, e=0x1fb4580) at kernel/qapplication.cpp:4030
#23 0x00007f8c37dcd326 in KApplication::notify (this=0x7fff2429e5f0, receiver=0x1fcbd20, event=0x1fb4580) at /usr/src/debug/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#24 0x00007f8c374446fc in QCoreApplication::notifyInternal (this=0x7fff2429e5f0, receiver=0x1fcbd20, event=0x1fb4580) at kernel/qcoreapplication.cpp:610
#25 0x00007f8c3744530a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1122ec0) at ../../src/corelib/kernel/qcoreapplication.h:213
#26 0x00007f8c3746d123 in postEventSourceDispatch (s=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#27 0x00007f8c2fe064ce in IA__g_main_context_dispatch (context=0x1152130) at gmain.c:1960
#28 0x00007f8c2fe09e98 in g_main_context_iterate (context=0x1152130, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#29 0x00007f8c2fe09fc0 in IA__g_main_context_iteration (context=0x1152130, may_block=1) at gmain.c:2654
#30 0x00007f8c3746ccc3 in QEventDispatcherGlib::processEvents (this=0x1122690, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#31 0x00007f8c3698664e in QGuiEventDispatcherGlib::processEvents (this=0x23bb0b0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007f8c37443032 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f8c37443404 in QEventLoop::exec (this=0x7fff2429e530, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f8c374455b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x0000000000403be7 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.2/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-12 14:09:31 UTC
Reported at bug 204107. Thanks

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