Bug 358815

Summary: Kmail5 crash at closing
Product: [Applications] kmail2 Reporter: Bruno Friedmann <bruno>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: kdenis
Priority: NOR Keywords: drkonqi
Version: 5.1.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bruno Friedmann 2016-01-31 10:16:06 UTC
Application: kmail (5.1.1)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-2-default x86_64
Distribution: "openSUSE Tumbleweed (20160128) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: hit close or ctrl+q display the kmail crash message.

Nvidia are 352.79

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fccd0b8a940 (LWP 5582))]

Thread 16 (Thread 0x7fccaa093700 (LWP 5623)):
#0  0x00007fcccdbc224d in poll () at /lib64/libc.so.6
#1  0x00007fccc0b5b432 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fccc0b5d007 in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fccac3ece29 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fccce4ca94f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7fcca35ef700 (LWP 5641)):
#0  0x00007fccc3a804d4 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fccc3a3c880 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fccc3a3d193 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fccc3a3d36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fccce6ef52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fccce69963a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fccce4c5b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007fccce4ca94f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7fcca1193700 (LWP 5835)):
#0  0x00007fccce6eeafd in  () at /usr/lib64/libQt5Core.so.5
#1  0x00007fccc3a3c88d in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fccc3a3d193 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fccc3a3d36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fccce6ef52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fccce69963a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fccce4c5b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007fccce4ca94f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7fcca1bac700 (LWP 5837)):
#0  0x00007fccc3f62d9a in __lll_unlock_wake () at /lib64/libpthread.so.0
#1  0x00007fccc3f5e121 in __pthread_mutex_unlock_usercnt () at /lib64/libpthread.so.0
#2  0x00007fccc2a74ce5 in  () at /usr/X11R6/lib64/libGL.so.1
#3  0x00007fccc2a7a018 in  () at /usr/X11R6/lib64/libGL.so.1
#4  0x00007fccb7c86001 in  () at /usr/lib64/tls/libnvidia-tls.so.352.79
#5  0x00007fccc3a7f210 in  () at /usr/lib64/libglib-2.0.so.0
#6  0x00007fccc3a3cd94 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#7  0x00007fccc3a3d208 in  () at /usr/lib64/libglib-2.0.so.0
#8  0x00007fccc3a3d36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#9  0x00007fccce6ef52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#10 0x00007fccce69963a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#11 0x00007fccce4c5b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#12 0x00007fccce4ca94f in  () at /usr/lib64/libQt5Core.so.5
#13 0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#14 0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7fcca23ad700 (LWP 5839)):
#0  0x00007fccc3f6007f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fccbe9c63bb in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007fccbe9c63f9 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7fcca2bae700 (LWP 5853)):
#0  0x00007fccc3f62d9a in __lll_unlock_wake () at /lib64/libpthread.so.0
#1  0x00007fccc3f5e121 in __pthread_mutex_unlock_usercnt () at /lib64/libpthread.so.0
#2  0x00007fccc2a74ce5 in  () at /usr/X11R6/lib64/libGL.so.1
#3  0x00007fccc2a7a018 in  () at /usr/X11R6/lib64/libGL.so.1
#4  0x00007fccb7c86001 in  () at /usr/lib64/tls/libnvidia-tls.so.352.79
#5  0x00007fccc3a7f210 in  () at /usr/lib64/libglib-2.0.so.0
#6  0x00007fccc3a3cd94 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#7  0x00007fccc3a3d208 in  () at /usr/lib64/libglib-2.0.so.0
#8  0x00007fccc3a3d36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#9  0x00007fccce6ef52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#10 0x00007fccce69963a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#11 0x00007fccce4c5b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#12 0x00007fccce4ca94f in  () at /usr/lib64/libQt5Core.so.5
#13 0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#14 0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7fcc4661b700 (LWP 5855)):
#0  0x00007fcccdbc224d in poll () at /lib64/libc.so.6
#1  0x00007fccc3a3d264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fccc3a3d36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fccce6ef52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fccce69963a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fccce4c5b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fccce4ca94f in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7fcc45e1a700 (LWP 5857)):
#0  0x00007fcccdbbe22d in read () at /lib64/libc.so.6
#1  0x00007fccb7c85f75 in  () at /usr/lib64/tls/libnvidia-tls.so.352.79
#2  0x00007fccc3a7f210 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fccc3a3cd94 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fccc3a3d208 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fccc3a3d36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007fccce6ef52b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fccce69963a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007fccce4c5b1c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007fccce4ca94f in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fcc3ffff700 (LWP 5859)):
#0  0x00007fccc3f6007f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fccbe6d4764 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007fccbe9f5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fcc3f7fe700 (LWP 5860)):
#0  0x00007fccc3f6007f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fccbe6d5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007fccbe9f5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fcc3effd700 (LWP 5861)):
#0  0x00007fccc3f6007f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fccbe6d5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007fccbe9f5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fcc3e7fc700 (LWP 5862)):
#0  0x00007fccc3f6007f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fccbe6d5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007fccbe9f5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fcc3dffb700 (LWP 5863)):
#0  0x00007fccc3f6007f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fccbe6d5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007fccbe9f5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fcc3d7fa700 (LWP 5864)):
#0  0x00007fccc3f6007f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fccbe6d5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007fccbe9f5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fcc3cff9700 (LWP 5865)):
#0  0x00007fccc3f6007f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fccbe6d5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007fccbe9f5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007fccc3f5a4a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcccdbcabdd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fccd0b8a940 (LWP 5582)):
[KCrash Handler]
#6  0x00007fccd03e6c80 in  () at /usr/lib64/libkmailprivate.so.5
#7  0x00007fccd041640c in KMMainWidget::updateMessageActionsDelayed() () at /usr/lib64/libkmailprivate.so.5
#8  0x00007fccd0416cb3 in KMMainWidget::updateMessageActions(bool) () at /usr/lib64/libkmailprivate.so.5
#9  0x00007fccd04272c1 in KMMainWidget::setupActions() () at /usr/lib64/libkmailprivate.so.5
#10 0x00007fccd042b76b in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig>) () at /usr/lib64/libkmailprivate.so.5
#11 0x00007fccd03d9662 in  () at /usr/lib64/libkmailprivate.so.5
#12 0x00007fccd03ea1c7 in KMKernel::openReader(bool) () at /usr/lib64/libkmailprivate.so.5
#13 0x00007fccd03f4c7c in KMKernel::action(bool, bool, QString const&, QString const&, QString const&, QString const&, QString const&, QUrl const&, QList<QUrl> const&, QStringList const&, QString const&, QString const&) () at /usr/lib64/libkmailprivate.so.5
#14 0x00007fccd03f61e3 in KMKernel::handleCommandLine(bool, QStringList const&, QString const&) () at /usr/lib64/libkmailprivate.so.5
#15 0x0000000000404f03 in KMailApplication::activate(QStringList const&, QString const&) ()
#16 0x00007fccd07f097e in KontactInterface::PimUniqueApplication::newInstance(QByteArray const&, QStringList const&, QString const&) () at /usr/lib64/libKF5KontactInterface.so.5
#17 0x00007fccd07f1a72 in  () at /usr/lib64/libKF5KontactInterface.so.5
#18 0x00007fccd07f1dc3 in KontactInterface::PimUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/libKF5KontactInterface.so.5
#19 0x00007fccccba0433 in  () at /usr/lib64/libQt5DBus.so.5
#20 0x00007fccccba3fd0 in  () at /usr/lib64/libQt5DBus.so.5
#21 0x00007fccccba492b in  () at /usr/lib64/libQt5DBus.so.5
#22 0x00007fccccba5bbe in  () at /usr/lib64/libQt5DBus.so.5
#23 0x00007fccce6c9d79 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007fcccebdc1f4 in QGuiApplication::event(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#25 0x00007fcccf85fec8 in QApplication::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007fcccf85c8cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007fcccf8619d6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007fccce69bcf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#29 0x00007fccce69e016 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#30 0x00007fccce6ef103 in  () at /usr/lib64/libQt5Core.so.5
#31 0x00007fccc3a3d097 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#32 0x00007fccc3a3d2c8 in  () at /usr/lib64/libglib-2.0.so.0
#33 0x00007fccc3a3d36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#34 0x00007fccce6ef50f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#35 0x00007fccce69963a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#36 0x00007fcccf4acbce in KJob::exec() () at /usr/lib64/libKF5CoreAddons.so.5
#37 0x00007fccd03eb5b2 in KMKernel::cleanup() () at /usr/lib64/libkmailprivate.so.5
#38 0x0000000000404522 in main ()

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-17 05:27:36 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bruno Friedmann 2020-12-17 10:41:48 UTC
Works with openSUSE Tumbleweed
Linux 5.9.12-1-default x86_64 GNU/Linux
nvidia: 450.80.02
Qt: 5.15.2
KDE Frameworks: 5.76.0
Plasma: 5.20.4 
kmail2 5.15.3 (20.08.3)