Summary: | KMail crash on logout | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Gerd Fleischer <gerdfleischer> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | crash | CC: | alexandre.sidorenko, dark.shadow4, dvratil, eagle.bugs.kde.org, egdfree, fheday, freek, gerdfleischer, jesaenh, jlp, lukasz.wojnilowicz, netwiz, nicholasjestrada, oleksandr, patrick.rifici, s.wezel, sauntor, till2.schaefer, tomasz.rozynek |
Priority: | NOR | ||
Version: | 5.4.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | gdb stacktrace |
Description
Gerd Fleischer
2017-03-31 11:51:24 UTC
The same here, It happens on Logout in my two computers. I have installed Opensuse 42.2, Apps 17.03.80 (and kdepim) and plasma 5.9.4. Any idea? I installed some debug packages, here is what is in xsession-errors, saving log was not possible yet. ksmserver: SmsDie WM timeout 4 "#83 0x0000000000403974 in main (argc=1, argv=0x7ffcd2cb4c98) at /usr/src/debug/kmail-17.03.80/src/main.cpp:163\n" 4 "#82 0x00007ff8b3337ece in KMKernel::cleanup (this=this@entry=0x7ffcd2cb4a80) at /usr/src/debug/kmail-17.03.80/src/kmkernel.cpp:1153\n" 4 "#81 KMKernel::closeAllKMailWindows (this=this@entry=0x7ffcd2cb4a80) at /usr/src/debug/kmail-17.03.80/src/kmkernel.cpp:1138\n" 4 "#80 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt5/QtCore/qalgorithms.h:328\n" 4 "#79 0x00007ff8b332fd27 in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt5/QtCore/qalgorithms.h:320\n" 4 "#78 0x00007ff8b331e319 in KMMainWin::~KMMainWin (this=0x14f0c30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kmail-17.03.80/src/kmmainwin.cpp:100\n" 4 "#77 0x00007ff8b331e2c4 in KMMainWin::~KMMainWin (this=this@entry=0x14f0c30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kmail-17.03.80/src/kmmainwin.cpp:95\n" 3 "#76 0x00007ff8b06c7cb4 in KMainWindow::~KMainWindow() () from /usr/lib64/libKF5XmlGui.so.5\n" 3 "#75 0x00007ff8b22243b5 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#74 0x00007ff8b1558f65 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5\n" 4 "#73 0x00007ff8b336e019 in KMMainWidget::~KMMainWidget (this=0x14f93a0, __in_chrg=<optimized out>) at /usr/src/debug/kmail-17.03.80/src/kmmainwidget.cpp:390\n" 4 "#72 0x00007ff8b336de5f in KMMainWidget::~KMMainWidget (this=0x14f93a0, __in_chrg=<optimized out>) at /usr/src/debug/kmail-17.03.80/src/kmmainwidget.cpp:389\n" 4 "#71 0x00007ff8b336dc73 in KMMainWidget::destruct (this=this@entry=0x14f93a0) at /usr/src/debug/kmail-17.03.80/src/kmmainwidget.cpp:405\n" 4 "#70 0x00007ff8b33514c3 in KMMainWidget::deleteWidgets (this=this@entry=0x14f93a0) at /usr/src/debug/kmail-17.03.80/src/kmmainwidget.cpp:967\n" 3 "#69 0x00007ff8b235ec59 in QSplitter::~QSplitter() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#68 0x00007ff8b22243b5 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#67 0x00007ff8b1558f65 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5\n" 3 "#66 0x00007ff8b235ec59 in QSplitter::~QSplitter() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#65 0x00007ff8b22243b5 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#64 0x00007ff8b1558f65 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5\n" 4 "#63 0x00007ff8b331ec89 in KMReaderWin::~KMReaderWin (this=0x1582610, __in_chrg=<optimized out>) at /usr/src/debug/kmail-17.03.80/src/kmreaderwin.cpp:248\n" 3 "#62 0x00007ff8b22243b5 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#61 0x00007ff8b1558f65 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5\n" 4 "#60 0x00007ff8ada8f739 in MessageViewer::Viewer::~Viewer (this=0x15e9440, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-17.03.80/messageviewer/src/viewer/viewer.cpp:62\n" 3 "#59 0x00007ff8b22243b5 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#58 0x00007ff8b1558f65 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5\n" 4 "#57 0x00007ff8ada9f919 in MessageViewer::ViewerPrivate::~ViewerPrivate (this=0x15a2090, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-17.03.80/messageviewer/src/viewer/viewer_p.cpp:304\n" 4 "#56 0x00007ff8ada9f744 in MessageViewer::ViewerPrivate::~ViewerPrivate (this=0x15a2090, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-17.03.80/messageviewer/src/viewer/viewer_p.cpp:299\n" 4 "#55 0x00007ff8adaefb89 in MessageViewer::MailWebEngineView::~MailWebEngineView (this=0x16452c0, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-17.03.80/messageviewer/src/viewer/webengine/mailwebengineview.cpp:121\n" 3 "#54 0x00007ff8b22243b5 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#53 0x00007ff8b1558f65 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5\n" 4 "#52 0x00007ff8adaf1ff9 in MessageViewer::MailWebEnginePage::~MailWebEnginePage (this=0x168ff80, __in_chrg=<optimized out>) at /usr/src/debug/messagelib-17.03.80/messageviewer/src/viewer/webengine/mailwebenginepage.cpp:41\n" 4 "#51 QWebEnginePage::~QWebEnginePage (this=0x168ff80, __in_chrg=<optimized out>) at api/qwebenginepage.cpp:802\n" 4 "#50 QScopedPointer<QWebEnginePagePrivate, QScopedPointerDeleter<QWebEnginePagePrivate> >::~QScopedPointer (this=0x168ff90, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107\n" 4 "#49 0x00007ff89be99790 in QScopedPointerDeleter<QWebEnginePagePrivate>::cleanup (pointer=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:60\n" 4 "#48 0x00007ff89be9a639 in QWebEnginePagePrivate::~QWebEnginePagePrivate (this=0x1607be0, __in_chrg=<optimized out>) at api/qwebenginepage.cpp:241\n" 4 "#47 QWebEnginePagePrivate::~QWebEnginePagePrivate (this=0x1607be0, __in_chrg=<optimized out>) at api/qwebenginepage.cpp:237\n" 4 "#46 QSharedPointer<QtWebEngineCore::WebContentsAdapter>::~QSharedPointer (this=0x1607bf0, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:312\n" 4 "#45 QSharedPointer<QtWebEngineCore::WebContentsAdapter>::deref (this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:453\n" 4 "#44 QSharedPointer<QtWebEngineCore::WebContentsAdapter>::deref (dd=0x1689b30) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:458\n" 4 "#43 0x00007ff89be9a61e in QtSharedPointer::ExternalRefCountData::destroy (this=0x1689b30) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:157\n" 4 "#42 QtWebEngineCore::WebContentsAdapter::~WebContentsAdapter (this=0x1689b40, __in_chrg=<optimized out>) at /usr/src/debug/qtwebengine-opensource-src-5.8.0/src/core/web_contents_adapter.cpp:387\n" 4 "#41 QScopedPointer<QtWebEngineCore::WebContentsAdapterPrivate, QScopedPointerDeleter<QtWebEngineCore::WebContentsAdapterPrivate> >::~QScopedPointer (this=0x1689b50, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107\n" 4 "#40 0x00007ff8a2c71fda in QScopedPointerDeleter<QtWebEngineCore::WebContentsAdapterPrivate>::cleanup (pointer=0x166bba0) at /usr/include/qt5/QtCore/qscopedpointer.h:60\n" 4 "#39 QtWebEngineCore::WebContentsAdapterPrivate::~WebContentsAdapterPrivate (this=0x166bba0, __in_chrg=<optimized out>) at /usr/src/debug/qtwebengine-opensource-src-5.8.0/src/core/web_contents_adapter.cpp:348\n" 4 "#38 std::unique_ptr<content::WebContents, std::default_delete<content::WebContents> >::reset (__p=<optimized out>, this=0x166bbb8) at /usr/include/c++/4.8/bits/unique_ptr.h:262\n" 4 "#37 0x00007ff8a2c71ec0 in std::default_delete<content::WebContents>::operator() (this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/4.8/bits/unique_ptr.h:67\n" 3 "#36 0x00007ff8a42c34f9 in content::WebContentsImpl::~WebContentsImpl() () from /usr/lib64/libQt5WebEngineCore.so.5\n" 3 "#35 0x00007ff8a42c2ffc in content::WebContentsImpl::~WebContentsImpl() () from /usr/lib64/libQt5WebEngineCore.so.5\n" 3 "#34 0x00007ff8a43a2e7a in content::FrameTree::~FrameTree() () from /usr/lib64/libQt5WebEngineCore.so.5\n" 3 "#33 0x00007ff8a43a72b3 in content::FrameTreeNode::~FrameTreeNode() () from /usr/lib64/libQt5WebEngineCore.so.5\n" 3 "#32 0x00007ff8a41b2e4d in content::RenderFrameHostManager::~RenderFrameHostManager() () from /usr/lib64/libQt5WebEngineCore.so.5\n" 3 "#31 0x00007ff8a41ad9f9 in content::RenderFrameHostImpl::~RenderFrameHostImpl() () from /usr/lib64/libQt5WebEngineCore.so.5\n" 3 "#30 0x00007ff8a41ad4b5 in content::RenderFrameHostImpl::~RenderFrameHostImpl() () from /usr/lib64/libQt5WebEngineCore.so.5\n" 3 "#29 0x00007ff8a43a4f79 in content::FrameTree::ReleaseRenderViewHostRef(content::RenderViewHostImpl*) () from /usr/lib64/libQt5WebEngineCore.so.5\n" 3 "#28 0x00007ff8a422fde4 in content::RenderViewHostImpl::ShutdownAndDestroy() () from /usr/lib64/libQt5WebEngineCore.so.5\n" 3 "#27 0x00007ff8a42397ac in content::RenderWidgetHostImpl::Destroy(bool) () from /usr/lib64/libQt5WebEngineCore.so.5\n" 4 "#26 0x00007ff8a2c55309 in QtWebEngineCore::RenderWidgetHostViewQt::~RenderWidgetHostViewQt (this=0x16ce830, __in_chrg=<optimized out>) at /usr/src/debug/qtwebengine-opensource-src-5.8.0/src/core/render_widget_host_view_qt.cpp:261\n" 4 "#25 QtWebEngineCore::RenderWidgetHostViewQt::~RenderWidgetHostViewQt (this=0x16ce830, __in_chrg=<optimized out>) at /usr/src/debug/qtwebengine-opensource-src-5.8.0/src/core/render_widget_host_view_qt.cpp:255\n" 4 "#24 std::unique_ptr<QtWebEngineCore::RenderWidgetHostViewQtDelegate, std::default_delete<QtWebEngineCore::RenderWidgetHostViewQtDelegate> >::~unique_ptr (this=0x16cec28, __in_chrg=<optimized out>) at /usr/include/c++/4.8/bits/unique_ptr.h:184\n" 4 "#23 0x00007ff8a2c5519e in std::default_delete<QtWebEngineCore::RenderWidgetHostViewQtDelegate>::operator() (this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/4.8/bits/unique_ptr.h:67\n" 4 "#22 QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::~RenderWidgetHostViewQtDelegateWidget (this=0x15ff440, __in_chrg=<optimized out>) at ./render_widget_host_view_qt_delegate_widget.h:51\n" 4 "#21 0x00007ff89beab10f in QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::~RenderWidgetHostViewQtDelegateWidget (this=0x15ff440, __in_chrg=<optimized out>) at ./render_widget_host_view_qt_delegate_widget.h:51\n" 3 "#20 0x00007ff8b222442e in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#19 0x00007ff8b1562466 in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5\n" 1 "#18 0x00007ff89d565c29 in ?? () from /usr/lib64/libQt5QuickWidgets.so.5\n" 1 "#17 0x00007ff89d565bab in ?? () from /usr/lib64/libQt5QuickWidgets.so.5\n" 1 "#16 0x00007ff89d566e23 in ?? () from /usr/lib64/libQt5QuickWidgets.so.5\n" 3 "#15 0x00007ff89cf84b20 in QQuickRenderControl::~QQuickRenderControl() () from /usr/lib64/libQt5Quick.so.5\n" 1 "#14 0x00007ff89cf848d4 in ?? () from /usr/lib64/libQt5Quick.so.5\n" 3 "#13 0x00007ff8b15342a3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5\n" 3 "#12 0x00007ff8b1532245 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5\n" 3 "#11 0x00007ff8b21ec0f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#10 0x00007ff8b21e51bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#9 0x00007ff8b2228adb in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#8 0x00007ff8b155b8d0 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5\n" 3 "#7 0x00007ff8b2224959 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5\n" 3 "#6 0x00007ff8b22241cf in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5\n" Rating: 45 out of 60 Usefulness: MayBeUseful It also happens to me. I am using Arch Linux stable repositories. Since the downgrading to Qt 5.7.1 this seems not to happen anymore. The backtrace looks like it could be a QtWebEngine problems. Which version of Qt do you have? The crash was with 5.8.0 Now 5.7.1 no crashes. *** Bug 381031 has been marked as a duplicate of this bug. *** *** Bug 380855 has been marked as a duplicate of this bug. *** What I can add is that it happens with QT 5.8 and 5.9. Did not happen with 5.7. I can confirm that this still occurs with: $ rpm -qa | grep qtwebengine qt5-qtwebengine-5.9.0-4.fc26.x86_64 $ rpm -qa | grep kmail | sort kf5-kmailtransport-17.04.1-1.fc26.x86_64 kf5-kmailtransport-akonadi-17.04.1-1.fc26.x86_64 kmail-17.04.1-3.fc26.x86_64 kmail-account-wizard-17.04.1-1.fc26.x86_64 kmail-libs-17.04.1-3.fc26.x86_64 Same here. Latest Arch Linux. [~]$ pmn qt5-webengine | grep Version Version : 5.9.1-3 [~]$ pmn kmail | grep Version Version : 17.04.3-1 Created attachment 106787 [details]
gdb stacktrace
I've re-compiled important parts of Qt with debug symbols and got full nice stacktrce.
Hope this helps with proper investigation and fix.
*** Bug 382549 has been marked as a duplicate of this bug. *** I can see the same problem on Ubuntu-16.04 + Neon libqt5webengine5 5.9.1+dfsg-2+16.04+xenial+build36 The problem is still there after upgrade to KDE-applications 17.08.0 (KMail 5.6.0) I can confirm this happens on KMail 5.6.0 and KDE Applications 17.08 *** Bug 384112 has been marked as a duplicate of this bug. *** It seems to be fixed with Qt 5.10.0 Before i had Qt 5.9.3 running and kmail crashed on session logout. After updating to Qt 5.10.0 the crash seems to be gone. I can confirm that with Qt 5.10.0 the issues does indeed appear to be resolved. Current system is: OS: Arch Linux x64 KDE Plasma Version: 5.11.4 KDE Frameworks Version: 5.41.0 KMail Version: 5.6.3 I have also tested this on two other systems with the same specifications as above. *** Bug 387340 has been marked as a duplicate of this bug. *** Duplicate bug 387340 has a more detailed backtrace. *** Bug 387542 has been marked as a duplicate of this bug. *** *** Bug 377612 has been marked as a duplicate of this bug. *** According to comment #17 and comment #18, this was a Qt bug. |