Bug 218870

Summary: kmail crash when replying to Text + HTML email on IMAP
Product: [Applications] kontact Reporter: Reuben Budiardja <reubendb>
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 Reuben Budiardja 2009-12-16 03:15:22 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.3
Operating System: Linux 2.6.31.6-166.fc12.x86_64 x86_64

What I was doing when the application crashed:
Kmail / Kontact crash when I attempt to reply or forward a specific message. The crash is always reproducible. 

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
The current source language is "auto; currently asm".
[KCrash Handler]
#5  KMReaderWin::htmlMail (this=0x0) at /usr/src/debug/kdepim-4.3.3/kmail/kmreaderwin.cpp:2558
#6  0x00007f31ae58df3f in KMail::ObjectTreeParser::processMultiPartAlternativeSubtype (this=0x7fff2f4c9120, node=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/objecttreeparser.cpp:1182
#7  0x00007f31ae58da26 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fff2f4c9120, node=0x46d8510) at /usr/src/debug/kdepim-4.3.3/kmail/objecttreeparser.cpp:296
#8  0x00007f31ae327a44 in KMMessage::parseTextStringFromDwPart (this=<value optimized out>, root=0x46d8510, parsedString=<value optimized out>, codec=@0x7fff2f4c9338, isHTML=@0x7fff2f4c934f)
    at /usr/src/debug/kdepim-4.3.3/kmail/kmmessage.cpp:502
#9  0x00007f31ae327e8c in KMMessage::asPlainText (this=0x2bb7020, aStripSignature=true, allowDecryption=true) at /usr/src/debug/kdepim-4.3.3/kmail/kmmessage.cpp:527
#10 0x00007f31ae32a310 in KMMessage::asQuotedString (this=0x2bb7020, aIndentStr=..., selection=<value optimized out>, aStripSignature=<value optimized out>, allowDecryption=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.3/kmail/kmmessage.cpp:603
#11 0x00007f31ae6cee54 in KMail::TemplateParser::processWithTemplate (this=<value optimized out>, tmpl=...) at /usr/src/debug/kdepim-4.3.3/kmail/templateparser.cpp:310
#12 0x00007f31ae6cbe6d in KMail::TemplateParser::process (this=0x3, aorig_msg=<value optimized out>, afolder=<value optimized out>, append=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.3/kmail/templateparser.cpp:194
#13 0x00007f31ae33294f in KMMessage::createReply (this=0x2bb7020, replyStrategy=<value optimized out>, selection=<value optimized out>, noQuote=<value optimized out>, 
    allowDecryption=<value optimized out>, selectionIsBody=<value optimized out>, tmpl=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/kmmessage.cpp:824
#14 0x00007f31ae5abc50 in KMReplyToCommand::execute (this=0x4679a90) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:1106
#15 0x00007f31ae5a466a in KMCommand::slotPostTransfer (this=0x4679a90, result=OK) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:275
#16 0x00007f31ae5ae7c3 in KMCommand::qt_metacall (this=0x4679a90, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2f4cb710)
    at /usr/src/debug/kdepim-4.3.3/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:87
#17 0x000000381035408c in QMetaObject::activate (sender=0x4679a90, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fff2f4cb710) at kernel/qobject.cpp:3112
#18 0x00007f31ae5a17ee in KMCommand::messagesTransfered (this=<value optimized out>, _t1=OK) at /usr/src/debug/kdepim-4.3.3/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:102
#19 0x00007f31ae5ae63e in KMCommand::slotJobFinished (this=0x4679a90) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:421
#20 0x00007f31ae5ae70c in KMCommand::qt_metacall (this=0x4679a90, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2f4cb860)
    at /usr/src/debug/kdepim-4.3.3/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:89
#21 0x000000381035408c in QMetaObject::activate (sender=0x46ad8c0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3112
#22 0x00007f31ae5fc369 in KMail::FolderJob::~FolderJob (this=0x46ad8c0, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/folderjob.cpp:96
#23 0x00007f31ae60a167 in KMail::ImapJob::~ImapJob (this=0x46ad8c0, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/imapjob.cpp:288
#24 0x000000381034e425 in QObject::event (this=0x46ad8c0, e=0x46d11c0) at kernel/qobject.cpp:1093
#25 0x0000003811f8f65c in QApplicationPrivate::notify_helper (this=0x1f0a360, receiver=0x46ad8c0, e=0x46d11c0) at kernel/qapplication.cpp:4065
#26 0x0000003811f968ce in QApplication::notify (this=<value optimized out>, receiver=0x46ad8c0, e=0x46d11c0) at kernel/qapplication.cpp:4030
#27 0x0000003813811a76 in KApplication::notify (this=0x7fff2f4cc2a0, receiver=0x46ad8c0, event=0x46d11c0) at /usr/src/debug/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#28 0x000000381033ee6c in QCoreApplication::notifyInternal (this=0x7fff2f4cc2a0, receiver=0x46ad8c0, event=0x46d11c0) at kernel/qcoreapplication.cpp:610
#29 0x000000381033fa42 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#30 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#31 0x0000003810367573 in sendPostedEvents () at kernel/qcoreapplication.h:218
#32 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#33 0x00007f31bdca722e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#34 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#35 0x00007f31bdcaac18 in g_main_context_iterate (context=0x1f16920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#36 0x00007f31bdcaad3a in IA__g_main_context_iteration (context=0x1f16920, may_block=1) at gmain.c:2654
#37 0x00000038103671e6 in QEventDispatcherGlib::processEvents (this=0x1ee2b70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#38 0x0000003812021ffe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x000000381033d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x000000381033db44 in QEventLoop::exec (this=0x7fff2f4cc1e0, flags=...) at kernel/qeventloop.cpp:201
#41 0x000000381033fcd9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0x0000000000403d17 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/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-12-17 00:55:30 UTC
Fixed in KDE SC 4.3.4 and 4.4. Thanks

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