Bug 220358 - kontact crashed when starting it from konsole (KMail::ImapAccountBase::jobData>::detach)
Summary: kontact crashed when starting it from konsole (KMail::ImapAccountBase::jobDat...
Status: RESOLVED DUPLICATE of bug 220361
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-28 10:20 UTC by Martin Steigerwald
Modified: 2009-12-28 12:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Steigerwald 2009-12-28 10:20:10 UTC
Application that crashed: kontact
Version of the application: 4.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.6.0
Operating System: Linux 2.6.31.5-tp42-toi-3.0.1-04850-g4eddd0d i686
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
I have it on every second or third attempt Kontact doesn't fully start (see bug #220357). What works in this case usually is to pkill kontact and start it once again.

This time, as I did just this, but started Kontact from the console it crashed with the following backtrace. I will try to reproduce this in a moment.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  QBasicAtomicInt::operator!= (this=0xb620888, job=0xb655e90) at /usr/include/qt4/QtCore/qbasicatomic.h:69
#7  QMap<KJob*, KMail::ImapAccountBase::jobData>::detach (this=0xb620888, job=0xb655e90) at /usr/include/qt4/QtCore/qmap.h:172
#8  QMap<KJob*, KMail::ImapAccountBase::jobData>::find (this=0xb620888, job=0xb655e90) at /usr/include/qt4/QtCore/qmap.h:565
#9  KMail::ImapAccountBase::findJob (this=0xb620888, job=0xb655e90) at ../../kmail/imapaccountbase.h:180
#10 KMail::ListJob::slotListResult (this=0xb620888, job=0xb655e90) at ../../kmail/listjob.cpp:166
#11 0xb00f6bb7 in KMail::ListJob::qt_metacall (this=0xb620888, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfe6e1bc) at ./listjob.moc:77
#12 0xb6f86755 in QMetaObject::metacall (object=0xb620888, cl=QMetaObject::InvokeMetaMethod, idx=13, argv=0xbfe6e1bc) at kernel/qmetaobject.cpp:237
#13 0xb6f95ad1 in QMetaObject::activate (sender=0xb655e90, m=0xb72d3888, local_signal_index=3, argv=0xbfe6e1bc) at kernel/qobject.cpp:3294
#14 0xb7170a33 in KJob::result (this=0xb655e90, _t1=0xb655e90) at ./kjob.moc:188
#15 0xb7170ed9 in KJob::emitResult (this=0xb655e90) at ../../kdecore/jobs/kjob.cpp:304
#16 0xb58c5b15 in KIO::SimpleJob::slotFinished (this=0xb655e90) at ../../kio/kio/job.cpp:477
#17 0xb58c60d4 in KIO::ListJob::slotFinished (this=0xb655e90) at ../../kio/kio/job.cpp:2408
#18 0xb58c25d3 in KIO::SimpleJob::slotError (this=0xb655e90, err=143, errorText=...) at ../../kio/kio/job.cpp:489
#19 0xb58c27c3 in KIO::SimpleJob::qt_metacall (this=0xb655e90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe6e458) at ./jobclasses.moc:158
#20 0xb58c7a2a in KIO::ListJob::qt_metacall (this=0xb655e90, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbfe6e458) at ./jobclasses.moc:756
#21 0xb6f86755 in QMetaObject::metacall (object=0xb620888, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbfe6e458) at kernel/qmetaobject.cpp:237
#22 0xb6f95ad1 in QMetaObject::activate (sender=0xb0c4e18, m=0xb5a6cb84, local_signal_index=2, argv=0xbfe6e458) at kernel/qobject.cpp:3294
#23 0xb598b799 in KIO::SlaveInterface::error (this=0xb0c4e18, _t1=143, _t2=...) at ./slaveinterface.moc:153
#24 0xb597dd4b in KIO::Slave::gotInput (this=0xb0c4e18) at ../../kio/kio/slave.cpp:331
#25 0xb59800b3 in KIO::Slave::qt_metacall (this=0xb0c4e18, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfe6e578) at ./slave.moc:76
#26 0xb6f86755 in QMetaObject::metacall (object=0xb620888, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfe6e578) at kernel/qmetaobject.cpp:237
#27 0xb6f95ad1 in QMetaObject::activate (sender=0x91e7b90, m=0xb5a694c0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3294
#28 0xb5889c07 in KIO::Connection::readyRead (this=0x91e7b90) at ./connection.moc:86
#29 0xb588b907 in KIO::Connection::qt_metacall (this=0x91e7b90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x8c952f8) at ./connection.moc:72
#30 0xb6f86755 in QMetaObject::metacall (object=0xb620888, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0x8c952f8) at kernel/qmetaobject.cpp:237
#31 0xb6f90cc6 in QMetaCallEvent::placeMetaCall (this=0xb577180, object=0x91e7b90) at kernel/qobject.cpp:574
#32 0xb6f92163 in QObject::event (this=0x91e7b90, e=0xb577180) at kernel/qobject.cpp:1260
#33 0xb64dbb5c in QApplicationPrivate::notify_helper (this=0x8b350e0, receiver=0x91e7b90, e=0xb577180) at kernel/qapplication.cpp:4242
#34 0xb64e333d in QApplication::notify (this=0xbfe6ed94, receiver=0x91e7b90, e=0xb577180) at kernel/qapplication.cpp:3661
#35 0xb74ac62d in KApplication::notify (this=0xbfe6ed94, receiver=0x91e7b90, event=0xb577180) at ../../kdeui/kernel/kapplication.cpp:302
#36 0xb6f813eb in QCoreApplication::notifyInternal (this=0xbfe6ed94, receiver=0x91e7b90, event=0xb577180) at kernel/qcoreapplication.cpp:704
#37 0xb6f8231f in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8b16380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b16380) at kernel/qcoreapplication.cpp:1345
#39 0xb6f824cd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#40 0xb6fad9cf in QCoreApplication::sendPostedEvents (s=0x8b377d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x8b377d8) at kernel/qeventdispatcher_glib.cpp:276
#42 0xb45dbf28 in g_main_dispatch (context=0x8b37758) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gmain.c:1960
#43 IA__g_main_context_dispatch (context=0x8b37758) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gmain.c:2513
#44 0xb45df6b3 in g_main_context_iterate (context=0x8b37758, block=1, dispatch=1, self=0x8b33980) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gmain.c:2591
#45 0xb45df838 in IA__g_main_context_iteration (context=0x8b37758, may_block=1) at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gmain.c:2654
#46 0xb6fad4e1 in QEventDispatcherGlib::processEvents (this=0x8b15ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#47 0xb65979a5 in QGuiEventDispatcherGlib::processEvents (this=0x8b15ec0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#48 0xb6f7fa3a in QEventLoop::processEvents (this=0xbfe6ed10, flags=...) at kernel/qeventloop.cpp:149
#49 0xb6f7fe82 in QEventLoop::exec (this=0xbfe6ed10, flags=...) at kernel/qeventloop.cpp:201
#50 0xb6f82599 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0xb64dbbf7 in QApplication::exec () at kernel/qapplication.cpp:3570
#52 0x0804b4c6 in main (argc=1, argv=0xbfe6ef94) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Martin Steigerwald 2009-12-28 10:21:34 UTC
Hmmm, there is also this console output:

martin@shambhala:~> kontact
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
QObject::connect: Cannot queue arguments of type 'KParts::WindowArgs'
(Make sure 'KParts::WindowArgs' is registered using qRegisterMetaType().)
<unknown program name>(11906)/: Communication problem with  "kontact" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." "                                                                                                       

martin@shambhala:~#255> QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active                                                            
QPainter::setClipRect: Painter not active                                                          
QPainter::hasClipping: Painter not active                                                          
QPainter::setPen: Painter not active                                                               
QPainter::setBrush: Painter not active                                                             
QPainter::drawRects: Painter not active                                                            
QPainter::hasClipping: Painter not active                                                          
QPainter::setPen: Painter not active                                                               
QPainter::setBrush: Painter not active                                                             
QPainter::drawRects: Painter not active                                                            
QPainter::hasClipping: Painter not active                                                          
QPainter::setPen: Painter not active                                                               
QPainter::setBrush: Painter not active                                                             
QPainter::drawRects: Painter not active                                                            
QPainter::hasClipping: Painter not active                                                          
QPainter::setPen: Painter not active                                                               
QPainter::setBrush: Painter not active                                                             
QPainter::drawRects: Painter not active                                                            
QPainter::hasClipping: Painter not active                                                          
QPainter::setPen: Painter not active                                                               
QPainter::setBrush: Painter not active                                                             
QPainter::drawRects: Painter not active                                                            
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active

martin@shambhala:~#255>
martin@shambhala:~#255>
martin@shambhala:~#255> *** KMail got signal 11 (Crashing)
KCrash: Application 'kontact' crashing...
sock_file=/home/martin/.kde/socket-shambhala/kdeinit4__0
Comment 2 Martin Steigerwald 2009-12-28 10:36:51 UTC
Stop. Crash happens when I quit again after having started it from Konsole. Repeatedly.

Different crash log tough. Thus I report it in a different bug and mark it as a possible duplicate.

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