Bug 228171

Summary: kmail segfaults and crashes on opening (two imap accounts configured)
Product: [Unmaintained] kmail Reporter: Ciaran Farrell <cfarrell1980>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.13.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ciaran Farrell 2010-02-23 10:10:33 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.4.00 (KDE 4.4.0) "release 223"
Qt Version: 4.6.1
Operating System: Linux 2.6.31.12-0.1-pae i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
My kmail has an IMAP account and a Groupwise (IMAP) account registered. Sometimes the application crashes on opening. This time, I managed to catch what looks like a usable backtrace

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0xb6360b0d in QTreeWidgetItem::addChild(QTreeWidgetItem*) () from /usr/lib/libQtGui.so.4
#7  0xb6360f73 in QTreeWidgetItem::QTreeWidgetItem(QTreeWidgetItem*, int) () from /usr/lib/libQtGui.so.4
#8  0xb6dbe839 in KMMimePartTreeItem::KMMimePartTreeItem (this=0x89937c0, parent=0x8787b18, node=0x8a85088, description=..., mimetype=..., encoding=..., size=0, revertOrder=false)
    at /usr/src/debug/kdepim-4.4.0/kmail/kmmimeparttree.cpp:378
#9  0xb6e093b3 in partNode::fillMimePartTree (this=0x8a85088, parentItem=0x8787b18, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=false)
    at /usr/src/debug/kdepim-4.4.0/kmail/partNode.cpp:549
#10 0xb6df6491 in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0xbfe1df00, startNode=..., content=0xb690b3bc "", cntDesc=0xb70dfe42 "encapsulated message", append=<value optimized out>, 
    addToTextualContent=false) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:232
#11 0xb6dfa803 in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0xbfe1df00, node=0x8aa5648) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1582
#12 0xb6e037bb in (anonymous namespace)::MessageRfc822BodyPartFormatter::process (this=0x83c1400, otp=0xbfe1df00, node=0x8aa5648, result=...)
    at /usr/src/debug/kdepim-4.4.0/kmail/bodypartformatter.cpp:116
#13 0xb6df5a7a in KMail::ObjectTreeParser::parseObjectTree (this=0xbfe1df00, node=0x8aa5648) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:318
#14 0xb6df5e2f in KMail::ObjectTreeParser::stdChildHandling (this=0xbfe1e10c, child=0x8aa55a8) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1278
#15 0xb6df6230 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbfe1e10c, node=0x8a6c6b8) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:1291
#16 0xb6e0378b in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process (this=0x86c28e8, otp=0xbfe1e10c, node=0x8a6c6b8, result=...)
    at /usr/src/debug/kdepim-4.4.0/kmail/bodypartformatter.cpp:118
#17 0xb6df5a7a in KMail::ObjectTreeParser::parseObjectTree (this=0xbfe1e10c, node=0x8a6c6b8) at /usr/src/debug/kdepim-4.4.0/kmail/objecttreeparser.cpp:318
#18 0xb6c4f8a2 in KMReaderWin::parseMsg (this=0x83256f0, aMsg=0x859adb8) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1611
#19 0xb6c44a80 in KMReaderWin::displayMessage (this=0x83256f0) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1535
#20 0xb6c44c5d in KMReaderWin::updateReaderWin (this=0x83256f0) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:1478
#21 0xb6c455b0 in KMReaderWin::update (this=0x83256f0, observable=0x8ac6c01) at /usr/src/debug/kdepim-4.4.0/kmail/kmreaderwin.cpp:903
#22 0xb6ea6ab2 in KMail::ISubject::notify (this=0x859ae28) at /usr/src/debug/kdepim-4.4.0/kmail/isubject.cpp:33
#23 0xb6b4bf3d in KMMessage::updateBodyPart (this=0x859adb8, partSpecifier=) at /usr/src/debug/kdepim-4.4.0/kmail/kmmessage.cpp:3185
#24 0xb6e7a5ec in KMail::ImapJob::slotGetMessageResult (this=0x8633ce0, job=0x8a68d18) at /usr/src/debug/kdepim-4.4.0/kmail/imapjob.cpp:435
#25 0xb6e7c4dd in KMail::ImapJob::qt_metacall (this=0x8633ce0, _c=InvokeMetaMethod, _id=12, _a=0xbfe1e6e8) at /usr/src/debug/kdepim-4.4.0/build/kmail/imapjob.moc:88
#26 0xb67f932d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#27 0xb680818a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#28 0xb72a50d5 in KJob::result (this=0x8a68d18, _t1=0x8a68d18) at /usr/src/debug/kdelibs-4.4.0/build/kdecore/kjob.moc:194
#29 0xb72ae818 in KJob::emitResult (this=0x8a68d18) at /usr/src/debug/kdelibs-4.4.0/kdecore/jobs/kjob.cpp:312
#30 0xb530f55f in KIO::SimpleJob::slotFinished (this=0x8a68d18) at /usr/src/debug/kdelibs-4.4.0/kio/kio/job.cpp:486
#31 0xb53b8151 in KIO::TransferJob::slotFinished (this=0x8a68d18) at /usr/src/debug/kdelibs-4.4.0/kio/kio/job.cpp:1058
#32 0xb539ed44 in KIO::TransferJob::qt_metacall (this=0x8a68d18, _c=InvokeMetaMethod, _id=47, _a=0xbfe1e96c) at /usr/src/debug/kdelibs-4.4.0/build/kio/jobclasses.moc:367
#33 0xb67f932d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#34 0xb680818a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#35 0xb52a55f5 in KIO::SlaveInterface::finished (this=0x828c238) at /usr/src/debug/kdelibs-4.4.0/build/kio/slaveinterface.moc:171
#36 0xb5402898 in KIO::SlaveInterface::dispatch (this=0x828c238, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.4.0/kio/kio/slaveinterface.cpp:175
#37 0xb52c9f1a in KIO::SlaveInterface::dispatch (this=0x828c238) at /usr/src/debug/kdelibs-4.4.0/kio/kio/slaveinterface.cpp:91
#38 0xb5313688 in KIO::Slave::gotInput (this=0x828c238) at /usr/src/debug/kdelibs-4.4.0/kio/kio/slave.cpp:324
#39 0xb53138b4 in KIO::Slave::qt_metacall (this=0x828c238, _c=InvokeMetaMethod, _id=30, _a=0xbfe1ec5c) at /usr/src/debug/kdelibs-4.4.0/build/kio/slave.moc:82
#40 0xb67f932d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#41 0xb680818a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#42 0xb52a8265 in KIO::Connection::readyRead (this=0x8412ca0) at /usr/src/debug/kdelibs-4.4.0/build/kio/connection.moc:92
#43 0xb52cc07a in KIO::ConnectionPrivate::dequeue (this=0x8416f08) at /usr/src/debug/kdelibs-4.4.0/kio/kio/connection.cpp:82
#44 0xb52cc157 in KIO::Connection::qt_metacall (this=0x8412ca0, _c=InvokeMetaMethod, _id=5, _a=0x8ab7c38) at /usr/src/debug/kdelibs-4.4.0/build/kio/connection.moc:79
#45 0xb67f932d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#46 0xb6803cb5 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#47 0xb6804e5f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#48 0xb5d1e2ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#49 0xb5d250f8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#50 0xb7624b71 in KApplication::notify (this=0xbfe1f61c, receiver=0x8412ca0, event=0x8a86e50) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#51 0xb67f3fbe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#52 0xb67f69c3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#53 0xb67f6b1c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#54 0xb682104d in ?? () from /usr/lib/libQtCore.so.4
#55 0xb3e834c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0xb3e86d98 in ?? () from /usr/lib/libglib-2.0.so.0
#57 0xb3e86ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0xb6820b31 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#59 0xb5dde6ca in ?? () from /usr/lib/libQtGui.so.4
#60 0xb67f262d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#61 0xb67f2a79 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#62 0xb67f6bf0 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#63 0xb5d1e354 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#64 0x0804abee in main (argc=3, argv=0xbfe1f7d4) at /usr/src/debug/kdepim-4.4.0/kmail/main.cpp:156

Possible duplicates by query: bug 228074, bug 227496, bug 227207, bug 226977, bug 222216.

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

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