Bug 228764 - Kmail crashed with showing "The root node is not yet processed! Danger!" on the console
Summary: Kmail crashed with showing "The root node is not yet processed! Danger!" on t...
Status: RESOLVED DUPLICATE of bug 186502
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.13.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-27 16:26 UTC by Christian Esken
Modified: 2010-03-05 11:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Esken 2010-02-27 16:26:06 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.4.00 (KDE 4.4.0) "release 2"
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
KMail crashes when I click on it in the message list. When I start KMail in a Konsole window I see:

kmail(29084)/kio (KIOJob) KIO::TransferJob::slotData: mimetype() not emitted when sending first data!; job URL = KUrl("imap://chris@localhost:143/INBOX.KMix.temp/;UID=434;SECTION=BODY.PEEK[1]") data size = 2168
kmail(29084) KMReaderWin::parseMsg: The root node is not yet processed! Danger!
*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...


The message was written with a slightly older version (KMail/1.13.0 ; KDE4.3.90) into LDAP,  and it was usable at that point of time.

It consits of 3 parts:
- HTML message
- plain text mail message (text/plain)
- Image (image/png)

I can submit the message on request. It would be easiest for me to submit the raw file from the Cyrus Imap Server.
I am using openSUSE 112. The KDE/KMail version is from todays (2010-02-27) openSUSE Build Service "Desktop::Factory".


The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f7bc39a5d40 in QTreeWidgetItem::addChild(QTreeWidgetItem*) () from /usr/lib64/libQtGui.so.4
#6  0x00007f7bc39a6143 in QTreeWidgetItem::QTreeWidgetItem(QTreeWidgetItem*, int) () from /usr/lib64/libQtGui.so.4
#7  0x00007f7bc4a352a9 in KMMimePartTreeItem::KMMimePartTreeItem (this=0x1091ce0, parent=0x1486590, node=0x1487d80, description=..., mimetype=..., encoding=..., size=0, revertOrder=false)
    at /usr/src/debug/kdepim-4.4.0/kmail/kmmimeparttree.cpp:378
#8  0x00007f7bc4a79db3 in partNode::fillMimePartTree (this=0x1487d80, parentItem=0x1091ce0, mimePartTree=<value optimized out>, labelDescr=<value optimized out>, labelCntType=<value optimized out>, 
    labelEncoding=<value optimized out>, size=0, revertOrder=215) at /usr/src/debug/kdepim-4.4.0/kmail/partNode.cpp:549
#9  0x00007f7bc4a6867c in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0x7fff45fa9670, startNode=..., content=<value optimized out>, cntDesc=<value optimized out>, append=false, 
    addToTextualContent=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:232
#10 0x00007f7bc4a6c4a0 in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0x7fff45fa9670, node=0x1389460) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1582
#11 0x00007f7bc4a67da1 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fff45fa9670, node=0x1389460) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:318
#12 0x00007f7bc4a680c5 in KMail::ObjectTreeParser::stdChildHandling (this=0x7fff45fa9980, child=0x1389330) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1278
#13 0x00007f7bc4a68474 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0x1091ce0, node=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1291
#14 0x00007f7bc4a67da1 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fff45fa9980, node=0x1389b00) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:318
#15 0x00007f7bc48ea310 in KMReaderWin::parseMsg (this=0x64d530, aMsg=0x1320170) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1611
#16 0x00007f7bc48e0570 in KMReaderWin::displayMessage (this=0x64d530) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1535
#17 0x00007f7bc48e0740 in KMReaderWin::updateReaderWin (this=0x64d530) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1478
#18 0x00007f7bc48e1015 in KMReaderWin::update (this=0x64d530, observable=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:903
#19 0x00007f7bc4b07581 in KMail::ISubject::notify (this=0x1320240) at /usr/src/debug/kdepim-4.4.0/kmail/isubject.cpp:33
#20 0x00007f7bc48042bc in KMMessage::updateBodyPart (this=0x1320170, partSpecifier=) at /usr/src/debug/kdepim-4.4.0/kmail/kmmessage.cpp:3185
#21 0x00007f7bc4adeef9 in KMail::ImapJob::slotGetMessageResult (this=0x13e55e0, job=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/imapjob.cpp:435
#22 0x00007f7bc4ae0abb in KMail::ImapJob::qt_metacall (this=0x13e55e0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff45faa440) at /usr/src/debug/kdepim-4.4.0/build/kmail/imapjob.moc:88
#23 0x00007f7bc405c78f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#24 0x00007f7bc533b0b2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#25 0x00007f7bc5342750 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#26 0x00007f7bbfd394e3 in KIO::SimpleJob::slotFinished() () from /usr/lib64/libkio.so.5
#27 0x00007f7bbfdd3487 in KIO::TransferJob::slotFinished() () from /usr/lib64/libkio.so.5
#28 0x00007f7bbfdbc671 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#29 0x00007f7bc405c78f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#30 0x00007f7bbfe15231 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libkio.so.5
#31 0x00007f7bbfcfb833 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libkio.so.5
#32 0x00007f7bbfd3db06 in KIO::Slave::gotInput() () from /usr/lib64/libkio.so.5
#33 0x00007f7bbfd3dcdc in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#34 0x00007f7bc405c78f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#35 0x00007f7bbfcfd6e7 in ?? () from /usr/lib64/libkio.so.5
#36 0x00007f7bbfcfd7ad in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#37 0x00007f7bc40596c9 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#38 0x00007f7bc3405e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#39 0x00007f7bc340c3fb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#40 0x00007f7bc58de446 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#41 0x00007f7bc404998c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#42 0x00007f7bc404c107 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#43 0x00007f7bc4073373 in ?? () from /usr/lib64/libQtCore.so.4
#44 0x00007f7bba54edee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f7bba5527b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f7bba5528e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f7bc4072eb3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#48 0x00007f7bc34b451e in ?? () from /usr/lib64/libQtGui.so.4
#49 0x00007f7bc40482a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#50 0x00007f7bc404867c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#51 0x00007f7bc404c3cb in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#52 0x0000000000403462 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.0/kmail/main.cpp:156

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

Possible duplicates by query: bug 228353, bug 228198, bug 228171, bug 228074, bug 227496.

Reported using DrKonqi
Comment 1 Thomas McGuire 2010-03-05 11:51:58 UTC

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