Bug 191913

Summary: Kmail crashes on message detail view
Product: [Unmaintained] kmail Reporter: Thomas Rehn <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Rehn 2009-05-07 16:12:45 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Kmail (KDE 4.2.3) crashes when I try to open one of my emails. The backtrace is as follows:

[KCrash Handler]
#6  0xb8010430 in __kernel_vsyscall ()
#7  0xb58b26d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb58b4098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5b5d595 in qt_message_output (msgType=QtFatalMsg, buf=0xb0b1790 "ASSERT: \"i >= 0 && i < size()\" in file /usr/include/qt4/QtCore/qbytearray.h, line 390") at global/qglobal.cpp:2006
#10 0xb5b5d681 in qFatal (msg=0xb5cac318 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2201
#11 0xb5b5d775 in qt_assert (assertion=0xb15ca8d5 "i >= 0 && i < size()", file=0xb15c9e38 "/usr/include/qt4/QtCore/qbytearray.h", line=390) at global/qglobal.cpp:1777
#12 0xb112d840 in KMMessagePart::fileName (this=0xb0b9524) at /usr/include/qt4/QtCore/qbytearray.h:390
#13 0xb12d1e3d in partNode::fillMimePartTree (this=0xb0b9510, parentItem=0xb056d00, mimePartTree=0x0, labelDescr=@0xbfc2a714, labelCntType=@0xbfc2a710, labelEncoding=@0xbfc2a70c, size=0, 
    revertOrder=false) at /build/buildd/kdepim-4.2.3/kmail/partNode.cpp:470
#14 0xb12d1331 in partNode::fillMimePartTree (this=0xaed9740, parentItem=0xb056d00, mimePartTree=0x0, labelDescr=@0xbfc2a7d8, labelCntType=@0xbfc2a7d4, labelEncoding=@0xbfc2a7d0, size=0, 
    revertOrder=<value optimized out>) at /build/buildd/kdepim-4.2.3/kmail/partNode.cpp:447
#15 0xb12d1a69 in partNode::fillMimePartTree (this=0xaf94a00, parentItem=0x0, mimePartTree=0xa6fd370, labelDescr=@0xbfc2aac0, labelCntType=@0xbfc2aaac, labelEncoding=@0xbfc2aab8, size=357, 
    revertOrder=<value optimized out>) at /build/buildd/kdepim-4.2.3/kmail/partNode.cpp:508
#16 0xb110fb1c in KMReaderWin::parseMsg (this=0xa6fcaa0, aMsg=0xaf4a2e8) at /build/buildd/kdepim-4.2.3/kmail/kmreaderwin.cpp:1610
#17 0xb10fbd08 in KMReaderWin::displayMessage (this=0xa6fcaa0) at /build/buildd/kdepim-4.2.3/kmail/kmreaderwin.cpp:1568
#18 0xb10fbf30 in KMReaderWin::updateReaderWin (this=0xa6fcaa0) at /build/buildd/kdepim-4.2.3/kmail/kmreaderwin.cpp:1508
#19 0xb10fc350 in KMReaderWin::update (this=0xa6fcaa0, observable=0x0) at /build/buildd/kdepim-4.2.3/kmail/kmreaderwin.cpp:932
#20 0xb1379fa4 in KMail::ISubject::notify (this=0xaf4a304) at /build/buildd/kdepim-4.2.3/kmail/isubject.cpp:29
#21 0xb0ff7bb6 in KMMessage::updateBodyPart (this=0xaf4a2e8, partSpecifier=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 22889}, alloc = 0, size = 0, data = 0x804e282, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 590}, alloc = 0, size = 0, data = 0xb5d4ea6e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xbfc2ad5c, static codecForCStrings = 0x0}, data=@0xb04b890) at /build/buildd/kdepim-4.2.3/kmail/kmmessage.cpp:4139
#22 0xb134cafd in KMail::ImapJob::slotGetMessageResult (this=0xafd84a0, job=0xa6ced40) at /build/buildd/kdepim-4.2.3/kmail/imapjob.cpp:435
#23 0xb1351454 in KMail::ImapJob::qt_metacall (this=0xafd84a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfc2ae6c) at /build/buildd/kdepim-4.2.3/obj-i486-linux-gnu/kmail/imapjob.moc:82
#24 0xb5c6fca8 in QMetaObject::activate (sender=0xa6ced40, from_signal_index=7, to_signal_index=7, argv=0xbfc2ae6c) at kernel/qobject.cpp:3069
#25 0xb5c70932 in QMetaObject::activate (sender=0xa6ced40, m=0xb5fe2f08, local_signal_index=3, argv=0xbfc2ae6c) at kernel/qobject.cpp:3143
#26 0xb5e93a83 in KJob::result (this=0xa6ced40, _t1=0xa6ced40) at /build/buildd/kde4libs-4.2.3/obj-i486-linux-gnu/kdecore/kjob.moc:188
#27 0xb5e93f29 in KJob::emitResult (this=0xa6ced40) at /build/buildd/kde4libs-4.2.3/kdecore/jobs/kjob.cpp:294
#28 0xb6fbeab5 in KIO::SimpleJob::slotFinished (this=0xa6ced40) at /build/buildd/kde4libs-4.2.3/kio/kio/job.cpp:489
#29 0xb6fbfd23 in KIO::TransferJob::slotFinished (this=0xa6ced40) at /build/buildd/kde4libs-4.2.3/kio/kio/job.cpp:966
#30 0xb6fc0e0b in KIO::TransferJob::qt_metacall (this=0xa6ced40, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfc2b0a8) at /build/buildd/kde4libs-4.2.3/obj-i486-linux-gnu/kio/jobclasses.moc:343
#31 0xb5c6fca8 in QMetaObject::activate (sender=0xad933f0, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3069
#32 0xb5c70932 in QMetaObject::activate (sender=0xad933f0, m=0xb7168e64, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3143
#33 0xb707d107 in KIO::SlaveInterface::finished (this=0xad933f0) at /build/buildd/kde4libs-4.2.3/obj-i486-linux-gnu/kio/slaveinterface.moc:165
#34 0xb7080e47 in KIO::SlaveInterface::dispatch (this=0xad933f0, _cmd=104, rawdata=@0xbfc2b274) at /build/buildd/kde4libs-4.2.3/kio/kio/slaveinterface.cpp:175
#35 0xb707d5e7 in KIO::SlaveInterface::dispatch (this=0xad933f0) at /build/buildd/kde4libs-4.2.3/kio/kio/slaveinterface.cpp:91
#36 0xb706d98d in KIO::Slave::gotInput (this=0xad933f0) at /build/buildd/kde4libs-4.2.3/kio/kio/slave.cpp:322
#37 0xb706fee3 in KIO::Slave::qt_metacall (this=0xad933f0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc2b388) at /build/buildd/kde4libs-4.2.3/obj-i486-linux-gnu/kio/slave.moc:76
#38 0xb5c6fca8 in QMetaObject::activate (sender=0xad8a678, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#39 0xb5c70932 in QMetaObject::activate (sender=0xad8a678, m=0xb7165940, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#40 0xb6f84ea7 in KIO::Connection::readyRead (this=0xad8a678) at /build/buildd/kde4libs-4.2.3/obj-i486-linux-gnu/kio/connection.moc:86
#41 0xb6f86813 in KIO::ConnectionPrivate::dequeue (this=0xad8a968) at /build/buildd/kde4libs-4.2.3/kio/kio/connection.cpp:82
#42 0xb6f86bf6 in KIO::Connection::qt_metacall (this=0xad8a678, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xa1908e8) at /build/buildd/kde4libs-4.2.3/obj-i486-linux-gnu/kio/connection.moc:73
#43 0xb5c688fb in QMetaCallEvent::placeMetaCall (this=0xaecb840, object=0xad8a678) at kernel/qobject.cpp:489
#44 0xb5c6a3a0 in QObject::event (this=0xad8a678, e=0xaecb840) at kernel/qobject.cpp:1118
#45 0xb612bf2c in QApplicationPrivate::notify_helper (this=0x9efb770, receiver=0xad8a678, e=0xaecb840) at kernel/qapplication.cpp:4084
#46 0xb613422e in QApplication::notify (this=0xbfc2bb48, receiver=0xad8a678, e=0xaecb840) at kernel/qapplication.cpp:3631
#47 0xb6d50e5d in KApplication::notify (this=0xbfc2bb48, receiver=0xad8a678, event=0xaecb840) at /build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:307
#48 0xb5c59a3b in QCoreApplication::notifyInternal (this=0xbfc2bb48, receiver=0xad8a678, event=0xaecb840) at kernel/qcoreapplication.cpp:602
#49 0xb5c5a695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ed4428) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#50 0xb5c5a88d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#51 0xb5c857ef in postEventSourceDispatch (s=0x9efd710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#52 0xb4d2cb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#53 0xb4d300eb in ?? () from /usr/lib/libglib-2.0.so.0
#54 0xb4d30268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#55 0xb5c85438 in QEventDispatcherGlib::processEvents (this=0x9ed9238, flags={i = -1077757416}) at kernel/qeventdispatcher_glib.cpp:323
#56 0xb61cd3f5 in QGuiEventDispatcherGlib::processEvents (this=0x9ed9238, flags={i = -1077757368}) at kernel/qguieventdispatcher_glib.cpp:202
#57 0xb5c5806a in QEventLoop::processEvents (this=0xbfc2bac0, flags={i = -1077757304}) at kernel/qeventloop.cpp:149
#58 0xb5c584aa in QEventLoop::exec (this=0xbfc2bac0, flags={i = -1077757240}) at kernel/qeventloop.cpp:200
#59 0xb5c5a959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#60 0xb612bda7 in QApplication::exec () at kernel/qapplication.cpp:3553
#61 0x0804c072 in main (argc=1, argv=0xbfc2be44) at /build/buildd/kdepim-4.2.3/kontact/src/main.cpp:218
Comment 1 Christophe Marin 2009-07-06 21:26:54 UTC
Maybe a dup of bug 186502.
Comment 2 Christophe Marin 2009-08-23 18:19:01 UTC

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