Bug 222724

Summary: Kmail crashes when selecting an imap folder
Product: [Unmaintained] kmail Reporter: Martin <martin.nowack>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 1.13.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin 2010-01-14 16:53:14 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Kmail often crashes slightly after startup when I select an imap folder. Restarting the application sometimes helps but often leads to a crash again.

Thanks.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00007fcc9ce980d0 in QTreeWidgetItem::addChild (this=0x365a160, child=0x38d4af0) at itemviews/qtreewidget.cpp:1882
#6  0x00007fcc9ce984d3 in QTreeWidgetItem (this=0x38d4af0, parent=0x365a160, type=<value optimized out>) at itemviews/qtreewidget.cpp:1428
#7  0x00007fcc9dabf989 in KMMimePartTreeItem (this=0x365a160, parent=0x38d4af0, node=0x3567460, description=..., mimetype=..., encoding=..., size=0, revertOrder=false)
    at ../../kmail/kmmimeparttree.cpp:378
#8  0x00007fcc9db046a3 in partNode::fillMimePartTree (this=0x3567460, parentItem=0x365a160, mimePartTree=<value optimized out>, labelDescr=<value optimized out>, labelCntType=<value optimized out>, 
    labelEncoding=<value optimized out>, size=0, revertOrder=false) at ../../kmail/partNode.cpp:549
#9  0x00007fcc9daf2e9c in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0x7fffdf811780, startNode=..., content=<value optimized out>, cntDesc=<value optimized out>, append=false, 
    addToTextualContent=<value optimized out>) at ../../kmail/objecttreeparser.cpp:232
#10 0x00007fcc9daf6cc0 in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0x7fffdf811780, node=0x358b600) at ../../kmail/objecttreeparser.cpp:1582
#11 0x00007fcc9daf25c1 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fffdf811780, node=0x358b600) at ../../kmail/objecttreeparser.cpp:318
#12 0x00007fcc9daf28e5 in KMail::ObjectTreeParser::stdChildHandling (this=0x7fffdf811a90, child=0x376a9f0) at ../../kmail/objecttreeparser.cpp:1278
#13 0x00007fcc9daf2c94 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0x365a160, node=<value optimized out>) at ../../kmail/objecttreeparser.cpp:1291
#14 0x00007fcc9daf25c1 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fffdf811a90, node=0x37c3d70) at ../../kmail/objecttreeparser.cpp:318
#15 0x00007fcc9d9740b0 in KMReaderWin::parseMsg (this=0x289be10, aMsg=0x38af9d0) at ../../kmail/kmreaderwin.cpp:1611
#16 0x00007fcc9d96a2e0 in KMReaderWin::displayMessage (this=0x289be10) at ../../kmail/kmreaderwin.cpp:1535
#17 0x00007fcc9d96a4b0 in KMReaderWin::updateReaderWin (this=0x289be10) at ../../kmail/kmreaderwin.cpp:1478
#18 0x00007fcc9d96ad85 in KMReaderWin::update (this=0x289be10, observable=<value optimized out>) at ../../kmail/kmreaderwin.cpp:903
#19 0x00007fcc9db92191 in KMail::ISubject::notify (this=0x38afaa0) at ../../kmail/isubject.cpp:33
#20 0x00007fcc9d88ce9c in KMMessage::updateBodyPart (this=0x38af9d0, partSpecifier=) at ../../kmail/kmmessage.cpp:3185
#21 0x00007fcc9db69929 in KMail::ImapJob::slotGetMessageResult (this=0x38b51c0, job=<value optimized out>) at ../../kmail/imapjob.cpp:435
#22 0x00007fcc9db6b4eb in KMail::ImapJob::qt_metacall (this=0x38b51c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdf812560) at ./imapjob.moc:88
#23 0x00007fcc9c43adc3 in QMetaObject::activate (sender=0x3650190, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x379d801) at kernel/qobject.cpp:3294
#24 0x00007fcc9e424842 in KJob::result (this=0x365a160, _t1=0x3650190) at ./kjob.moc:194
#25 0x00007fcc9e424ae0 in KJob::emitResult (this=0x3650190) at ../../kdecore/jobs/kjob.cpp:312
#26 0x00007fcc98f5f6e3 in KIO::SimpleJob::slotFinished (this=0x3650190) at ../../kio/kio/job.cpp:475
#27 0x00007fcc98f5fba3 in KIO::TransferJob::slotFinished (this=0x3650190) at ../../kio/kio/job.cpp:975
#28 0x00007fcc98f5dd81 in KIO::TransferJob::qt_metacall (this=0x3650190, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdf812980) at ./jobclasses.moc:367
#29 0x00007fcc9c43adc3 in QMetaObject::activate (sender=0x321bae0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x379d801) at kernel/qobject.cpp:3294
#30 0x00007fcc9901e1e1 in KIO::SlaveInterface::dispatch (this=0x321bae0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#31 0x00007fcc9901b553 in KIO::SlaveInterface::dispatch (this=0x321bae0) at ../../kio/kio/slaveinterface.cpp:91
#32 0x00007fcc9900f8b6 in KIO::Slave::gotInput (this=0x321bae0) at ../../kio/kio/slave.cpp:324
#33 0x00007fcc9900fa9c in KIO::Slave::qt_metacall (this=0x321bae0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdf812da0) at ./slave.moc:82
#34 0x00007fcc9c43adc3 in QMetaObject::activate (sender=0x32132c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x379d801) at kernel/qobject.cpp:3294
#35 0x00007fcc98f2ecd7 in KIO::ConnectionPrivate::dequeue (this=0x3218ee0) at ../../kio/kio/connection.cpp:82
#36 0x00007fcc98f2edfd in KIO::Connection::qt_metacall (this=0x32132c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x38fdd70) at ./connection.moc:79
#37 0x00007fcc9c437d19 in QObject::event (this=0x32132c0, e=0x3706c40) at kernel/qobject.cpp:1260
#38 0x00007fcc9c8fae8c in QApplicationPrivate::notify_helper (this=0x2552470, receiver=0x32132c0, e=0x3706c40) at kernel/qapplication.cpp:4242
#39 0x00007fcc9c90148d in QApplication::notify (this=0x7fffdf813930, receiver=0x32132c0, e=0x3706c40) at kernel/qapplication.cpp:4125
#40 0x00007fcc9e9f6e16 in KApplication::notify (this=0x7fffdf813930, receiver=0x32132c0, event=0x3706c40) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x00007fcc9c42804c in QCoreApplication::notifyInternal (this=0x7fffdf813930, receiver=0x32132c0, event=0x3706c40) at kernel/qcoreapplication.cpp:704
#42 0x00007fcc9c42a7c7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x2512950) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x2512950) at kernel/qcoreapplication.cpp:1345
#44 0x00007fcc9c451ae3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#46 0x00007fcc936efbce in g_main_dispatch (context=0x2646120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#47 IA__g_main_context_dispatch (context=0x2646120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#48 0x00007fcc936f3598 in g_main_context_iterate (context=0x2646120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#49 0x00007fcc936f36c0 in IA__g_main_context_iteration (context=0x2646120, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#50 0x00007fcc9c451623 in QEventDispatcherGlib::processEvents (this=0x2511f70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#51 0x00007fcc9c9a92fe in QGuiEventDispatcherGlib::processEvents (this=0x365a160, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#52 0x00007fcc9c426972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#53 0x00007fcc9c426d4c in QEventLoop::exec (this=0x7fffdf813760, flags=) at kernel/qeventloop.cpp:201
#54 0x00007fcc9c42aa8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#55 0x0000000000403572 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-15 01:13:14 UTC
This is being tracked at bug 186502. Thanks

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