Bug 226956

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

Description Kay Simon 2010-02-15 11:04:01 UTC
Application: kontact (4.4)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-19-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
By clicking on a mail in mail-list, KMail/Kontact crashes every time.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7814980 (LWP 17471))]

Thread 2 (Thread 0xb394bb70 (LWP 17499)):
#0  0x00b69270 in __i686.get_pc_thunk.bx () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x00b6e119 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0048ca86 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libc.so.6
#3  0x0244daa7 in g_main_context_query () from /lib/libglib-2.0.so.0
#4  0x0245239c in ?? () from /lib/libglib-2.0.so.0
#5  0x02452863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0x0742d91f in QEventDispatcherGlib::processEvents (this=0x9661b90, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0x07400319 in QEventLoop::processEvents (this=0xb394b240, flags=) at kernel/qeventloop.cpp:149
#8  0x0740076a in QEventLoop::exec (this=0xb394b240, flags=...) at kernel/qeventloop.cpp:201
#9  0x072fc5a8 in QThread::exec (this=0x9b2a458) at thread/qthread.cpp:487
#10 0x073dffbb in QInotifyFileSystemWatcherEngine::run (this=0x9b2a458) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x072ff32e in QThreadPrivate::start (arg=0x9b2a458) at thread/qthread_unix.cpp:248
#12 0x00b6a80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0x0047f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7814980 (LWP 17471)):
[KCrash Handler]
#6  QAbstractItemView::d_func (this=0x5) at itemviews/qabstractitemview.h:353
#7  QAbstractItemView::model (this=0x5) at itemviews/qabstractitemview.cpp:684
#8  0x06afbc82 in QTreeWidgetItem::insertChild (this=0xa12d718, index=1, child=0x9e18758) at itemviews/qtreewidget.cpp:1897
#9  0x06afc15d in QTreeWidgetItem::addChild (this=0xa12d718, child=0x9e18758) at itemviews/qtreewidget.cpp:1882
#10 0x06afc5a0 in QTreeWidgetItem (this=0x9e18758, parent=0xa12d718, type=0) at itemviews/qtreewidget.cpp:1428
#11 0xb45792d4 in KMMimePartTreeItem (this=0x9e18758, parent=0xa12d718, node=0xa1a9288, description=..., mimetype=..., encoding=..., size=0, revertOrder=false) at ../../kmail/kmmimeparttree.cpp:378
#12 0xb45c38ba in partNode::fillMimePartTree (this=0xa1a9288, parentItem=0xa12d718, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at ../../kmail/partNode.cpp:549
#13 0xb45b08cd in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0xbff3ce00, startNode=..., content=0x75173bc "", cntDesc=0xb48abce2 "encapsulated message", append=<value optimized out>, 
    addToTextualContent=false) at ../../kmail/objecttreeparser.cpp:232
#14 0xb45b4ba9 in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0xbff3ce00, node=0xa011da8) at ../../kmail/objecttreeparser.cpp:1582
#15 0xb45bde5b in process (this=0xa7767f8, otp=0xbff3ce00, node=0xa011da8, result=...) at ../../kmail/bodypartformatter.cpp:116
#16 0xb45aff0b in KMail::ObjectTreeParser::parseObjectTree (this=0xbff3ce00, node=0xa011da8) at ../../kmail/objecttreeparser.cpp:318
#17 0xb45b0277 in KMail::ObjectTreeParser::stdChildHandling (this=0xbff3d01c, child=0xa011bc8) at ../../kmail/objecttreeparser.cpp:1278
#18 0xb45b0671 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbff3d01c, node=0xa011b28) at ../../kmail/objecttreeparser.cpp:1291
#19 0xb45bde1b in process (this=0xa13a628, otp=0xbff3d01c, node=0xa011b28, result=...) at ../../kmail/bodypartformatter.cpp:118
#20 0xb45aff0b in KMail::ObjectTreeParser::parseObjectTree (this=0xbff3d01c, node=0xa011b28) at ../../kmail/objecttreeparser.cpp:318
#21 0xb440ede1 in KMReaderWin::parseMsg (this=0x97f3098, aMsg=0xa10abe0) at ../../kmail/kmreaderwin.cpp:1611
#22 0xb4403d83 in KMReaderWin::displayMessage (this=0x97f3098) at ../../kmail/kmreaderwin.cpp:1535
#23 0xb4403f6d in KMReaderWin::updateReaderWin (this=0x97f3098) at ../../kmail/kmreaderwin.cpp:1478
#24 0xb4404870 in KMReaderWin::update (this=0x97f3098, observable=0xa10ac50) at ../../kmail/kmreaderwin.cpp:903
#25 0xb465e252 in KMail::ISubject::notify (this=0xa10ac50) at ../../kmail/isubject.cpp:33
#26 0xb430b852 in KMMessage::updateBodyPart (this=0xa10abe0, partSpecifier=..., data=...) at ../../kmail/kmmessage.cpp:3185
#27 0xb4632f90 in KMail::ImapJob::slotGetMessageResult (this=0xa12e940, job=0x99c7200) at ../../kmail/imapjob.cpp:435
#28 0xb4634eef in KMail::ImapJob::qt_metacall (this=0xa12e940, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbff3d618) at ./imapjob.moc:88
#29 0x07406f6a in QMetaObject::metacall (object=0xa12e940, cl=5198593, idx=12, argv=0xbff3d618) at kernel/qmetaobject.cpp:237
#30 0x07415705 in QMetaObject::activate (sender=0x99c7200, m=0x10c2c48, local_signal_index=3, argv=0xbff3d618) at kernel/qobject.cpp:3275
#31 0x00f4fd03 in KJob::result (this=0x99c7200, _t1=0x99c7200) at ./kjob.moc:194
#32 0x00f50068 in KJob::emitResult (this=0x99c7200) at ../../kdecore/jobs/kjob.cpp:312
#33 0x02fc42a0 in KIO::SimpleJob::slotFinished (this=0x99c7200) at ../../kio/kio/job.cpp:486
#34 0x02fc47cd in KIO::TransferJob::slotFinished (this=0x99c7200) at ../../kio/kio/job.cpp:1058
#35 0x02fc2953 in KIO::TransferJob::qt_metacall (this=0x99c7200, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbff3d8ac) at ./jobclasses.moc:367
#36 0x07406f6a in QMetaObject::metacall (object=0x99c7200, cl=5198593, idx=47, argv=0xbff3d8ac) at kernel/qmetaobject.cpp:237
#37 0x07415705 in QMetaObject::activate (sender=0xa416ea8, m=0x3172f44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3275
#38 0x0308e7f7 in KIO::SlaveInterface::finished (this=0xa416ea8) at ./slaveinterface.moc:171
#39 0x03091b1d in KIO::SlaveInterface::dispatch (this=0xa416ea8, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#40 0x0308ecb3 in KIO::SlaveInterface::dispatch (this=0xa416ea8) at ../../kio/kio/slaveinterface.cpp:91
#41 0x03082058 in KIO::Slave::gotInput (this=0xa416ea8) at ../../kio/kio/slave.cpp:324
#42 0x03082263 in KIO::Slave::qt_metacall (this=0xa416ea8, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbff3dbbc) at ./slave.moc:82
#43 0x07406f6a in QMetaObject::metacall (object=0xa416ea8, cl=5198593, idx=30, argv=0xbff3dbbc) at kernel/qmetaobject.cpp:237
#44 0x07415705 in QMetaObject::activate (sender=0xa110ba0, m=0x316f820, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3275
#45 0x02f8ccb7 in KIO::Connection::readyRead (this=0xa110ba0) at ./connection.moc:92
#46 0x02f8f05e in KIO::ConnectionPrivate::dequeue (this=0xa6822d8) at ../../kio/kio/connection.cpp:82
#47 0x02f8f18e in KIO::Connection::qt_metacall (this=0xa110ba0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xa110ec8) at ./connection.moc:79
#48 0x07406f6a in QMetaObject::metacall (object=0xa110ba0, cl=5198593, idx=5, argv=0xa110ec8) at kernel/qmetaobject.cpp:237
#49 0x07411626 in QMetaCallEvent::placeMetaCall (this=0xa1dc498, object=0xa110ba0) at kernel/qobject.cpp:561
#50 0x0741274e in QObject::event (this=0xa110ba0, e=0xa1dc498) at kernel/qobject.cpp:1248
#51 0x064d727c in QApplicationPrivate::notify_helper (this=0x9311860, receiver=0xa110ba0, e=0xa1dc498) at kernel/qapplication.cpp:4298
#52 0x064ddede in QApplication::notify (this=0xbff3e514, receiver=0xa110ba0, e=0xa1dc498) at kernel/qapplication.cpp:3702
#53 0x008fd1fa in KApplication::notify (this=0xbff3e514, receiver=0xa110ba0, event=0xa1dc498) at ../../kdeui/kernel/kapplication.cpp:302
#54 0x07401cfb in QCoreApplication::notifyInternal (this=0xbff3e514, receiver=0xa110ba0, event=0xa1dc498) at kernel/qcoreapplication.cpp:704
#55 0x07404733 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x92f2558) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x92f2558) at kernel/qcoreapplication.cpp:1345
#57 0x0740489d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#58 0x0742ddef in QCoreApplication::sendPostedEvents (s=0x9314590) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#59 postEventSourceDispatch (s=0x9314590) at kernel/qeventdispatcher_glib.cpp:276
#60 0x0244ee88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#61 0x02452730 in ?? () from /lib/libglib-2.0.so.0
#62 0x02452863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#63 0x0742d8e5 in QEventDispatcherGlib::processEvents (this=0x92f20e8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#64 0x06596485 in QGuiEventDispatcherGlib::processEvents (this=0x92f20e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x07400319 in QEventLoop::processEvents (this=0xbff3e474, flags=) at kernel/qeventloop.cpp:149
#66 0x0740076a in QEventLoop::exec (this=0xbff3e474, flags=...) at kernel/qeventloop.cpp:201
#67 0x0740495f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#68 0x064d7317 in QApplication::exec () at kernel/qapplication.cpp:3577
#69 0x0804b4c2 in main (argc=1, argv=0xbff3e734) at ../../../kontact/src/main.cpp:224

Possible duplicates by query: bug 222666.

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-15 15:15:15 UTC
Merging with bug 224414. Thanks

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