[Bug 248465] New: Malformed email crashes kmail

Mikel Moore mikeljmoore at gmail.com
Fri Aug 20 07:04:22 BST 2010


https://bugs.kde.org/show_bug.cgi?id=248465

           Summary: Malformed email crashes kmail
           Product: kontact
           Version: 4.4.5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: mikeljmoore at gmail.com


Application: kontact (4.4.5)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Received new mail in inbox. Selected inbox and kmail crashed when it tried to
open the bad html email. Restarting would pop open the window then crash.
Deleted the email file from the ~/.kde/share/apps/kmail/mail/inbox/cur and
kmail restarted fine.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#7  0x02f03087 in KHTMLPart::findFrameParent (this=0x0, callingPart=0x0, f=...,
childFrame=0xbfabd70c) at ../../khtml/khtml_part.cpp:5185
#8  0x02f032a4 in KHTMLPart::findFrame (this=0x0, f=...) at
../../khtml/khtml_part.cpp:5215
#9  0x02ffc537 in DOM::HTMLFrameElementImpl::ensureUniqueName (this=0xa51bba0)
at ../../khtml/html/html_baseimpl.cpp:277
#10 0x02ffccfc in DOM::HTMLIFrameElementImpl::parseAttribute (this=0xa51bba0,
attr=0xa51ba24) at ../../khtml/html/html_baseimpl.cpp:748
#11 0x02fa26a4 in DOM::ElementImpl::setAttributeMap (this=0xa51bba8,
list=0xa51b8a8) at ../../khtml/xml/dom_elementimpl.cpp:586
#12 0x02fd8eb1 in khtml::KHTMLParser::parseToken (this=0xa4c6980, t=0xa4c518c)
at ../../khtml/html/htmlparser.cpp:278
#13 0x02fd9773 in khtml::HTMLTokenizer::processToken (this=0xa4c5178) at
../../khtml/html/htmltokenizer.cpp:2040
#14 0x02fe12ce in khtml::HTMLTokenizer::parseTag (this=0xa4c5178, src=...) at
../../khtml/html/htmltokenizer.cpp:1501
#15 0x02fe2cb1 in khtml::HTMLTokenizer::write (this=0xa4c5178, str=...,
appendData=false) at ../../khtml/html/htmltokenizer.cpp:1798
#16 0x02f85729 in DOM::DocumentImpl::write (this=0xa4d8318, text=...) at
../../khtml/xml/dom_docimpl.cpp:1688
#17 0x02f858eb in DOM::DocumentImpl::write (this=0xa4d8318, text=...) at
../../khtml/xml/dom_docimpl.cpp:1677
#18 0x031ffe6e in DOM::HTMLDocument::write (this=0xbfabdb90, text=...) at
../../khtml/dom/html_document.cpp:218
#19 0xb349d558 in ?? () from /usr/lib/libkmailprivate.so.4
#20 0xb32efbe4 in ?? () from /usr/lib/libkmailprivate.so.4
#21 0xb330c3fb in ?? () from /usr/lib/libkmailprivate.so.4
#22 0xb32ff5ab in ?? () from /usr/lib/libkmailprivate.so.4
#23 0xb3159089 in ?? () from /usr/lib/libkmailprivate.so.4
#24 0xb3149a63 in ?? () from /usr/lib/libkmailprivate.so.4
#25 0xb3149c4d in ?? () from /usr/lib/libkmailprivate.so.4
#26 0xb315ca04 in ?? () from /usr/lib/libkmailprivate.so.4
#27 0x05bcb6ca in QMetaObject::metacall (object=0xa13dc28,
cl=QMetaObject::InvokeMetaMethod, idx=33, argv=0xbfabe1fc) at
kernel/qmetaobject.cpp:237
#28 0x05bde455 in QMetaObject::activate (sender=0xa13dc80, m=0x5cf75a4,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#29 0x05c2fba7 in QTimer::timeout (this=0xa13dc80) at
.moc/release-shared/moc_qtimer.cpp:134
#30 0x05be3ffe in QTimer::timerEvent (this=0xa13dc80, e=0xbfabe730) at
kernel/qtimer.cpp:271
#31 0x05bd82c4 in QObject::event (this=0xa13dc80, e=0xbfabd76c) at
kernel/qobject.cpp:1183
#32 0x00f4d0cc in QApplicationPrivate::notify_helper (this=0x9b0c0a0,
receiver=0xa13dc80, e=0xbfabe730) at kernel/qapplication.cpp:4389
#33 0x00f5311e in QApplication::notify (this=0xbfabea94, receiver=0xa13dc80,
e=0xbfabe730) at kernel/qapplication.cpp:3791
#34 0x00c0282a in KApplication::notify (this=0xbfabea94, receiver=0xa13dc80,
event=0xbfabe730) at ../../kdeui/kernel/kapplication.cpp:310
#35 0x05bc596b in QCoreApplication::notifyInternal (this=0xbfabea94,
receiver=0xa13dc80, event=0xbfabe730) at kernel/qcoreapplication.cpp:732
#36 0x05bf76d6 in QCoreApplication::sendEvent (this=0x9b16434) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0x9b16434) at
kernel/qeventdispatcher_unix.cpp:602
#38 0x05bf44a4 in timerSourceDispatch (source=0x9b16400) at
kernel/qeventdispatcher_glib.cpp:184
#39 0x07e015e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x07e052d8 in ?? () from /lib/libglib-2.0.so.0
#41 0x07e054b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x05bf4195 in QEventDispatcherGlib::processEvents (this=0x9b0a3e8,
flags=...) at kernel/qeventdispatcher_glib.cpp:412
#43 0x0100e3b5 in QGuiEventDispatcherGlib::processEvents (this=0x9b0a3e8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x05bc4419 in QEventLoop::processEvents (this=0xbfabe9f4, flags=) at
kernel/qeventloop.cpp:149
#45 0x05bc489a in QEventLoop::exec (this=0xbfabe9f4, flags=...) at
kernel/qeventloop.cpp:201
#46 0x05bc8e4f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#47 0x00f4bef7 in QApplication::exec () at kernel/qapplication.cpp:3665
#48 0x0804b472 in _start ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list