Version: (using KDE 4.2.0) Installed from: Ubuntu Packages kmail crashes when selecting a mail from my inbox. Application: Kontact (kontact), signal SIGABRT Thread 1 (Thread 0xb4b776c0 (LWP 9086)): [KCrash Handler] #6 0xb804d430 in __kernel_vsyscall () #7 0xb5a18880 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb5a1a248 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb5a5c423 in ?? () from /lib/tls/i686/cmov/libc.so.6 #10 0xb5a5e3f5 in free () from /lib/tls/i686/cmov/libc.so.6 #11 0xb7ca4ddc in ~CSSParser (this=0xbf94c2b8) at /build/buildd/kde4libs-4.2.0/khtml/css/cssparser.cpp:135 #12 0xb7c8d084 in DOM::CSSStyleSheetImpl::parseString (this=0x86b0128, string=@0xbf94c3a4, strict=<value optimized out>) at /build/buildd/kde4libs-4.2.0/khtml/css/css_stylesheetimpl.cpp:287 #13 0xb7bc4497 in DOM::HTMLStyleElementImpl::childrenChanged (this=0x8f87e68) at /build/buildd/kde4libs-4.2.0/khtml/html/html_headimpl.cpp:648 #14 0xb7b6efc7 in DOM::NodeBaseImpl::addChild (this=0x8f87e68, newChild=0x8ff7fc0) at /build/buildd/kde4libs-4.2.0/khtml/xml/dom_nodeimpl.cpp:1709 #15 0xb7bae6a7 in khtml::KHTMLParser::insertNode (this=0x8c16af0, n=0x8ff7fc0, flat=true) at /build/buildd/kde4libs-4.2.0/khtml/html/htmlparser.cpp:415 #16 0xb7bb1376 in khtml::KHTMLParser::parseToken (this=0x8c16af0, t=0x8fed2dc) at /build/buildd/kde4libs-4.2.0/khtml/html/htmlparser.cpp:303 #17 0xb7bb1c9c in khtml::HTMLTokenizer::processToken (this=0x8fed2c8) at /build/buildd/kde4libs-4.2.0/khtml/html/htmltokenizer.cpp:2053 #18 0xb7bb92ce in khtml::HTMLTokenizer::parseSpecial (this=0x8fed2c8, src=@0x8fed7c8) at /build/buildd/kde4libs-4.2.0/khtml/html/htmltokenizer.cpp:370 #19 0xb7bbb261 in khtml::HTMLTokenizer::parseTag (this=0x8fed2c8, src=@0x8fed7c8) at /build/buildd/kde4libs-4.2.0/khtml/html/htmltokenizer.cpp:1558 #20 0xb7bbc8fe in khtml::HTMLTokenizer::write (this=0x8fed2c8, str=@0xbf94c7fc, appendData=true) at /build/buildd/kde4libs-4.2.0/khtml/html/htmltokenizer.cpp:1807 #21 0xb7af559c in KHTMLPart::write (this=0x8abf5f0, str=@0x8c9a144) at /build/buildd/kde4libs-4.2.0/khtml/khtml_part.cpp:2095 #22 0xb1706886 in KMail::KHtmlPartHtmlWriter::slotWriteNextHtmlChunk (this=0x8ba74c8) at /build/buildd/kdepim-4.2.0/kmail/khtmlparthtmlwriter.cpp:127 #23 0xb17069ad in KMail::KHtmlPartHtmlWriter::qt_metacall (this=0x8ba74c8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf94c928) at /build/buildd/kdepim-4.2.0/obj-i486-linux-gnu/kmail/khtmlparthtmlwriter.moc:72 #24 0xb5dcaa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #25 0xb5dcb7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #26 0xb5e057a7 in QTimer::timeout () from /usr/lib/libQtCore.so.4 #27 0xb5dd140e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4 #28 0xb5dc553f in QObject::event () from /usr/lib/libQtCore.so.4 #29 0xb62678ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #30 0xb626f72e in QApplication::notify () from /usr/lib/libQtGui.so.4 #31 0xb6d80fed in KApplication::notify (this=0xbf94d068, receiver=0x8ba74dc, event=0xbf94cdbc) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307 #32 0xb5db5e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #33 0xb5de3d81 in ?? () from /usr/lib/libQtCore.so.4 #34 0xb5de0520 in ?? () from /usr/lib/libQtCore.so.4 #35 0xb508e6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #36 0xb5091da3 in ?? () from /usr/lib/libglib-2.0.so.0 #37 0xb5091f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #38 0xb5de0478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #39 0xb6301ea5 in ?? () from /usr/lib/libQtGui.so.4 #40 0xb5db452a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #41 0xb5db46ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #42 0xb5db6da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #43 0xb6267767 in QApplication::exec () from /usr/lib/libQtGui.so.4 #44 0x0804c072 in main (argc=1, argv=0xbf94d364) at /build/buildd/kdepim-4.2.0/kontact/src/main.cpp:218
Created attachment 31077 [details] the crash mail attached the mail that causes the crash
Thanks for the bug report! I can confirm this KHTML crash in Kubuntu's 4.2.0 (open the test case below with Konqueror to reproduce). Today's trunk works fine for me, but I don't know if the fix is also in the 4.2 branch. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <style type="text/css"> .footer { { font-family: liberation sans; { font-family: liberation sans; { font-family: liberation sans; } </style> <title>Test Case for bug 183544</title> </head> <body> </body> </html>
*** This bug has been marked as a duplicate of bug 167318 ***