Bug 232087

Summary: KMail Crashes at opening some messages with attachments
Product: [Unmaintained] kmail Reporter: alessio.checcucci
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman
Priority: NOR    
Version: 1.13.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description alessio.checcucci 2010-03-25 09:36:41 UTC
Application: kmail (1.13.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
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:
Some messages with attachments (PDFs in my case) make KMail crash when attempting to opening them on an IMAP mailbox.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0x41685ace in QAbstractItemView::model() const () from /usr/lib/libQtGui.so.4
#7  0x4170cf94 in QTreeWidgetItem::insertChild(int, QTreeWidgetItem*) () from /usr/lib/libQtGui.so.4
#8  0x4170d47e in QTreeWidgetItem::addChild(QTreeWidgetItem*) () from /usr/lib/libQtGui.so.4
#9  0x4170d6a1 in QTreeWidgetItem::QTreeWidgetItem(QTreeWidgetItem*, int) () from /usr/lib/libQtGui.so.4
#10 0x00442bb5 in KMMimePartTreeItem::KMMimePartTreeItem (this=0x90453d8, parent=0x8ee88c8, node=0x90454b8, description=..., mimetype=..., encoding=..., size=0, revertOrder=false)
    at /usr/src/debug/kdepim-4.4.1/kmail/kmmimeparttree.cpp:378
#11 0x0048a4ae in partNode::fillMimePartTree (this=0x90454b8, parentItem=0x8ee88c8, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=false)
    at /usr/src/debug/kdepim-4.4.1/kmail/partNode.cpp:549
#12 0x00477a3d in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0xbf8c2620, startNode=..., content=0x5586518 "", cntDesc=0x6c9ee2 "encapsulated message", append=false, 
    addToTextualContent=false) at /usr/src/debug/kdepim-4.4.1/kmail/objecttreeparser.cpp:232
#13 0x0047bc7e in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0xbf8c2620, node=0x8faa768) at /usr/src/debug/kdepim-4.4.1/kmail/objecttreeparser.cpp:1582
#14 0x0048508c in (anonymous namespace)::MessageRfc822BodyPartFormatter::process (this=0x8d52408, otp=0xbf8c2620, node=0x8faa768, result=...)
    at /usr/src/debug/kdepim-4.4.1/kmail/bodypartformatter.cpp:116
#15 0x00477073 in KMail::ObjectTreeParser::parseObjectTree (this=0xbf8c2620, node=<value optimized out>) at /usr/src/debug/kdepim-4.4.1/kmail/objecttreeparser.cpp:318
#16 0x004773e8 in KMail::ObjectTreeParser::stdChildHandling (this=0xbf8c2840, child=0x8faa6c8) at /usr/src/debug/kdepim-4.4.1/kmail/objecttreeparser.cpp:1278
#17 0x004777e2 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbf8c2840, node=0x8faa628) at /usr/src/debug/kdepim-4.4.1/kmail/objecttreeparser.cpp:1291
#18 0x0048504c in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process (this=0x8e908b8, otp=0xbf8c2840, node=0x8faa628, result=...)
    at /usr/src/debug/kdepim-4.4.1/kmail/bodypartformatter.cpp:118
#19 0x00477073 in KMail::ObjectTreeParser::parseObjectTree (this=0xbf8c2840, node=<value optimized out>) at /usr/src/debug/kdepim-4.4.1/kmail/objecttreeparser.cpp:318
#20 0x002f9eb5 in KMReaderWin::parseMsg (this=0x861b108, aMsg=0x8c205a0) at /usr/src/debug/kdepim-4.4.1/kmail/kmreaderwin.cpp:1612
#21 0x002ee2a6 in KMReaderWin::displayMessage (this=0x861b108) at /usr/src/debug/kdepim-4.4.1/kmail/kmreaderwin.cpp:1536
#22 0x002ee48d in KMReaderWin::updateReaderWin (this=0x861b108) at /usr/src/debug/kdepim-4.4.1/kmail/kmreaderwin.cpp:1479
#23 0x002eed90 in KMReaderWin::update (this=0x861b108, observable=0x8c20610) at /usr/src/debug/kdepim-4.4.1/kmail/kmreaderwin.cpp:904
#24 0x0051b5c2 in KMail::ISubject::notify (this=0x8c20610) at /usr/src/debug/kdepim-4.4.1/kmail/isubject.cpp:33
#25 0x0021d185 in KMMessage::updateBodyPart (this=0x8c205a0, partSpecifier=..., data=...) at /usr/src/debug/kdepim-4.4.1/kmail/kmmessage.cpp:3185
#26 0x004f39f0 in KMail::ImapJob::slotGetMessageResult (this=0x8edd028, job=0x8ff63e0) at /usr/src/debug/kdepim-4.4.1/kmail/imapjob.cpp:435
#27 0x004f51cf in KMail::ImapJob::qt_metacall (this=0x8edd028, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8c2e38) at /usr/src/debug/kdepim-4.4.1/i686-redhat-linux-gnu/kmail/imapjob.moc:88
#28 0x054765db in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#29 0x054854af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#30 0x05db7e34 in KJob::result (this=0x8ff63e0, _t1=0x8ff63e0) at /usr/src/debug/kdelibs-4.4.1/i686-redhat-linux-gnu/kdecore/kjob.moc:194
#31 0x05db81c9 in KJob::emitResult (this=0x8ff63e0) at /usr/src/debug/kdelibs-4.4.1/kdecore/jobs/kjob.cpp:312
#32 0x06488913 in KIO::SimpleJob::slotFinished (this=0x8ff63e0) at /usr/src/debug/kdelibs-4.4.1/kio/kio/job.cpp:486
#33 0x0648965e in KIO::TransferJob::slotFinished (this=0x8ff63e0) at /usr/src/debug/kdelibs-4.4.1/kio/kio/job.cpp:1058
#34 0x064878f3 in KIO::TransferJob::qt_metacall (this=0x8ff63e0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8c30cc)
    at /usr/src/debug/kdelibs-4.4.1/i686-redhat-linux-gnu/kio/jobclasses.moc:367
#35 0x054765db in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#36 0x054854af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#37 0x06547768 in KIO::SlaveInterface::finished (this=0x8b455c0) at /usr/src/debug/kdelibs-4.4.1/i686-redhat-linux-gnu/kio/slaveinterface.moc:171
#38 0x0654a975 in KIO::SlaveInterface::dispatch (this=0x8b455c0, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.4.1/kio/kio/slaveinterface.cpp:175
#39 0x06547bd4 in KIO::SlaveInterface::dispatch (this=0x8b455c0) at /usr/src/debug/kdelibs-4.4.1/kio/kio/slaveinterface.cpp:91
#40 0x0653bf98 in KIO::Slave::gotInput (this=0x8b455c0) at /usr/src/debug/kdelibs-4.4.1/kio/kio/slave.cpp:324
#41 0x0653c1c3 in KIO::Slave::qt_metacall (this=0x8b455c0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8c33dc) at /usr/src/debug/kdelibs-4.4.1/i686-redhat-linux-gnu/kio/slave.moc:82
#42 0x054765db in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#43 0x054854af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#44 0x06453868 in KIO::Connection::readyRead (this=0x8b47b60) at /usr/src/debug/kdelibs-4.4.1/i686-redhat-linux-gnu/kio/connection.moc:92
#45 0x0645590e in KIO::ConnectionPrivate::dequeue (this=0x8b4d300) at /usr/src/debug/kdelibs-4.4.1/kio/kio/connection.cpp:82
#46 0x06455a36 in KIO::Connection::qt_metacall (this=0x8b47b60, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x90285f8)
    at /usr/src/debug/kdelibs-4.4.1/i686-redhat-linux-gnu/kio/connection.moc:79
#47 0x054765db in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#48 0x05480bd7 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#49 0x05481c4e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#50 0x4113dd2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#51 0x41144556 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#52 0x061137db in KApplication::notify (this=0xbf8c3de0, receiver=0x8b47b60, event=0x9027d20) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#53 0x05471c03 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#54 0x05472ac3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#55 0x05472c1e in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#56 0x0549a350 in ?? () from /usr/lib/libQtCore.so.4
#57 0x010c7fb8 in g_main_dispatch (context=0x85df090) at gmain.c:1960
#58 IA__g_main_context_dispatch (context=0x85df090) at gmain.c:2513
#59 0x010cb8e8 in g_main_context_iterate (context=0x94ceb0, block=1, dispatch=1, self=0x86797a0) at gmain.c:2591
#60 0x010cba14 in IA__g_main_context_iteration (context=0x85df090, may_block=1) at gmain.c:2654
#61 0x05499e46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#62 0x411ec0c6 in ?? () from /usr/lib/libQtGui.so.4
#63 0x054702da in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#64 0x0547061a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#65 0x05472ce7 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#66 0x4113ddd8 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#67 0x0804a9aa in main (argc=3, argv=0xbf8c3fa4) at /usr/src/debug/kdepim-4.4.1/kmail/main.cpp:156

This bug may be a duplicate of or related to bug 186502.

Possible duplicates by query: bug 229154, bug 228836, bug 227207, bug 226977.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-03-25 18:07:31 UTC

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