Summary: | Kmail crashes when opening HTML mail | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Ctibor Brančík <ctibor.brancik> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | jmaldrich, montel, smartins |
Priority: | NOR | ||
Version: | 4.8 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ctibor Brančík
2011-10-23 12:40:20 UTC
could you send me in private a mail which crash. Can't reproduce it. Thanks For the moment I don't know why it crashs for you. I can't reproduce your crash with your email. Laurent, you use Qt 4.8 already ? *** Bug 287980 has been marked as a duplicate of this bug. *** Confirmed by duplicate. The duplicate one useses 4.8 beta 1 This is a crash in the JavaScript part of QWebKit and not in any KDE code. I propose to close this as UPSTREAM and potentially create a new issue in the webkit tracker. I am having this issue as well, but only if KMail2 has been open for awhile. If it crashes and I kill all remaining KMail-related processes and start again, it's fine. I would love to see this resolved! Is there any work-around, such as changing what app is used to render the HTML messages? please attach valgrind output I can't reproduce the bug myself anymore. I think it can be closed. This just happened to me (again) in Fedora 17.(KMAIL/KDE 4.8.3) updated from Fedora 16. It does not happen as often as it used to, but it still happens. FWIW, this is a 64-bit installation. Not sure if it makes any difference, but I can see that it might. I think I can reliably reproduce that with emails marked as spam by spamassassin. Once marked, spamassassin adds some text before the html message. Clicking on the "clicking here" link to enable html produces this: #28 0x00007f5715d9d922 in QWebFrame::evaluateJavaScript(QString const&) () from /usr/lib64/libQtWebKit.so.4 #29 0x00007f571b13dfad in MessageViewer::HTMLQuoteColorer::process (this=0x7ffff3a80a60, htmlSource= "<HTML>\n<HEAD>\n<META http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">\n<style>\n\t\t\tA:active {COLOR: #006699}\n\t\t\tA:link {COLOR: #006699}\n\t\t\tA:visited {COLOR: #006699}\n\t\t\t.tdlien {font-"..., extraHead="") at /kde/src/pim/kdepim/messageviewer/htmlquotecolorer.cpp:133 #30 0x00007f571b161606 in MessageViewer::ObjectTreeParser::processTextHtmlSubtype (this=0x7ffff3a80d80, curNode=0x4d73560) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:1220 #31 0x00007f571b10bc81 in (anonymous namespace)::TextHtmlBodyPartFormatter::process (this=0x479e8f0, otp=0x7ffff3a80d80, node=0x4d73560, result=...) at /kde/src/pim/kdepim/messageviewer/bodypartformatter.cpp:112 #32 0x00007f571b15b7f4 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0x7ffff3a80d80, node=0x4d73560) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:353 #33 0x00007f571b1631f6 in MessageViewer::ObjectTreeParser::stdChildHandling (this=0x7ffff3a810c0, child=0x4d73560) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:1453 #34 0x00007f571b1634b1 in MessageViewer::ObjectTreeParser::processMultiPartMixedSubtype (this=0x7ffff3a810c0, node=0x4dc64f0) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:1486 ---Type <return> to continue, or q <return> to quit--- #35 0x00007f571b10bfa1 in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process (this=0x330d280, otp=0x7ffff3a810c0, node=0x4dc64f0, result= ...) at /kde/src/pim/kdepim/messageviewer/bodypartformatter.cpp:122 #36 0x00007f571b15b7f4 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0x7ffff3a810c0, node=0x4dc64f0) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:353 #37 0x00007f571b164e58 in MessageViewer::ObjectTreeParser::processMessageRfc822Subtype (this=0x7ffff3a813d0, node=0x4ba4d30) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:1790 #38 0x00007f571b10bf01 in (anonymous namespace)::MessageRfc822BodyPartFormatter::process (this=0x341c6a0, otp=0x7ffff3a813d0, node=0x4ba4d30, result=...) at /kde/src/pim/kdepim/messageviewer/bodypartformatter.cpp:120 #39 0x00007f571b15b7f4 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0x7ffff3a813d0, node=0x4ba4d30) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:353 #40 0x00007f571b1631f6 in MessageViewer::ObjectTreeParser::stdChildHandling (this=0x7ffff3a816b0, child=0x4db1e80) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:1453 #41 0x00007f571b1634b1 in MessageViewer::ObjectTreeParser::processMultiPartMixedSubtype (this=0x7ffff3a816b0, node=0x4a65d90) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:1486 #42 0x00007f571b10bfa1 in (anonymous namespace)::MultiPartMixedBodyPartFormatter::process (this=0x330d280, otp=0x7ffff3a816b0, node=0x4a65d90, result= ...) at /kde/src/pim/kdepim/messageviewer/bodypartformatter.cpp:122 #43 0x00007f571b15b7f4 in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=0x7ffff3a816b0, node=0x4a65d90) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:353 #44 0x00007f571b15b07b in MessageViewer::ObjectTreeParser::parseObjectTree (this=0x7ffff3a816b0, node=0x4a65d90) at /kde/src/pim/kdepim/messageviewer/objecttreeparser.cpp:266 #45 0x00007f571b19b77d in MessageViewer::ViewerPrivate::parseContent (this=0x295f300, content=0x4a65d90) at /kde/src/pim/kdepim/messageviewer/viewer_p.cpp:1009 #46 0x00007f571b19a9b0 in MessageViewer::ViewerPrivate::displayMessage (this=0x295f300) at /kde/src/pim/kdepim/messageviewer/viewer_p.cpp:881 #47 0x00007f571b1a5f92 in MessageViewer::ViewerPrivate::updateReaderWin (this=0x295f300) at /kde/src/pim/kdepim/messageviewer/viewer_p.cpp:2266 ---Type <return> to continue, or q <return> to quit--- #48 0x00007f571b1a502d in MessageViewer::ViewerPrivate::update (this=0x295f300, updateMode=MessageViewer::Viewer::Force) at /kde/src/pim/kdepim/messageviewer/viewer_p.cpp:2072 #49 0x00007f571b18374b in (anonymous namespace)::KMailProtocolURLHandler::handleClick (this=0x334e8b0, url=..., w=0x295f300) at /kde/src/pim/kdepim/messageviewer/urlhandlermanager.cpp:445 #50 0x00007f571b18323c in MessageViewer::URLHandlerManager::handleClick (this=0x283d430, url=..., w=0x295f300) at /kde/src/pim/kdepim/messageviewer/urlhandlermanager.cpp:373 #51 0x00007f571b1a50e8 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x295f300, url="kmail:showHTML" = {...}) at /kde/src/pim/kdepim/messageviewer/viewer_p.cpp:2090 #52 0x00007f571b1ac7ab in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x295f300, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x4bd36c0) at /kde/build/pim/kdepim/messageviewer/viewer_p.moc:230 I need an example. Could you send me in private email which crash (after tagged with spamassassin) ? (saved as mbox) I can't reproduce crash with your mail. Which qt version ? which kdepim version ? master with Qt 4.8.4 qtwebkit from qt ? or qtwebkit-2.3 for example ? this is upstream 2.3. Now that you mention it, the issue doesn't look related to kmail: kmail2(6124)/kdewebkit KWebPage::acceptNavigationRequest: url: QUrl( "file:///" ) , type: 5 , frame: QWebFrame(0x17bb020) kmail2(6124)/kdewebkit KWebPage::acceptNavigationRequest: url: QUrl( "kmail:showHTML" ) , type: 0 , frame: QWebFrame(0x17bb020) (kmail:6124): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() (kmail:6124): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (kmail:6124): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() (kmail:6124): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (kmail:6124): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() (kmail:6124): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (kmail:6124): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() (kmail:6124): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (kmail:6124): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed (kmail:6124): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed (kmail:6124): GStreamer-CRITICAL **: gst_allocator_register: assertion `allocator != NULL' failed (kmail:6124): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed (kmail:6124): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() (kmail:6124): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (kmail:6124): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>' (kmail:6124): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (kmail:6124): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() (kmail:6124): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (kmail:6124): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (kmail:6124): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() (kmail:6124): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed *** KMail got signal 11 (Exiting) trying to export QT_NO_GLIB=1 before starting KMail didn't help (yet) Ok so bug about qtwebkit2.3 Quoting Laurent Montel <montel@kde.org>: > https://bugs.kde.org/show_bug.cgi?id=284777 > > --- Comment #12 from Laurent Montel <montel@kde.org> --- > I need an example. > Could you send me in private email which crash (after tagged with > spamassassin) > ? (saved as mbox) > > -- > You are receiving this mail because: > You are on the CC list for the bug. > Unfortunately, due to a bug that appears to be in LibAkonadi, I can't open KMail right now. :( (See Bug 317293) This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input. |