Bug 222666

Summary: Kontact crashes at clicking a mail in mail-list-window
Product: [Applications] kontact Reporter: Kay Simon <kaysimon>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 4.4 rc1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kay Simon 2010-01-14 10:26:29 UTC
Application: kontact (4.4 rc1)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
When click on a mail in the mail-list, which is HTML-formatted, Kontact crashes every time. Kontact crashes not at every HTML-Mail, only a special one.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  QAbstractItemView::d_func (this=0x2f2) at itemviews/qabstractitemview.h:353
#7  QAbstractItemView::model (this=0x2f2) at itemviews/qabstractitemview.cpp:669
#8  0x0454a842 in QTreeWidgetItem::insertChild (this=0x9c27ca0, index=2, child=0x9531da8) at itemviews/qtreewidget.cpp:1897
#9  0x0454ad1d in QTreeWidgetItem::addChild (this=0x9c27ca0, child=0x9531da8) at itemviews/qtreewidget.cpp:1882
#10 0x0454b160 in QTreeWidgetItem (this=0x9531da8, parent=0x9c27ca0, type=0) at itemviews/qtreewidget.cpp:1428
#11 0xb4525cf4 in KMMimePartTreeItem (this=0x9531da8, parent=0x9c27ca0, node=0x9c57278, description=..., mimetype=..., encoding=..., size=0, revertOrder=false) at ../../kmail/kmmimeparttree.cpp:378
#12 0xb457027a in partNode::fillMimePartTree (this=0x9c57278, parentItem=0x9c27ca0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at ../../kmail/partNode.cpp:549
#13 0xb455d28d in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0xbf97b250, startNode=..., content=0x11bb3c0 "", cntDesc=0xb4857d62 "encapsulated message", append=<value optimized out>, 
    addToTextualContent=false) at ../../kmail/objecttreeparser.cpp:232
#14 0xb4561569 in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0xbf97b250, node=0x9a0d468) at ../../kmail/objecttreeparser.cpp:1582
#15 0xb456a81b in process (this=0x9b4d580, otp=0xbf97b250, node=0x9a0d468, result=...) at ../../kmail/bodypartformatter.cpp:116
#16 0xb455c8cb in KMail::ObjectTreeParser::parseObjectTree (this=0xbf97b250, node=0x9a0d468) at ../../kmail/objecttreeparser.cpp:318
#17 0xb455cc37 in KMail::ObjectTreeParser::stdChildHandling (this=0xbf97b46c, child=0x9b3bd68) at ../../kmail/objecttreeparser.cpp:1278
#18 0xb455d031 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbf97b46c, node=0x9b3bcc0) at ../../kmail/objecttreeparser.cpp:1291
#19 0xb456a7db in process (this=0x9ca8f88, otp=0xbf97b46c, node=0x9b3bcc0, result=...) at ../../kmail/bodypartformatter.cpp:118
#20 0xb455c8cb in KMail::ObjectTreeParser::parseObjectTree (this=0xbf97b46c, node=0x9b3bcc0) at ../../kmail/objecttreeparser.cpp:318
#21 0xb43bba21 in KMReaderWin::parseMsg (this=0x9571f70, aMsg=0x9b7c880) at ../../kmail/kmreaderwin.cpp:1611
#22 0xb43b09c3 in KMReaderWin::displayMessage (this=0x9571f70) at ../../kmail/kmreaderwin.cpp:1535
#23 0xb43b0bad in KMReaderWin::updateReaderWin (this=0x9571f70) at ../../kmail/kmreaderwin.cpp:1478
#24 0xb43b14b0 in KMReaderWin::update (this=0x9571f70, observable=0x9b7c8f0) at ../../kmail/kmreaderwin.cpp:903
#25 0xb460abc2 in KMail::ISubject::notify (this=0x9b7c8f0) at ../../kmail/isubject.cpp:33
#26 0xb42b87a2 in KMMessage::updateBodyPart (this=0x9b7c880, partSpecifier=..., data=...) at ../../kmail/kmmessage.cpp:3185
#27 0xb45df910 in KMail::ImapJob::slotGetMessageResult (this=0x9c404b8, job=0x9c47398) at ../../kmail/imapjob.cpp:435
#28 0xb45e186f in KMail::ImapJob::qt_metacall (this=0x9c404b8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf97ba68) at ./imapjob.moc:88
#29 0x010ab11a in QMetaObject::metacall (object=0x9c404b8, cl=20384513, idx=12, argv=0xbf97ba68) at kernel/qmetaobject.cpp:237
#30 0x010b989b in QMetaObject::activate (sender=0x9c47398, m=0xb7dc48, local_signal_index=3, argv=0xbf97ba68) at kernel/qobject.cpp:3294
#31 0x00a0c8c3 in KJob::result (this=0x9c47398, _t1=0x9c47398) at ./kjob.moc:194
#32 0x00a0cc28 in KJob::emitResult (this=0x9c47398) at ../../kdecore/jobs/kjob.cpp:312
#33 0x04e9d030 in KIO::SimpleJob::slotFinished (this=0x9c47398) at ../../kio/kio/job.cpp:475
#34 0x04e9d54a in KIO::TransferJob::slotFinished (this=0x9c47398) at ../../kio/kio/job.cpp:975
#35 0x04e9b583 in KIO::TransferJob::qt_metacall (this=0x9c47398, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbf97bcfc) at ./jobclasses.moc:367
#36 0x010ab11a in QMetaObject::metacall (object=0x9c47398, cl=20384513, idx=47, argv=0xbf97bcfc) at kernel/qmetaobject.cpp:237
#37 0x010b989b in QMetaObject::activate (sender=0x98f5d78, m=0x504af44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3294
#38 0x04f66977 in KIO::SlaveInterface::finished (this=0x98f5d78) at ./slaveinterface.moc:171
#39 0x04f69c9d in KIO::SlaveInterface::dispatch (this=0x98f5d78, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#40 0x04f66e33 in KIO::SlaveInterface::dispatch (this=0x98f5d78) at ../../kio/kio/slaveinterface.cpp:91
#41 0x04f5a1d8 in KIO::Slave::gotInput (this=0x98f5d78) at ../../kio/kio/slave.cpp:324
#42 0x04f5a3e3 in KIO::Slave::qt_metacall (this=0x98f5d78, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf97c00c) at ./slave.moc:82
#43 0x010ab11a in QMetaObject::metacall (object=0x98f5d78, cl=20384513, idx=30, argv=0xbf97c00c) at kernel/qmetaobject.cpp:237
#44 0x010b989b in QMetaObject::activate (sender=0x98f62c0, m=0x5047820, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3294
#45 0x04e65ec7 in KIO::Connection::readyRead (this=0x98f62c0) at ./connection.moc:92
#46 0x04e6826e in KIO::ConnectionPrivate::dequeue (this=0x98f54c8) at ../../kio/kio/connection.cpp:82
#47 0x04e6839e in KIO::Connection::qt_metacall (this=0x98f62c0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x9c2da00) at ./connection.moc:79
#48 0x010ab11a in QMetaObject::metacall (object=0x98f62c0, cl=20384513, idx=5, argv=0x9c2da00) at kernel/qmetaobject.cpp:237
#49 0x010b5856 in QMetaCallEvent::placeMetaCall (this=0x9c32d68, object=0x98f62c0) at kernel/qobject.cpp:574
#50 0x010b68ae in QObject::event (this=0x98f62c0, e=0x9c32d68) at kernel/qobject.cpp:1260
#51 0x03f2a19c in QApplicationPrivate::notify_helper (this=0x90603d0, receiver=0x98f62c0, e=0x9c32d68) at kernel/qapplication.cpp:4242
#52 0x03f30df7 in QApplication::notify (this=0xbf97c8f4, receiver=0x98f62c0, e=0x9c32d68) at kernel/qapplication.cpp:3661
#53 0x0049867a in KApplication::notify (this=0xbf97c8f4, receiver=0x98f62c0, event=0x9c32d68) at ../../kdeui/kernel/kapplication.cpp:302
#54 0x010a5eab in QCoreApplication::notifyInternal (this=0xbf97c8f4, receiver=0x98f62c0, event=0x9c32d68) at kernel/qcoreapplication.cpp:704
#55 0x010a88e3 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x903de20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x903de20) at kernel/qcoreapplication.cpp:1345
#57 0x010a8a4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#58 0x010d20df in QCoreApplication::sendPostedEvents (s=0x9063380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#59 postEventSourceDispatch (s=0x9063380) at kernel/qeventdispatcher_glib.cpp:276
#60 0x05c28e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#61 0x05c2c730 in ?? () from /lib/libglib-2.0.so.0
#62 0x05c2c863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#63 0x010d1bd5 in QEventDispatcherGlib::processEvents (this=0x90610e8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#64 0x03fe7b75 in QGuiEventDispatcherGlib::processEvents (this=0x90610e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#65 0x010a44c9 in QEventLoop::processEvents (this=0xbf97c854, flags=) at kernel/qeventloop.cpp:149
#66 0x010a491a in QEventLoop::exec (this=0xbf97c854, flags=...) at kernel/qeventloop.cpp:201
#67 0x010a8b0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#68 0x03f2a237 in QApplication::exec () at kernel/qapplication.cpp:3570
#69 0x0804b4b6 in main (argc=1, argv=0xbf97cb14) at ../../../kontact/src/main.cpp:221

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-15 01:13:17 UTC
This is being tracked at bug 186502. Thanks

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