Bug 236892

Summary: Kontact sometimes segfaults when closing the application
Product: [Applications] kontact Reporter: Kai Krakow <kai>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kai Krakow 2010-05-08 19:08:05 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-gentoo-r7 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
Sometimes, when I close Kontact/KMail, the application crashes.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  QBasicAtomicInt::operator!= (this=0xece8880, kiddo=0xa92e120) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#7  QMap<KPIM::ProgressItem*, bool>::detach (this=0xece8880, kiddo=0xa92e120) at /usr/include/qt4/QtCore/qmap.h:182
#8  QMap<KPIM::ProgressItem*, bool>::remove (this=0xece8880, kiddo=0xa92e120) at /usr/include/qt4/QtCore/qmap.h:638
#9  KPIM::ProgressItem::removeChild (this=0xece8880, kiddo=0xa92e120) at /var/tmp/portage/kde-base/libkdepim-4.4.2/work/libkdepim-4.4.2/libkdepim/progressmanager.cpp:73
#10 0xb7706459 in KPIM::ProgressItem::setComplete (this=0xa92e120) at /var/tmp/portage/kde-base/libkdepim-4.4.2/work/libkdepim-4.4.2/libkdepim/progressmanager.cpp:58
#11 0xafdf4dbb in KMail::ImapAccountBase::removeJob (this=0x9a86410, it=...) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/imapaccountbase.cpp:1375
#12 0xafcf334e in KMail::ListJob::slotListResult (this=0xee05908, job=0x9ac1370) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/listjob.cpp:182
#13 0xafcf3db5 in KMail::ListJob::qt_metacall (this=0xee05908, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf82f6f0)
    at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2_build/kmail/listjob.moc:83
#14 0xb62b43c0 in QMetaObject::metacall (object=0x1, cl=QMetaObject::InvokeMetaMethod, idx=13, argv=0xbf82f6f0) at kernel/qmetaobject.cpp:237
#15 0xb62c3acf in QMetaObject::activate (sender=0x9ac1370, m=0xb70acd08, local_signal_index=3, argv=0xbf82f6f0) at kernel/qobject.cpp:3285
#16 0xb6f34544 in KJob::result (this=0x9ac1370, _t1=0x9ac1370) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kdecore/kjob.moc:194
#17 0xb6f348f8 in KJob::emitResult (this=0x9ac1370) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdecore/jobs/kjob.cpp:312
#18 0xb55dea0e in KIO::SimpleJob::slotFinished (this=0x9ac1370) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/job.cpp:486
#19 0xb55deb76 in KIO::ListJob::slotFinished (this=0x9ac1370) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/job.cpp:2505
#20 0xb55e1e7c in KIO::ListJob::qt_metacall (this=0x9ac1370, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf82f8f8)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kio/jobclasses.moc:818
#21 0xb62b43c0 in QMetaObject::metacall (object=0x1, cl=QMetaObject::InvokeMetaMethod, idx=43, argv=0xbf82f8f8) at kernel/qmetaobject.cpp:237
#22 0xb62c3acf in QMetaObject::activate (sender=0x9db8e10, m=0xb5799f44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3285
#23 0xb56b1584 in KIO::SlaveInterface::finished (this=0x9db8e10) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kio/slaveinterface.moc:171
#24 0xb56b4b42 in KIO::SlaveInterface::dispatch (this=0x9db8e10, _cmd=104, rawdata=...) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/slaveinterface.cpp:175
#25 0xb56b1ad7 in KIO::SlaveInterface::dispatch (this=0x9db8e10) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/slaveinterface.cpp:91
#26 0xb56a4589 in KIO::Slave::gotInput (this=0x9db8e10) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/slave.cpp:324
#27 0xb56a47b8 in KIO::Slave::qt_metacall (this=0x9db8e10, _c=QMetaObject::InvokeMetaMethod, _id=248416384, _a=0xbf82fba8)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kio/slave.moc:82
#28 0xb62b43c0 in QMetaObject::metacall (object=0x1, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbf82fba8) at kernel/qmetaobject.cpp:237
#29 0xb62c3acf in QMetaObject::activate (sender=0x9db37a0, m=0xb5796820, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3285
#30 0xb55a3801 in KIO::Connection::readyRead (this=0x9db37a0) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kio/connection.moc:92
#31 0xb55a4d27 in KIO::ConnectionPrivate::dequeue (this=0x9cb4e38) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/connection.cpp:82
#32 0xb55a50eb in KIO::Connection::qt_metacall (this=0x9db37a0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xecc6748)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kio/connection.moc:79
#33 0xb62b43c0 in QMetaObject::metacall (object=0x1, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xecc6748) at kernel/qmetaobject.cpp:237
#34 0xb62bf083 in QMetaCallEvent::placeMetaCall (this=0xed4b9c0, object=0x9db37a0) at kernel/qobject.cpp:561
#35 0xb62c0684 in QObject::event (this=0x9db37a0, e=0xed4b9c0) at kernel/qobject.cpp:1240
#36 0xb64fcaec in QApplicationPrivate::notify_helper (this=0x945a910, receiver=0x9db37a0, e=0xed4b9c0) at kernel/qapplication.cpp:4300
#37 0xb650460c in QApplication::notify (this=0xbf83051c, receiver=0x9db37a0, e=0xed4b9c0) at kernel/qapplication.cpp:3704
#38 0xb72977f1 in KApplication::notify (this=0xbf83051c, receiver=0x9db37a0, event=0xed4b9c0) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#39 0xb62aed7d in QCoreApplication::notifyInternal (this=0xbf83051c, receiver=0x9db37a0, event=0xed4b9c0) at kernel/qcoreapplication.cpp:704
#40 0xb62afcc6 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x943adc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x943adc8) at kernel/qcoreapplication.cpp:1345
#42 0xb62afe5c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#43 0xb62dcaeb in QCoreApplication::sendPostedEvents (s=0x946ef38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0x946ef38) at kernel/qeventdispatcher_glib.cpp:276
#45 0xb4143e5b in g_main_dispatch (context=0x946eeb8) at gmain.c:1960
#46 IA__g_main_context_dispatch (context=0x946eeb8) at gmain.c:2513
#47 0xb4147758 in g_main_context_iterate (context=0x946eeb8, block=1, dispatch=1, self=0x9457700) at gmain.c:2591
#48 0xb41478df in IA__g_main_context_iteration (context=0x946eeb8, may_block=1) at gmain.c:2654
#49 0xb62dc601 in QEventDispatcherGlib::processEvents (this=0x943a890, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#50 0xb65c00aa in QGuiEventDispatcherGlib::processEvents (this=0x943a890, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0xb62ad333 in QEventLoop::processEvents (this=0xbf8303a0, flags=...) at kernel/qeventloop.cpp:149
#52 0xb62ad79d in QEventLoop::exec (this=0xbf8303a0, flags=...) at kernel/qeventloop.cpp:201
#53 0xb62aff32 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#54 0xb64fcb94 in QApplication::exec () at kernel/qapplication.cpp:3579
#55 0x0804c1fd in main (argc=-1081932012, argv=0xbf830450) at /var/tmp/portage/kde-base/kontact-4.4.2/work/kontact-4.4.2/kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Christophe Marin 2010-06-06 23:46:57 UTC

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