Bug 228836

Summary: KMail crashes on moving email to trash
Product: [Unmaintained] kmail Reporter: Timothy Murphy <gayleard>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.13.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Timothy Murphy 2010-02-28 01:44:08 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-174.2.22.fc12.i686 i686
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
Kmail crashes almost always on moving email to local trash.
Kmail is running on laptop as client to IMAP (dovecot) server on desktop.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  d_func (this=0x4) at itemviews/qabstractitemview.h:353
#7  QAbstractItemView::model (this=0x4) at itemviews/qabstractitemview.cpp:691
#8  0x0270afa4 in QTreeWidgetItem::insertChild (this=0x8fef6c8, index=9, child=0x8ede1c8) at itemviews/qtreewidget.cpp:1897
#9  0x0270b48e in QTreeWidgetItem::addChild (this=0x8fef6c8, child=0x8ede1c8) at itemviews/qtreewidget.cpp:1882
#10 0x0270b6b1 in QTreeWidgetItem::QTreeWidgetItem (this=0x8ede1c8, parent=0x8fef6c8, type=0) at itemviews/qtreewidget.cpp:1428
#11 0x003c8af5 in KMMimePartTreeItem::KMMimePartTreeItem (this=0x8ede1c8, parent=0x8fef6c8, node=0x921bde8, description=..., mimetype=..., encoding=..., size=0, revertOrder=false)
    at /usr/src/debug/kdepim-4.4.0/kmail/kmmimeparttree.cpp:378
#12 0x004104fe in partNode::fillMimePartTree (this=0x921bde8, parentItem=0x8fef6c8, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=false)
    at /usr/src/debug/kdepim-4.4.0/kmail/partNode.cpp:549
#13 0x003fda9d in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0xbfd768d0, startNode=..., content=0x79d4518 "", cntDesc=0x650222 "encapsulated message", append=false, 
    addToTextualContent=false) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:232
#14 0x00401cde in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0xbfd768d0, node=0x90b9d78) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1582
#15 0x0040b0ec in (anonymous namespace)::MessageRfc822BodyPartFormatter::process (this=0x94f5cf8, otp=0xbfd768d0, node=0x90b9d78, result=...)
    at /usr/src/debug/kdepim-4.4.0/kmail/bodypartformatter.cpp:116
#16 0x003fd0d3 in KMail::ObjectTreeParser::parseObjectTree (this=0xbfd768d0, node=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:318
#17 0x003fd448 in KMail::ObjectTreeParser::stdChildHandling (this=0xbfd76a50, child=0x90b9d78) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1278
#18 0x003fd842 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbfd76a50, node=0x90b9cd8) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1291
#19 0x0040b0ac in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process (this=0x8920780, otp=0xbfd76a50, node=0x90b9cd8, result=...)
    at /usr/src/debug/kdepim-4.4.0/kmail/bodypartformatter.cpp:118
#20 0x003fd0d3 in KMail::ObjectTreeParser::parseObjectTree (this=0xbfd76a50, node=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:318
#21 0x003fd448 in KMail::ObjectTreeParser::stdChildHandling (this=0xbfd76c6c, child=0x8ed1bd0) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1278
#22 0x003fd842 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbfd76c6c, node=0x8ed1b30) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1291
#23 0x0040b0ac in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process (this=0x8920780, otp=0xbfd76c6c, node=0x8ed1b30, result=...)
    at /usr/src/debug/kdepim-4.4.0/kmail/bodypartformatter.cpp:118
#24 0x003fd0d3 in KMail::ObjectTreeParser::parseObjectTree (this=0xbfd76c6c, node=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:318
#25 0x0027fecd in KMReaderWin::parseMsg (this=0x8a2b7a8, aMsg=0x90b4f90) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1611
#26 0x00274276 in KMReaderWin::displayMessage (this=0x8a2b7a8) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1535
#27 0x0027445d in KMReaderWin::updateReaderWin (this=0x8a2b7a8) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1478
#28 0x00274d60 in KMReaderWin::update (this=0x8a2b7a8, observable=0x90b5000) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:903
#29 0x004a1962 in KMail::ISubject::notify (this=0x90b5000) at /usr/src/debug/kdepim-4.4.0/kmail/isubject.cpp:33
#30 0x001a3075 in KMMessage::updateBodyPart (this=0x90b4f90, partSpecifier=..., data=...) at /usr/src/debug/kdepim-4.4.0/kmail/kmmessage.cpp:3185
#31 0x00479b80 in KMail::ImapJob::slotGetMessageResult (this=0x9568698, job=0x8eca668) at /usr/src/debug/kdepim-4.4.0/kmail/imapjob.cpp:435
#32 0x0047b35f in KMail::ImapJob::qt_metacall (this=0x9568698, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd77268) at /usr/src/debug/kdepim-4.4.0/i686-redhat-linux-gnu/kmail/imapjob.moc:88
#33 0x078c45db in QMetaObject::metacall (object=0x9568698, cl=InvokeMetaMethod, idx=12, argv=0xbfd77268) at kernel/qmetaobject.cpp:237
#34 0x078d34af in QMetaObject::activate (sender=0x8eca668, m=0x7f9ff08, local_signal_index=3, argv=0xbfd77268) at kernel/qobject.cpp:3293
#35 0x07e11c84 in KJob::result (this=0x8eca668, _t1=0x8eca668) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/kdecore/kjob.moc:194
#36 0x07e12019 in KJob::emitResult (this=0x8eca668) at /usr/src/debug/kdelibs-4.4.0/kdecore/jobs/kjob.cpp:312
#37 0x02edfdb3 in KIO::SimpleJob::slotFinished (this=0x8eca668) at /usr/src/debug/kdelibs-4.4.0/kio/kio/job.cpp:486
#38 0x02ee0afe in KIO::TransferJob::slotFinished (this=0x8eca668) at /usr/src/debug/kdelibs-4.4.0/kio/kio/job.cpp:1058
#39 0x02eded93 in KIO::TransferJob::qt_metacall (this=0x8eca668, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd774fc)
    at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/kio/jobclasses.moc:367
#40 0x078c45db in QMetaObject::metacall (object=0x8eca668, cl=InvokeMetaMethod, idx=47, argv=0xbfd774fc) at kernel/qmetaobject.cpp:237
#41 0x078d34af in QMetaObject::activate (sender=0x8c9bdc0, m=0x30a3c64, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3293
#42 0x02f9f098 in KIO::SlaveInterface::finished (this=0x8c9bdc0) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/kio/slaveinterface.moc:171
#43 0x02fa22a5 in KIO::SlaveInterface::dispatch (this=0x8c9bdc0, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.4.0/kio/kio/slaveinterface.cpp:175
#44 0x02f9f504 in KIO::SlaveInterface::dispatch (this=0x8c9bdc0) at /usr/src/debug/kdelibs-4.4.0/kio/kio/slaveinterface.cpp:91
#45 0x02f938c8 in KIO::Slave::gotInput (this=0x8c9bdc0) at /usr/src/debug/kdelibs-4.4.0/kio/kio/slave.cpp:324
#46 0x02f93af3 in KIO::Slave::qt_metacall (this=0x8c9bdc0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd7780c) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/kio/slave.moc:82
#47 0x078c45db in QMetaObject::metacall (object=0x8c9bdc0, cl=InvokeMetaMethod, idx=30, argv=0xbfd7780c) at kernel/qmetaobject.cpp:237
#48 0x078d34af in QMetaObject::activate (sender=0x8ca0ce0, m=0x30a0540, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#49 0x02eaad08 in KIO::Connection::readyRead (this=0x8ca0ce0) at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/kio/connection.moc:92
#50 0x02eacdae in KIO::ConnectionPrivate::dequeue (this=0x8ca0d48) at /usr/src/debug/kdelibs-4.4.0/kio/kio/connection.cpp:82
#51 0x02eaced6 in KIO::Connection::qt_metacall (this=0x8ca0ce0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x993a5a8)
    at /usr/src/debug/kdelibs-4.4.0/i686-redhat-linux-gnu/kio/connection.moc:79
#52 0x078c45db in QMetaObject::metacall (object=0x8ca0ce0, cl=InvokeMetaMethod, idx=5, argv=0x993a5a8) at kernel/qmetaobject.cpp:237
#53 0x078cebd7 in QMetaCallEvent::placeMetaCall (this=0x96d5478, object=0x8ca0ce0) at kernel/qobject.cpp:561
#54 0x078cfc4e in QObject::event (this=0x8ca0ce0, e=0x96d5478) at kernel/qobject.cpp:1248
#55 0x0213bd2c in QApplicationPrivate::notify_helper (this=0x8886160, receiver=0x8ca0ce0, e=0x96d5478) at kernel/qapplication.cpp:4300
#56 0x02142556 in QApplication::notify (this=0xbfd7820c, receiver=0x8ca0ce0, e=0x96d5478) at kernel/qapplication.cpp:3704
#57 0x02c0258b in KApplication::notify (this=0xbfd7820c, receiver=0x8ca0ce0, event=0x96d5478) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#58 0x078bfc03 in QCoreApplication::notifyInternal (this=0xbfd7820c, receiver=0x8ca0ce0, event=0x96d5478) at kernel/qcoreapplication.cpp:704
#59 0x078c0ac3 in sendEvent (receiver=0x0, event_type=0, data=0x8854f80) at kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8854f80) at kernel/qcoreapplication.cpp:1345
#61 0x078c0c1e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#62 0x078e8350 in sendPostedEvents (s=0x8888510) at kernel/qcoreapplication.h:220
#63 postEventSourceDispatch (s=0x8888510) at kernel/qeventdispatcher_glib.cpp:276
#64 0x01318f88 in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#65 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#66 0x0131c8b8 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#67 0x0131c9e4 in IA__g_main_context_iteration (context=0x8888490, may_block=<value optimized out>) at gmain.c:2654
#68 0x078e7e46 in QEventDispatcherGlib::processEvents (this=0x8854c40, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#69 0x021ea0c6 in QGuiEventDispatcherGlib::processEvents (this=0x8854c40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x078be2da in QEventLoop::processEvents (this=0xbfd780c4, flags=...) at kernel/qeventloop.cpp:149
#71 0x078be61a in QEventLoop::exec (this=0xbfd780c4, flags=...) at kernel/qeventloop.cpp:201
#72 0x078c0ce7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#73 0x0213bdd8 in QApplication::exec () at kernel/qapplication.cpp:3579
#74 0x0804aa6a in main (argc=3, argv=0xbfd783d4) at /usr/src/debug/kdepim-4.4.0/kmail/main.cpp:156

Possible duplicates by query: bug 227642, bug 226956, bug 222666.

Reported using DrKonqi
Comment 1 Thomas McGuire 2010-02-28 19:30:15 UTC

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