Bug 229219

Summary: Kmail crashes when opening a single mail in an IMAP folder
Product: [Unmaintained] kmail Reporter: Vincent-Xavier JUMEL <endymion+kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.13.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vincent-Xavier JUMEL 2010-03-03 10:01:47 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.4.00 (KDE 4.4.0) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.1"

-- Information about the crash:
Kmail crashes when opening a single mail in an IMAP folder

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f7e69220760 (LWP 11555))]

Thread 3 (Thread 0x7f7e45d66710 (LWP 1861)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f7e639acbd7 in QWaitConditionPrivate::wait (this=0x11e7a58, mutex=0x11e7a50, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x11e7a58, mutex=0x11e7a50, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7e639a1d19 in QThreadPoolThread::run (this=0x93a820) at concurrent/qthreadpool.cpp:140
#4  0x00007f7e639abd05 in QThreadPrivate::start (arg=0x93a820) at thread/qthread_unix.cpp:248
#5  0x00007f7e6371c547 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f7e61893c7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7e450fa710 (LWP 1957)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f7e639acbd7 in QWaitConditionPrivate::wait (this=0x11e7a58, mutex=0x11e7a50, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x11e7a58, mutex=0x11e7a50, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7e639a1d19 in QThreadPoolThread::run (this=0x24b36d0) at concurrent/qthreadpool.cpp:140
#4  0x00007f7e639abd05 in QThreadPrivate::start (arg=0x24b36d0) at thread/qthread_unix.cpp:248
#5  0x00007f7e6371c547 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f7e61893c7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7e69220760 (LWP 11555)):
[KCrash Handler]
#5  0x00007f7e631e0450 in QTreeWidgetItem::addChild (this=0x2cee250, child=0x226ab10) at itemviews/qtreewidget.cpp:1882
#6  0x00007f7e631e0873 in QTreeWidgetItem (this=0x226ab10, parent=0x2cee250, type=<value optimized out>) at itemviews/qtreewidget.cpp:1428
#7  0x00007f7e67d0a4d8 in KMMimePartTreeItem (this=0x2cee250, parent=0x226ab10, node=0x23385c0, description=..., mimetype=..., encoding=..., size=0, revertOrder=false)
    at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/kmmimeparttree.cpp:378
#8  0x00007f7e67d519e6 in partNode::fillMimePartTree (this=0x23385c0, parentItem=0x2cee250, mimePartTree=0x0, labelDescr=<value optimized out>, labelCntType=<value optimized out>, labelEncoding=..., 
    size=0, revertOrder=117) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/partNode.cpp:549
#9  0x00007f7e67d415c7 in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0x7fffe96b2410, startNode=..., content=<value optimized out>, cntDesc=<value optimized out>, append=117, 
    addToTextualContent=false) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/objecttreeparser.cpp:232
#10 0x00007f7e67d42cf6 in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0x7fffe96b2410, node=0x23b7660)
    at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/objecttreeparser.cpp:1582
#11 0x00007f7e67d40746 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fffe96b2410, node=0x23b7660) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/objecttreeparser.cpp:318
#12 0x00007f7e67d41015 in KMail::ObjectTreeParser::stdChildHandling (this=0x7fffe96b2750, child=0x23b7530) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/objecttreeparser.cpp:1278
#13 0x00007f7e67d413c4 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0x2cee250, node=<value optimized out>)
    at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/objecttreeparser.cpp:1291
#14 0x00007f7e67d40746 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fffe96b2750, node=0x23b7400) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/objecttreeparser.cpp:318
#15 0x00007f7e67bbe8b3 in KMReaderWin::parseMsg (this=0xe5ce50, aMsg=0x1fff290) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/kmreaderwin.cpp:1611
#16 0x00007f7e67baff20 in KMReaderWin::displayMessage (this=0xe5ce50) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/kmreaderwin.cpp:1535
#17 0x00007f7e67bb0105 in KMReaderWin::updateReaderWin (this=0xe5ce50) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/kmreaderwin.cpp:1478
#18 0x00007f7e67bb0465 in KMReaderWin::update (this=0xe5ce50, observable=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/kmreaderwin.cpp:903
#19 0x00007f7e67ddebf1 in KMail::ISubject::notify (this=0x1fff360) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/isubject.cpp:33
#20 0x00007f7e67ad6d8a in KMMessage::updateBodyPart (this=0x1fff290, partSpecifier=..., data=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/kmmessage.cpp:3185
#21 0x00007f7e67db7153 in KMail::ImapJob::slotGetMessageResult (this=0xe56d40, job=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/imapjob.cpp:435
#22 0x00007f7e67db8427 in KMail::ImapJob::qt_metacall (this=0xe56d40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe96b31f0)
    at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0_build/kmail/imapjob.moc:88
#23 0x00007f7e63ab44b7 in QMetaObject::activate (sender=0x24882f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f7e61b17e01) at kernel/qobject.cpp:3285
#24 0x00007f7e68690452 in KJob::result (this=0x2cee250, _t1=0x24882f0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0_build/kdecore/kjob.moc:194
#25 0x00007f7e686906f0 in KJob::emitResult (this=0x24882f0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdecore/jobs/kjob.cpp:312
#26 0x00007f7e643825a0 in KIO::SimpleJob::slotFinished (this=0x24882f0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/job.cpp:486
#27 0x00007f7e64382a87 in KIO::TransferJob::slotFinished (this=0x24882f0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/job.cpp:1058
#28 0x00007f7e6438058d in KIO::TransferJob::qt_metacall (this=0x24882f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe96b35d0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0_build/kio/jobclasses.moc:367
#29 0x00007f7e63ab44b7 in QMetaObject::activate (sender=0xd84300, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f7e61b17e01) at kernel/qobject.cpp:3285
#30 0x00007f7e64441181 in KIO::SlaveInterface::dispatch (this=0xd84300, _cmd=104, rawdata=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/slaveinterface.cpp:175
#31 0x00007f7e6443e742 in KIO::SlaveInterface::dispatch (this=0xd84300) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/slaveinterface.cpp:91
#32 0x00007f7e644327a7 in KIO::Slave::gotInput (this=0xd84300) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/slave.cpp:324
#33 0x00007f7e64432978 in KIO::Slave::qt_metacall (this=0xd84300, _c=QMetaObject::InvokeMetaMethod, _id=7602293, _a=0x7fffe96b39f0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0_build/kio/slave.moc:82
#34 0x00007f7e63ab44b7 in QMetaObject::activate (sender=0xfff540, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f7e61b17e01) at kernel/qobject.cpp:3285
#35 0x00007f7e64350001 in KIO::ConnectionPrivate::dequeue (this=0x1007420) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kio/kio/connection.cpp:82
#36 0x00007f7e6435045a in KIO::Connection::qt_metacall (this=0xfff540, _c=QMetaObject::InvokeMetaMethod, _id=7602293, _a=0x181b1b0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0_build/kio/connection.moc:79
#37 0x00007f7e63ab1218 in QObject::event (this=0xfff540, e=0x2309640) at kernel/qobject.cpp:1240
#38 0x00007f7e62c540bd in QApplicationPrivate::notify_helper (this=0x707100, receiver=0xfff540, e=0x2309640) at kernel/qapplication.cpp:4300
#39 0x00007f7e62c5b4f4 in QApplication::notify (this=0x7fffe96b46d0, receiver=0xfff540, e=0x2309640) at kernel/qapplication.cpp:3704
#40 0x00007f7e68c5d5fb in KApplication::notify (this=0x7fffe96b46d0, receiver=0xfff540, event=0x2309640)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#41 0x00007f7e63aa106c in QCoreApplication::notifyInternal (this=0x7fffe96b46d0, receiver=0xfff540, event=0x2309640) at kernel/qcoreapplication.cpp:704
#42 0x00007f7e63aa1f4c in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x60f0f0) at kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60f0f0) at kernel/qcoreapplication.cpp:1345
#44 0x00007f7e63acae43 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#46 0x00007f7e5b049f4a in g_main_dispatch (context=0x709920) at gmain.c:1960
#47 IA__g_main_context_dispatch (context=0x709920) at gmain.c:2513
#48 0x00007f7e5b04d7a8 in g_main_context_iterate (context=0x709920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#49 0x00007f7e5b04d95c in IA__g_main_context_iteration (context=0x709920, may_block=1) at gmain.c:2654
#50 0x00007f7e63aca9ac in QEventDispatcherGlib::processEvents (this=0x60e860, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#51 0x00007f7e62d0493f in QGuiEventDispatcherGlib::processEvents (this=0x2cee250, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f7e63a9f952 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007f7e63a9fd24 in QEventLoop::exec (this=0x7fffe96b4500, flags=...) at kernel/qeventloop.cpp:201
#54 0x00007f7e63aa21d6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#55 0x0000000000403814 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.0/work/kmail-4.4.0/kmail/main.cpp:156

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

Possible duplicates by query: bug 229154, bug 228836, bug 228816, bug 228764, bug 228353.

Reported using DrKonqi
Comment 1 Thomas McGuire 2010-03-05 11:50:16 UTC

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