Bug 215946

Summary: Attempting to send an email reply to an email with pdf attachments
Product: [Applications] kontact Reporter: Chris Williams <chris.williams>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Williams 2009-11-24 11:07:37 UTC
Application that crashed: kontact
Version of the application: 4.3.3
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Kmail crashed with a segmentation fault while attempting to send a reply.
The email to which I was replying contained pdf attachements which appeared to be corrupt.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  KMReaderWin::htmlMail (this=0x0) at ../../kmail/kmreaderwin.cpp:2558
#7  0xb47ac4b8 in KMail::ObjectTreeParser::processMultiPartAlternativeSubtype (this=0xbfbeef94, node=0x95424b0) at ../../kmail/objecttreeparser.cpp:1182
#8  0xb47ba69b in process (this=0x85e53d8, otp=0xbfbeef94, node=0x95424b0, result=...) at ../../kmail/bodypartformatter.cpp:119
#9  0xb47abf38 in KMail::ObjectTreeParser::parseObjectTree (this=0xbfbeef94, node=0x95424b0) at ../../kmail/objecttreeparser.cpp:296
#10 0xb47ac167 in KMail::ObjectTreeParser::stdChildHandling (this=0xbfbef140, child=0x95424b0) at ../../kmail/objecttreeparser.cpp:1146
#11 0xb47ac521 in KMail::ObjectTreeParser::processMultiPartMixedSubtype (this=0xbfbef140, node=0x9542428) at ../../kmail/objecttreeparser.cpp:1159
#12 0xb47ba75b in process (this=0x93a4e70, otp=0xbfbef140, node=0x9542428, result=...) at ../../kmail/bodypartformatter.cpp:118
#13 0xb47abf38 in KMail::ObjectTreeParser::parseObjectTree (this=0xbfbef140, node=0x9542428) at ../../kmail/objecttreeparser.cpp:296
#14 0xb4501395 in KMMessage::parseTextStringFromDwPart (this=0x97c76b8, root=0x9542428, parsedString=..., codec=@0xbfbef244, isHTML=@0xbfbef24f) at ../../kmail/kmmessage.cpp:502
#15 0xb45017a4 in KMMessage::asPlainText (this=0x97c76b8, aStripSignature=true, allowDecryption=true) at ../../kmail/kmmessage.cpp:527
#16 0xb4503e85 in KMMessage::asQuotedString (this=0x97c76b8, aIndentStr=..., selection=..., aStripSignature=148, allowDecryption=false) at ../../kmail/kmmessage.cpp:603
#17 0xb490a711 in KMail::TemplateParser::processWithTemplate (this=0xbfbefc60, tmpl=...) at ../../kmail/templateparser.cpp:310
#18 0xb490757d in KMail::TemplateParser::process (this=0xbfbefc60, aorig_msg=0x97c76b8, afolder=0x0, append=false) at ../../kmail/templateparser.cpp:194
#19 0xb450cbcd in KMMessage::createReply (this=0x97c76b8, replyStrategy=KMail::ReplySmart, selection=..., noQuote=false, allowDecryption=<value optimized out>, selectionIsBody=<value optimized out>, 
    tmpl=...) at ../../kmail/kmmessage.cpp:824
#20 0xb47cd65d in KMReplyToCommand::execute (this=0x8718958) at ../../kmail/kmcommands.cpp:1105
#21 0xb47c5ce2 in KMCommand::slotPostTransfer (this=0x8718958, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:274
#22 0xb47d029f in KMCommand::qt_metacall (this=0x8718958, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfbefff8) at ./kmcommands.moc:87
#23 0xb47d0922 in KMReplyToCommand::qt_metacall (this=0x8718958, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfbefff8) at ./kmcommands.moc:844
#24 0x007a6263 in QMetaObject::activate (sender=0x8718958, from_signal_index=4, to_signal_index=4, argv=0xbfbefff8) at kernel/qobject.cpp:3113
#25 0x007a6ec2 in QMetaObject::activate (sender=0x8718958, m=0xb4bfe634, local_signal_index=0, argv=0xbfbefff8) at kernel/qobject.cpp:3187
#26 0xb47c1d13 in KMCommand::messagesTransfered (this=0x8718958, _t1=KMCommand::OK) at ./kmcommands.moc:102
#27 0xb47df296 in KMCommand::transferSelectedMsgs (this=0x8718958) at ../../kmail/kmcommands.cpp:368
#28 0xb47df4e2 in KMCommand::slotStart (this=0x8718958) at ../../kmail/kmcommands.cpp:266
#29 0xb47d027b in KMCommand::qt_metacall (this=0x8718958, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfbf01dc) at ./kmcommands.moc:86
#30 0xb47d0922 in KMReplyToCommand::qt_metacall (this=0x8718958, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfbf01dc) at ./kmcommands.moc:844
#31 0x007a6263 in QMetaObject::activate (sender=0x96d6690, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#32 0x007a6ec2 in QMetaObject::activate (sender=0x96d6690, m=0x880908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#33 0x007ab387 in QSingleShotTimer::timeout (this=0x96d6690) at .moc/release-shared/qtimer.moc:76
#34 0x007ab49c in QSingleShotTimer::timerEvent (this=0x96d6690) at kernel/qtimer.cpp:298
#35 0x007a03bf in QObject::event (this=0x96d6690, e=0xbfbf0670) at kernel/qobject.cpp:1075
#36 0x03be8f54 in QApplicationPrivate::notify_helper (this=0x8500968, receiver=0x96d6690, e=0xbfbf0670) at kernel/qapplication.cpp:4056
#37 0x03bf067c in QApplication::notify (this=0xbfbf09d4, receiver=0x96d6690, e=0xbfbf0670) at kernel/qapplication.cpp:3603
#38 0x00f2d14a in KApplication::notify (this=0xbfbf09d4, receiver=0x96d6690, event=0xbfbf0670) at ../../kdeui/kernel/kapplication.cpp:302
#39 0x007906cb in QCoreApplication::notifyInternal (this=0xbfbf09d4, receiver=0x96d6690, event=0xbfbf0670) at kernel/qcoreapplication.cpp:610
#40 0x007bd7ce in QCoreApplication::sendEvent (this=0x84f5884) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#41 QTimerInfoList::activateTimers (this=0x84f5884) at kernel/qeventdispatcher_unix.cpp:572
#42 0x007bb0e0 in timerSourceDispatch (source=0x84f5850) at kernel/qeventdispatcher_glib.cpp:165
#43 0x01a85e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x01a89720 in ?? () from /lib/libglib-2.0.so.0
#45 0x01a89853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x007bb02c in QEventDispatcherGlib::processEvents (this=0x84d49f8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#47 0x03c89be5 in QGuiEventDispatcherGlib::processEvents (this=0x84d49f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#48 0x0078ec79 in QEventLoop::processEvents (this=0xbfbf0934, flags=) at kernel/qeventloop.cpp:149
#49 0x0078f0ca in QEventLoop::exec (this=0xbfbf0934, flags=...) at kernel/qeventloop.cpp:201
#50 0x0079153f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#51 0x03be8dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#52 0x0804b4e6 in main (argc=1, argv=0xbfbf0bf4) at ../../../kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 215292

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-25 14:16:50 UTC
Fixed in KDE SC 4.4 and 4.3.4. Thanks

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