Bug 381031

Summary: Kmail crashes when shutting down, delaying the shutdown process
Product: [Applications] kmail2 Reporter: Freek <freek>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 5.5.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of last message before shutdown
Backtrace from developer information tab

Description Freek 2017-06-09 21:06:26 UTC
Note: Version is 5.5.2 but this is not an option in this bug tracking system.

Kmail crashes just before shutdown. Since Kmail is usually in my notification area as an icon, I never shut it down before a system shutdown. When I do a system shutdown a Kmail error pops up saying Kmail crashed.

Expected behaviour: Kmail exits nicely when shutting down my laptop.
Comment 1 Freek 2017-06-09 21:10:29 UTC
Created attachment 106015 [details]
Screenshot of last message before shutdown
Comment 2 Christoph Feck 2017-06-12 00:14:38 UTC
If this is reproducible, could you add the backtrace from the "Developer Information" tab?
Comment 3 Freek 2017-06-13 04:46:10 UTC
Created attachment 106069 [details]
Backtrace from developer information tab

It is reproducible on every shutdown. I have attached the information.

Highest regards,

Freek
Comment 4 Christoph Feck 2017-06-19 21:58:46 UTC
According to bug 378315, this is a crash that appears in Qt >= 5.8.0, but not in Qt == 5.7.1. Which Qt version are you using?

Backtrace from comment 3:

Thread 1 (Thread 0x7fd0b7c07900 (LWP 4927)):
[KCrash Handler]
#5  0x00007fd0b63f48ff in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#6  0x00007fd0b63f4d09 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#7  0x00007fd0b56bce90 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#8  0x00007fd0b63f9473 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007fd0b63b846c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007fd0b63bfcf4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007fd0b568db98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007fd0b569002d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#13 0x00007fd0a69281fd in ?? () from /usr/lib/libQt5Quick.so.5
#14 0x00007fd0a6928530 in QQuickRenderControl::~QQuickRenderControl() () from /usr/lib/libQt5Quick.so.5
#15 0x00007fd0a6ee55d3 in ?? () from /usr/lib/libQt5QuickWidgets.so.5
#16 0x00007fd0a6ee3f5b in ?? () from /usr/lib/libQt5QuickWidgets.so.5
#17 0x00007fd0a6ee3fd9 in ?? () from /usr/lib/libQt5QuickWidgets.so.5
#18 0x00007fd0b56c3a13 in QObject::~QObject() () from /usr/lib/libQt5Core.so.5
#19 0x00007fd0b63f4b56 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#20 0x00007fd0a5833091 in ?? () from /usr/lib/libQt5WebEngineWidgets.so.5
#21 0x00007fd09e3a2b2a in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#22 0x00007fd09e3a2c99 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#23 0x00007fd09e8017ff in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#24 0x00007fd09e7f6562 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#25 0x00007fd09e6518b9 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#26 0x00007fd09e67e27f in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#27 0x00007fd09e67e869 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#28 0x00007fd09e684abd in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#29 0x00007fd09e654261 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#30 0x00007fd09e64f2da in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#31 0x00007fd09e8c6446 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#32 0x00007fd09e8c6709 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#33 0x00007fd09e3be3fe in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#34 0x00007fd09e3be69a in QtWebEngineCore::WebContentsAdapter::~WebContentsAdapter() () from /usr/lib/libQt5WebEngineCore.so.5
#35 0x00007fd0a5823b62 in ?? () from /usr/lib/libQt5WebEngineWidgets.so.5
#36 0x00007fd0a5823bb9 in ?? () from /usr/lib/libQt5WebEngineWidgets.so.5
#37 0x00007fd0a581e273 in QWebEnginePage::~QWebEnginePage() () from /usr/lib/libQt5WebEngineWidgets.so.5
#38 0x00007fd0b1b45ed9 in MessageViewer::MailWebEnginePage::~MailWebEnginePage() () from /usr/lib/libKF5MessageViewer.so.5
#39 0x00007fd0b56ba03b in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#40 0x00007fd0b63f4acc in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#41 0x00007fd0b1b43719 in MessageViewer::MailWebEngineView::~MailWebEngineView() () from /usr/lib/libKF5MessageViewer.so.5
#42 0x00007fd0b1ae9b78 in ?? () from /usr/lib/libKF5MessageViewer.so.5
#43 0x00007fd0b1ae9de9 in ?? () from /usr/lib/libKF5MessageViewer.so.5
#44 0x00007fd0b56ba03b in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#45 0x00007fd0b63f4acc in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#46 0x00007fd0b1ada8b9 in MessageViewer::Viewer::~Viewer() () from /usr/lib/libKF5MessageViewer.so.5
#47 0x00007fd0b56ba03b in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#48 0x00007fd0b63f4acc in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#49 0x00007fd0b750cb09 in KMReaderWin::~KMReaderWin() () from /usr/lib/libkmailprivate.so.5
Comment 5 Freek 2017-06-20 18:44:54 UTC
I'm on qt5-base-5.9.0-2
This is Arch Linux current.
Comment 6 Christoph Feck 2017-06-27 17:34:32 UTC

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