Bug 162259 - Kmail crashes when answering a message
Summary: Kmail crashes when answering a message
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.50
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-18 15:02 UTC by Christophe Marin
Modified: 2008-05-18 17:29 UTC (History)
0 users

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 Christophe Marin 2008-05-18 15:02:29 UTC
Version:           1.9.50 (using 4.00.74 (KDE 4.0.74 >= 20080515, compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.3-mokona

Kdepim rev. 809149

The issue appeared a few days ago (maybe yesterday, not sure).

When answering an email, kmail crashes

Console output (I just changed the email address) :

kmail(10488)/kdepimlibs (kabc) KABC::StdAddressBook::self:                                                                                                                                       
kmail(10488) KMail::FancyHeaderStyle::format: Multiple / No addressees matched email address; Count is 0                                                                                         
kmail(10488) KMail::ObjectTreeParser::parseObjectTree: node OK,  showOnlyOneMimePart:  FALSE                                                                                                     
kmail(10488) KMReaderWin::parseMsg: Finished parsing and displaying of message.                                                                                                                  
kmail(10488)/kdepimlibs (kpimutils) KPIMUtils::extractEmailAddress: Input: aStr                                                                                                                  
Error: "You have to enter something in the email address field."                                                                                                                                 
kmail(10488)/kdepimlibs (kpimutils) KPIMUtils::extractEmailAddress: Input: aStr                                                                                                                  
Error: "You have to enter something in the email address field."                                                                                                                                 
kmail(10488)/kdepimlibs (kpimutils) KPIMUtils::extractEmailAddress: Input: aStr                                                                                                                  
Error: "You have to enter something in the email address field."                                                                                                                                 
kmail(10488) KMMessage::stripMyAddressesFromAddressList: Check whether "[sender] <email@domain.tld>" is one of my addresses                                                                       
kmail(10488) KMail::TemplateParser::findTemplate: Folder found: KMFolder(0x8238a00)
kmail(10488)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 0xbfaefb44 )
kmail(10488) KMail::TemplateParser::findTemplate: Identity found: 1926410045
kmail(10488)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 0xbfaefb44 )
kmail(10488) KMail::TemplateParser::processWithTemplate: Command: REM=
kmail(10488) KMail::TemplateParser::processWithTemplate: Command: -
kmail(10488) KMail::TemplateParser::processWithTemplate: Command: ODATEEN
kmail(10488) KMail::TemplateParser::processWithTemplate: Command: OTIMELONGEN
kmail(10488) KMail::TemplateParser::processWithTemplate: Command: QUOTE
kmail(10488) partNode::dump: "" + "Text" / "HTML"
kmail(10488) KMail::ObjectTreeParser::parseObjectTree: node OK,  showOnlyOneMimePart:  TRUE
*** KMail got signal 11 (Crashing)

Trace :
Application: KMail (kmail), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb478b720 (LWP 10488)]
[KCrash handler]
#6  KMReaderWin::htmlMail (this=0x0)
    at /media/kde/src/KDE/kdepim/kmail/kmreaderwin.cpp:2398
#7  0xb7d4e129 in KMail::ObjectTreeParser::processTextHtmlSubtype (
    this=0xbfaef154, curNode=0x91248b0)
    at /media/kde/src/KDE/kdepim/kmail/objecttreeparser.cpp:807
#8  0xb7d5cb2b in process (this=0x80b3038, otp=0xbfaef154, node=0x91248b0, 
    result=@0xbfaef0d8)
    at /media/kde/src/KDE/kdepim/kmail/bodypartformatter.cpp:107
#9  0xb7d50350 in KMail::ObjectTreeParser::parseObjectTree (this=0xbfaef154, 
    node=0x91248b0)
    at /media/kde/src/KDE/kdepim/kmail/objecttreeparser.cpp:288
#10 0xb7b1dd75 in KMMessage::parseTextStringFromDwPart (this=0x8faf6d8, 
    root=0x91248b0, parsedString=@0xbfaef254, codec=@0xbfaef250, 
    isHTML=@0xbfaef25b) at /media/kde/src/KDE/kdepim/kmail/kmmessage.cpp:728
#11 0xb7b1dfc0 in KMMessage::asPlainText (this=0x8faf6d8, 
    aStripSignature=true, allowDecryption=true)
    at /media/kde/src/KDE/kdepim/kmail/kmmessage.cpp:754
#12 0xb7b1ec41 in KMMessage::asQuotedString (this=0x8faf6d8, 
    aHeaderStr=@0xbfaefbb4, aIndentStr=@0xbfaefdc8, selection=@0xbfaefdc0, 
    aStripSignature=<value optimized out>, 
    allowDecryption=<value optimized out>)
    at /media/kde/src/KDE/kdepim/kmail/kmmessage.cpp:831
#13 0xb7e6921a in KMail::TemplateParser::processWithTemplate (
    this=0xbfaefda4, tmpl=@0xbfaefca8)
    at /media/kde/src/KDE/kdepim/kmail/templateparser.cpp:300
#14 0xb7e66b6d in KMail::TemplateParser::process (this=0xbfaefda4, 
    aorig_msg=0x8faf6d8, afolder=0x0, append=false)
    at /media/kde/src/KDE/kdepim/kmail/templateparser.cpp:184
#15 0xb7b238f7 in KMMessage::createReply (this=0x8faf6d8, 
    replyStrategy=KMail::ReplySmart, selection=@0x90c9ac8, noQuote=false, 
    allowDecryption=<value optimized out>, 
    selectionIsBody=<value optimized out>, tmpl=@0xbfaeffb4)
    at /media/kde/src/KDE/kdepim/kmail/kmmessage.cpp:1065
#16 0xb7d725d6 in KMReplyToCommand::execute (this=0x90c9aa0)
    at /media/kde/src/KDE/kdepim/kmail/kmcommands.cpp:1107
#17 0xb7d7c32d in KMCommand::slotPostTransfer (this=0x90c9aa0, 
    result=KMCommand::OK)
    at /media/kde/src/KDE/kdepim/kmail/kmcommands.cpp:272
#18 0xb7d7c7dc in KMCommand::qt_metacall (this=0x90c9aa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfaf014c)
    at /media/kde/build/KDE/kdepim/kmail/kmcommands.moc:86
#19 0xb7d7d222 in KMReplyToCommand::qt_metacall (this=0x90c9aa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfaf014c)
    at /media/kde/build/KDE/kdepim/kmail/kmcommands.moc:822
#20 0xb62cb4df in QMetaObject::activate (sender=0x90c9aa0, 
    from_signal_index=4, to_signal_index=4, argv=0xbfaf014c)
    at kernel/qobject.cpp:3007
#21 0xb62cb961 in QMetaObject::activate (sender=0x90c9aa0, m=0xb80c2c34, 
    local_signal_index=0, argv=0xbfaf014c) at kernel/qobject.cpp:3080
#22 0xb7d64953 in KMCommand::messagesTransfered (this=0x90c9aa0, 
    _t1=KMCommand::OK) at /media/kde/build/KDE/kdepim/kmail/kmcommands.moc:100
#23 0xb7d7c23c in KMCommand::transferSelectedMsgs (this=0x90c9aa0)
    at /media/kde/src/KDE/kdepim/kmail/kmcommands.cpp:366
#24 0xb7d7c62f in KMCommand::slotStart (this=0x90c9aa0)
    at /media/kde/src/KDE/kdepim/kmail/kmcommands.cpp:264
#25 0xb7d7c7bb in KMCommand::qt_metacall (this=0x90c9aa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfaf0364)
    at /media/kde/build/KDE/kdepim/kmail/kmcommands.moc:85
#26 0xb7d7d222 in KMReplyToCommand::qt_metacall (this=0x90c9aa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfaf0364)
    at /media/kde/build/KDE/kdepim/kmail/kmcommands.moc:822
#27 0xb62cb4df in QMetaObject::activate (sender=0x90d0c40, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3007
#28 0xb62cb961 in QMetaObject::activate (sender=0x90d0c40, m=0xb6365a68, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#29 0xb62d54ed in QSingleShotTimer::timeout (this=0x90d0c40)
    at .moc/debug-shared/qtimer.moc:74
#30 0xb62d560a in QSingleShotTimer::timerEvent (this=0x90d0c40)
    at kernel/qtimer.cpp:300
#31 0xb62c9776 in QObject::event (this=0x90d0c40, e=0xbfaf0924)
    at kernel/qobject.cpp:1105
#32 0xb539d4d9 in QApplicationPrivate::notify_helper (this=0x8062c70, 
    receiver=0x90d0c40, e=0xbfaf0924) at kernel/qapplication.cpp:3772
#33 0xb539d7f2 in QApplication::notify (this=0xbfaf0c38, receiver=0x90d0c40, 
    e=0xbfaf0924) at kernel/qapplication.cpp:3366
#34 0xb687aaa1 in KApplication::notify (this=0xbfaf0c38, receiver=0x90d0c40, 
    event=0xbfaf0924)
    at /media/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#35 0xb62b6826 in QCoreApplication::notifyInternal (this=0xbfaf0c38, 
    receiver=0x90d0c40, event=0xbfaf0924) at kernel/qcoreapplication.cpp:583
#36 0xb7588b9e in QCoreApplication::sendEvent (receiver=0x90d0c40, 
    event=0xbfaef154) at /opt/qt4/include/QtCore/qcoreapplication.h:215
#37 0xb62e90ed in QTimerInfoList::activateTimers (this=0x80685fc)
    at kernel/qeventdispatcher_unix.cpp:563
#38 0xb62e68d4 in timerSourceDispatch (source=0x80685c8)
    at kernel/qeventdispatcher_glib.cpp:166
#39 0xb4b8f978 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb4b92bce in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x08067c40 in ?? ()
#42 0x00000000 in ?? ()
#0  0xb80d5424 in __kernel_vsyscall ()
Comment 1 Christophe Marin 2008-05-18 15:35:40 UTC
Note: It appears only html messages are affected.
Comment 2 Thomas McGuire 2008-05-18 17:29:36 UTC
SVN commit 809234 by tmcguire:

Don't crash when replying to HTML mail.
BUG: 162259


 M  +6 -5      objecttreeparser.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=809234