SUMMARY With Qt 5.12, kmail crashes every time when closing a standalone message window. STEPS TO REPRODUCE 1. Double click a message to open it in a separate window 2. Close the window OBSERVED RESULT Crash EXPECTED RESULT Doesn't crash SOFTWARE VERSIONS KDE Plasma Version: 5.14.3 KDE Frameworks Version: 5.51 Qt Version: 5.12.0 beta 3 ADDITIONAL INFORMATION Thread 1 (Thread 0x7f592be93b00 (LWP 30150)): [KCrash Handler] #6 0x00007f593c5db35d in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #7 0x00007f593c5d8ff6 in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #8 0x00007f593c5e4edb in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #9 0x00007f593c5e5101 in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #10 0x00007f593c5e4954 in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #11 0x00007f593c3dcee5 in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #12 0x00007f593c41c911 in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #13 0x00007f593c41d3e1 in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #14 0x00007f593c42e730 in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #15 0x00007f593c3e0ffb in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #16 0x00007f593c3db61b in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #17 0x00007f593c700ba2 in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #18 0x00007f593c700ea1 in ?? () from /usr/lib/libQt5WebEngineCore.so.5 #19 0x00007f593ad84ebc in QtWebEngineCore::WebContentsAdapter::~WebContentsAdapter() () from /usr/lib/libQt5WebEngineCore.so.5 #20 0x00007f59414ac564 in ?? () from /usr/lib/libQt5WebEngineWidgets.so.5 #21 0x00007f59414ac5f9 in ?? () from /usr/lib/libQt5WebEngineWidgets.so.5 #22 0x00007f59414a8085 in QWebEnginePage::~QWebEnginePage() () from /usr/lib/libQt5WebEngineWidgets.so.5 #23 0x00007f594517ab5a in MessageViewer::MailWebEnginePage::~MailWebEnginePage (this=0x5650b05ddf20, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-18.08.2/messageviewer/src/viewer/webengine/mailwebenginepage.cpp:38 #24 0x00007f594632521b in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5 #25 0x00007f5946cfe10f in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5 #26 0x00007f59451791fa in MessageViewer::MailWebEngineView::~MailWebEngineView (this=0x5650b064c8a0, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-18.08.2/messageviewer/src/viewer/webengine/mailwebengineview.cpp:121 #27 0x00007f5945121026 in MessageViewer::ViewerPrivate::~ViewerPrivate (this=0x7f59140a2d10, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-18.08.2/messageviewer/src/viewer/viewer_p.cpp:298 #28 0x00007f5945121229 in MessageViewer::ViewerPrivate::~ViewerPrivate (this=0x7f59140a2d10, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-18.08.2/messageviewer/src/viewer/viewer_p.cpp:293 #29 0x00007f594632521b in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5 #30 0x00007f5946cfe10f in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5 #31 0x00007f5945114b0a in MessageViewer::Viewer::~Viewer (this=0x5650b0589300, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-18.08.2/messageviewer/src/viewer/viewer.cpp:84 #32 0x00007f594632521b in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5 #33 0x00007f5946cfe10f in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5 #34 0x00007f59474402aa in KMReaderWin::~KMReaderWin() () from /usr/lib/libkmailprivate.so.5 #35 0x00007f594632521b in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5 #36 0x00007f5946cfe10f in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5 #37 0x00007f5945c27245 in KMainWindow::~KMainWindow() () from /usr/lib/libKF5XmlGui.so.5 #38 0x00007f5947471aef in KMReaderMainWin::~KMReaderMainWin() () from /usr/lib/libkmailprivate.so.5 #39 0x00007f5947471b5a in KMReaderMainWin::~KMReaderMainWin() () from /usr/lib/libkmailprivate.so.5 #40 0x00007f5946327bd1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #41 0x00007f5946d02e8c in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #42 0x00007f5946e0f3d5 in QMainWindow::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #43 0x00007f5945c2976c in KMainWindow::event(QEvent*) () from /usr/lib/libKF5XmlGui.so.5 #44 0x00007f5945c73f96 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libKF5XmlGui.so.5 #45 0x00007f5946cc1e34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #46 0x00007f5946cc9671 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #47 0x00007f59462fc969 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #48 0x00007f59462ffa08 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #49 0x00007f5946353014 in ?? () from /usr/lib/libQt5Core.so.5 #50 0x00007f5942aee3cf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #51 0x00007f5942aeff89 in ?? () from /usr/lib/libglib-2.0.so.0 #52 0x00007f5942aeffce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #53 0x00007f59463525e9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #54 0x00007f59462fb5fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #55 0x00007f5946303906 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #56 0x00005650aa678f60 in ?? () #57 0x00007f5945d53223 in __libc_start_main () from /usr/lib/libc.so.6 #58 0x00005650aa67911e in _start ()
It's fixed in 18.12 beta
Me (and others) are hitting this bug with 18.12.3 and Qt 5.12.3, so reopening. (Updating version/platform/importance)
Added upstream bug.
Sorry, wrong bugzilla.
(In reply to Erik Quaeghebeur from comment #2) > Me (and others) are hitting this bug with 18.12.3 and Qt 5.12.3, so > reopening. (Updating version/platform/importance) According to https://bugs.gentoo.org/686842 this should be fixed already, no?
(In reply to Wolfgang Bauer from comment #5) > According to https://bugs.gentoo.org/686842 this should be fixed already, no? It should be fixed downstream yes, but that doesn't mean it wouldn't be a good idea to also fix it here.
It is fixed upstream, but 18.12 will not get any more releases.
(In reply to Erik Quaeghebeur from comment #6) > (In reply to Wolfgang Bauer from comment #5) > > According to https://bugs.gentoo.org/686842 this should be fixed already, no? > It should be fixed downstream yes, but that doesn't mean it wouldn't be a > good idea to also fix it here. According to https://bugs.gentoo.org/686842 it has been fixed downstream by backporting https://phabricator.kde.org/D19559, which already is included in 19.04.
*** Bug 403359 has been marked as a duplicate of this bug. ***