Bug 263731 - Kmail crashes when trying to open a message
Summary: Kmail crashes when trying to open a message
Status: RESOLVED DUPLICATE of bug 248465
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 11:53 UTC by JcasBR
Modified: 2011-02-14 12:37 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 JcasBR 2011-01-20 11:53:29 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
This problem was observed after I update libdbus-1-3, dbus, dbus-x11

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb777a780 (LWP 2181))]

Thread 2 (Thread 0xb230ab70 (LWP 2192)):
#0  0x0509a6c4 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#1  0x0509e668 in ?? () from /lib/libglib-2.0.so.0
#2  0x0509e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x0070d59f in QEventDispatcherGlib::processEvents (this=0x9965da0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x006dd609 in QEventLoop::processEvents (this=0xb230a220, flags=) at kernel/qeventloop.cpp:149
#5  0x006dda8a in QEventLoop::exec (this=0xb230a220, flags=...) at kernel/qeventloop.cpp:201
#6  0x005d9b7e in QThread::exec (this=0x9439c20) at thread/qthread.cpp:490
#7  0x006bc35b in QInotifyFileSystemWatcherEngine::run (this=0x9439c20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x005dcdf9 in QThreadPrivate::start (arg=0x9439c20) at thread/qthread_unix.cpp:266
#9  0x00f2ecc9 in start_thread () from /lib/libpthread.so.0
#10 0x0660369e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb777a780 (LWP 2181)):
[KCrash Handler]
#7  0x08a22a27 in KHTMLPart::findFrameParent (this=0x0, callingPart=0x0, f=..., childFrame=0xbfe9896c) at ../../khtml/khtml_part.cpp:5185
#8  0x08a22c34 in KHTMLPart::findFrame (this=0x0, f=...) at ../../khtml/khtml_part.cpp:5215
#9  0x08b1b9c7 in DOM::HTMLFrameElementImpl::ensureUniqueName (this=0x99af9e0) at ../../khtml/html/html_baseimpl.cpp:277
#10 0x08b1c19c in DOM::HTMLIFrameElementImpl::parseAttribute (this=0x99af9e0, attr=0x99af790) at ../../khtml/html/html_baseimpl.cpp:748
#11 0x08ac0ca4 in DOM::ElementImpl::setAttributeMap (this=0x99af9e8, list=0x9854518) at ../../khtml/xml/dom_elementimpl.cpp:586
#12 0x08af7c01 in khtml::KHTMLParser::parseToken (this=0x995ee68, t=0x99b062c) at ../../khtml/html/htmlparser.cpp:278
#13 0x08af84c3 in khtml::HTMLTokenizer::processToken (this=0x99b0618) at ../../khtml/html/htmltokenizer.cpp:2040
#14 0x08afff66 in khtml::HTMLTokenizer::parseTag (this=0x99b0618, src=...) at ../../khtml/html/htmltokenizer.cpp:1501
#15 0x08b01b41 in khtml::HTMLTokenizer::write (this=0x99b0618, str=..., appendData=false) at ../../khtml/html/htmltokenizer.cpp:1798
#16 0x08aa3c09 in DOM::DocumentImpl::write (this=0x985dc88, text=...) at ../../khtml/xml/dom_docimpl.cpp:1688
#17 0x08aa3ddb in DOM::DocumentImpl::write (this=0x985dc88, text=...) at ../../khtml/xml/dom_docimpl.cpp:1677
#18 0x08d2264e in DOM::HTMLDocument::write (this=0xbfe98df0, text=...) at ../../khtml/dom/html_document.cpp:218
#19 0x0146eb18 in KMail::HTMLQuoteColorer::process (this=0xbfe98e50, htmlSource=...) at ../../kmail/htmlquotecolorer.cpp:37
#20 0x012ba0a4 in KMail::ObjectTreeParser::processTextHtmlSubtype (this=0xbfe990c0, curNode=0x992a730) at ../../kmail/objecttreeparser.cpp:1016
#21 0x012d723b in (anonymous namespace)::TextHtmlBodyPartFormatter::process (this=0x9966340, otp=0xbfe990c0, node=0x992a730, result=...) at ../../kmail/bodypartformatter.cpp:107
#22 0x012ca22b in KMail::ObjectTreeParser::parseObjectTree (this=0xbfe990c0, node=0x992a730) at ../../kmail/objecttreeparser.cpp:318
#23 0x0111c789 in KMReaderWin::parseMsg (this=0x957d148, aMsg=0x9854318) at ../../kmail/kmreaderwin.cpp:1612
#24 0x0110c973 in KMReaderWin::displayMessage (this=0x957d148) at ../../kmail/kmreaderwin.cpp:1536
#25 0x0110cb7d in KMReaderWin::updateReaderWin (this=0x957d148) at ../../kmail/kmreaderwin.cpp:1479
#26 0x011201c4 in KMReaderWin::qt_metacall (this=0x957d148, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe9945c) at ./kmreaderwin.moc:179
#27 0x006e48ca in QMetaObject::metacall (object=0x957d148, cl=QMetaObject::InvokeMetaMethod, idx=33, argv=0xbfe9945c) at kernel/qmetaobject.cpp:237
#28 0x006f76ad in QMetaObject::activate (sender=0x957d1a0, m=0x8115a4, local_signal_index=0, argv=0xbfe98928) at kernel/qobject.cpp:3280
#29 0x007491e7 in QTimer::timeout (this=0x957d1a0) at .moc/release-shared/moc_qtimer.cpp:134
#30 0x006fd1ce in QTimer::timerEvent (this=0x957d1a0, e=0xbfe99990) at kernel/qtimer.cpp:271
#31 0x006f1504 in QObject::event (this=0x957d1a0, e=0xbfe989cc) at kernel/qobject.cpp:1183
#32 0x02adcfdc in QApplicationPrivate::notify_helper (this=0x92acfc8, receiver=0x957d1a0, e=0xbfe99990) at kernel/qapplication.cpp:4396
#33 0x02ae304e in QApplication::notify (this=0xbfe99da0, receiver=0x957d1a0, e=0xbfe99990) at kernel/qapplication.cpp:3798
#34 0x00c2d68a in KApplication::notify (this=0xbfe99da0, receiver=0x957d1a0, event=0xbfe99990) at ../../kdeui/kernel/kapplication.cpp:310
#35 0x006deb3b in QCoreApplication::notifyInternal (this=0xbfe99da0, receiver=0x957d1a0, event=0xbfe99990) at kernel/qcoreapplication.cpp:732
#36 0x00710ad6 in sendEvent (this=0x92b0534) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0x92b0534) at kernel/qeventdispatcher_unix.cpp:602
#38 0x0070d874 in timerSourceDispatch (source=0x92b0500) at kernel/qeventdispatcher_glib.cpp:184
#39 0x0509a855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x0509e668 in ?? () from /lib/libglib-2.0.so.0
#41 0x0509e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x0070d565 in QEventDispatcherGlib::processEvents (this=0x9279a28, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#43 0x02b9ebe5 in QGuiEventDispatcherGlib::processEvents (this=0x9279a28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x006dd609 in QEventLoop::processEvents (this=0xbfe99c54, flags=) at kernel/qeventloop.cpp:149
#45 0x006dda8a in QEventLoop::exec (this=0xbfe99c54, flags=...) at kernel/qeventloop.cpp:201
#46 0x006e200f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#47 0x02adbe07 in QApplication::exec () at kernel/qapplication.cpp:3672
#48 0x0804a88e in main (argc=3, argv=0xbfe99f64) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 262769, bug 261339, bug 260344, bug 258674, bug 258391.

Reported using DrKonqi
Comment 1 Laurent Montel 2011-01-21 18:26:08 UTC
it should be fixed in kdelibs-4.5.5 could you update and test it please ?

Should be fixed in r1201412 and r1201413 (accidentally sent the commit to a
dupe and not this report):

SVN commit 1201412 by orlovich:

Don't crash when someone (e.g. kmail) passes in some html w/o a KHTMLPart that
contains a named iframe. It'd be best if HTMLQuoteColorer in kmail 4.4 were
changed to use the part just in case, though.
Comment 2 Christophe Marin 2011-02-14 12:37:24 UTC

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