Bug 223765 - Kontact crashes when trying to open email allegedly with eml attachment
Summary: Kontact crashes when trying to open email allegedly with eml attachment
Status: RESOLVED DUPLICATE of bug 186502
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4 rc1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 10:57 UTC by Nigel Cundy
Modified: 2010-02-28 19:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nigel Cundy 2010-01-22 10:57:09 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-18-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
I'm getting a strange segmentation fault when I try to open a particular email a friend is forwarding to me from someone else. Other emails are fine. I'm running the KDE 4.4 RC from kubuntu ppa

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  QMetaObject::cast (this=0x3f9c11c, obj=0xe8042444) at kernel/qmetaobject.cpp:266
#7  0x03c86854 in qobject_cast<QTreeModel*> (this=0xacf40c0, index=1962886673, child=0xac89110) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:451
#8  QTreeWidgetItem::insertChild (this=0xacf40c0, index=1962886673, child=0xac89110) at itemviews/qtreewidget.cpp:1897
#9  0x03c86d1d in QTreeWidgetItem::addChild (this=0xacf40c0, child=0xac89110) at itemviews/qtreewidget.cpp:1882
#10 0x03c87160 in QTreeWidgetItem (this=0xac89110, parent=0xacf40c0, type=0) at itemviews/qtreewidget.cpp:1428
#11 0xb4733cf4 in KMMimePartTreeItem (this=0xac89110, parent=0xacf40c0, node=0xa78e9f8, description=..., mimetype=..., encoding=..., size=0, revertOrder=false) at ../../kmail/kmmimeparttree.cpp:378
#12 0xb477e27a in partNode::fillMimePartTree (this=0xa78e9f8, parentItem=0xacf40c0, mimePartTree=0x0, labelDescr=..., labelCntType=..., labelEncoding=..., size=0, revertOrder=<value optimized out>)
    at ../../kmail/partNode.cpp:549
#13 0xb476b28d in KMail::ObjectTreeParser::insertAndParseNewChildNode (this=0xbfb0b2b0, startNode=..., content=0x11ba3c0 "", cntDesc=0xb4a65d62 "encapsulated message", append=<value optimized out>, 
    addToTextualContent=false) at ../../kmail/objecttreeparser.cpp:232
#14 0xb476f569 in KMail::ObjectTreeParser::processMessageRfc822Subtype (this=0xbfb0b2b0, node=0xaaf3fb0) at ../../kmail/objecttreeparser.cpp:1582
#15 0xb477881b in process (this=0xaae52c8, otp=0xbfb0b2b0, node=0xaaf3fb0, result=...) at ../../kmail/bodypartformatter.cpp:116
#16 0xb476a8cb in KMail::ObjectTreeParser::parseObjectTree (this=0xbfb0b2b0, node=0xaaf3fb0) at ../../kmail/objecttreeparser.cpp:318
#17 0xb476ac37 in KMail::ObjectTreeParser::stdChildHandling (this=0xbfb0b4cc, child=0xaae43c0) at ../../kmail/objecttreeparser.cpp:1278
#18 0xb476b031 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbfb0b4cc, node=0xaae4318) at ../../kmail/objecttreeparser.cpp:1291
#19 0xb47787db in process (this=0xa70e440, otp=0xbfb0b4cc, node=0xaae4318, result=...) at ../../kmail/bodypartformatter.cpp:118
#20 0xb476a8cb in KMail::ObjectTreeParser::parseObjectTree (this=0xbfb0b4cc, node=0xaae4318) at ../../kmail/objecttreeparser.cpp:318
#21 0xb45c9a21 in KMReaderWin::parseMsg (this=0xa24d370, aMsg=0xaab9dc8) at ../../kmail/kmreaderwin.cpp:1611
#22 0xb45be9c3 in KMReaderWin::displayMessage (this=0xa24d370) at ../../kmail/kmreaderwin.cpp:1535
#23 0xb45bebad in KMReaderWin::updateReaderWin (this=0xa24d370) at ../../kmail/kmreaderwin.cpp:1478
#24 0xb45bf4b0 in KMReaderWin::update (this=0xa24d370, observable=0xaab9e38) at ../../kmail/kmreaderwin.cpp:903
#25 0xb4818bc2 in KMail::ISubject::notify (this=0xaab9e38) at ../../kmail/isubject.cpp:33
#26 0xb44c67a2 in KMMessage::updateBodyPart (this=0xaab9dc8, partSpecifier=..., data=...) at ../../kmail/kmmessage.cpp:3185
#27 0xb47ed910 in KMail::ImapJob::slotGetMessageResult (this=0xab36840, job=0xac4ea18) at ../../kmail/imapjob.cpp:435
#28 0xb47ef86f in KMail::ImapJob::qt_metacall (this=0xab36840, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfb0bac8) at ./imapjob.moc:88
#29 0x010aa11a in QMetaObject::metacall (object=0xab36840, cl=22761473, idx=12, argv=0xbfb0bac8) at kernel/qmetaobject.cpp:237
#30 0x010b889b in QMetaObject::activate (sender=0xac4ea18, m=0xec8c48, local_signal_index=3, argv=0xbfb0bac8) at kernel/qobject.cpp:3294
#31 0x00d578c3 in KJob::result (this=0xac4ea18, _t1=0xac4ea18) at ./kjob.moc:194
#32 0x00d57c28 in KJob::emitResult (this=0xac4ea18) at ../../kdecore/jobs/kjob.cpp:312
#33 0x01284030 in KIO::SimpleJob::slotFinished (this=0xac4ea18) at ../../kio/kio/job.cpp:475
#34 0x0128454a in KIO::TransferJob::slotFinished (this=0xac4ea18) at ../../kio/kio/job.cpp:975
#35 0x01282583 in KIO::TransferJob::qt_metacall (this=0xac4ea18, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfb0bd5c) at ./jobclasses.moc:367
#36 0x010aa11a in QMetaObject::metacall (object=0xac4ea18, cl=22761473, idx=47, argv=0xbfb0bd5c) at kernel/qmetaobject.cpp:237
#37 0x010b889b in QMetaObject::activate (sender=0xa5dc628, m=0x1431f44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3294
#38 0x0134d977 in KIO::SlaveInterface::finished (this=0xa5dc628) at ./slaveinterface.moc:171
#39 0x01350c9d in KIO::SlaveInterface::dispatch (this=0xa5dc628, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#40 0x0134de33 in KIO::SlaveInterface::dispatch (this=0xa5dc628) at ../../kio/kio/slaveinterface.cpp:91
#41 0x013411d8 in KIO::Slave::gotInput (this=0xa5dc628) at ../../kio/kio/slave.cpp:324
#42 0x013413e3 in KIO::Slave::qt_metacall (this=0xa5dc628, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfb0c06c) at ./slave.moc:82
#43 0x010aa11a in QMetaObject::metacall (object=0xa5dc628, cl=22761473, idx=30, argv=0xbfb0c06c) at kernel/qmetaobject.cpp:237
#44 0x010b889b in QMetaObject::activate (sender=0xa5e6c80, m=0x142e820, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3294
#45 0x0124cec7 in KIO::Connection::readyRead (this=0xa5e6c80) at ./connection.moc:92
#46 0x0124f26e in KIO::ConnectionPrivate::dequeue (this=0xa5dc970) at ../../kio/kio/connection.cpp:82
#47 0x0124f39e in KIO::Connection::qt_metacall (this=0xa5e6c80, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xac93678) at ./connection.moc:79
#48 0x010aa11a in QMetaObject::metacall (object=0xa5e6c80, cl=22761473, idx=5, argv=0xac93678) at kernel/qmetaobject.cpp:237
#49 0x010b4856 in QMetaCallEvent::placeMetaCall (this=0xacdb690, object=0xa5e6c80) at kernel/qobject.cpp:574
#50 0x010b58ae in QObject::event (this=0xa5e6c80, e=0xacdb690) at kernel/qobject.cpp:1260
#51 0x0366619c in QApplicationPrivate::notify_helper (this=0x9c5fed8, receiver=0xa5e6c80, e=0xacdb690) at kernel/qapplication.cpp:4242
#52 0x0366cdf7 in QApplication::notify (this=0xbfb0c954, receiver=0xa5e6c80, e=0xacdb690) at kernel/qapplication.cpp:3661
#53 0x008c667a in KApplication::notify (this=0xbfb0c954, receiver=0xa5e6c80, event=0xacdb690) at ../../kdeui/kernel/kapplication.cpp:302
#54 0x010a4eab in QCoreApplication::notifyInternal (this=0xbfb0c954, receiver=0xa5e6c80, event=0xacdb690) at kernel/qcoreapplication.cpp:704
#55 0x010a78e3 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9c35e20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9c35e20) at kernel/qcoreapplication.cpp:1345
#57 0x010a7a4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#58 0x010d10df in QCoreApplication::sendPostedEvents (s=0x9c63720) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#59 postEventSourceDispatch (s=0x9c63720) at kernel/qeventdispatcher_glib.cpp:276
#60 0x02207e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#61 0x0220b730 in ?? () from /lib/libglib-2.0.so.0
#62 0x0220b863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#63 0x010d0bd5 in QEventDispatcherGlib::processEvents (this=0x9c5de88, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#64 0x03723b75 in QGuiEventDispatcherGlib::processEvents (this=0x9c5de88, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#65 0x010a34c9 in QEventLoop::processEvents (this=0xbfb0c8b4, flags=) at kernel/qeventloop.cpp:149
#66 0x010a391a in QEventLoop::exec (this=0xbfb0c8b4, flags=...) at kernel/qeventloop.cpp:201
#67 0x010a7b0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#68 0x03666237 in QApplication::exec () at kernel/qapplication.cpp:3570
#69 0x0804b4b6 in main (argc=1, argv=0xbfb0cb74) at ../../../kontact/src/main.cpp:221

Reported using DrKonqi
Comment 1 Nigel Cundy 2010-01-22 11:03:16 UTC
These are the attachments I see when using a different method to view the email. I can save them if needed; although for privacy reasons I don't want to unless I have to. 

Attachments: 	AVG certification (1 KB) 	[View] [Open] [Save As]
	Envelope Envelope 	
	Part.010 (1 KB) 	[View] [Open] [Save As]
	AVG certification (1 KB) 	[View] [Open] [Save As]
	Mime.822 (1636 KB) 	[Save As]
  GroupWise has prevented images on this page from displaying. Click here to display images. 

I'm told that  `Only the attachment file: "FW: 3 Things You May Want to Know.eml" is the message.'
Comment 2 Dario Andres 2010-01-22 13:59:01 UTC
This is probably related to bug 186502. - Are you using IMAP ?
Regards
Comment 3 Nigel Cundy 2010-01-22 14:16:17 UTC
Yes, this is an IMAP account.
Comment 4 Thomas McGuire 2010-02-28 19:30:06 UTC

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