Application: kmail (5.1.2) Qt Version: 5.5.1 Operating System: Linux 4.1.15-8-default x86_64 Distribution: "openSUSE Leap 42.1 (x86_64)" -- Information about the crash: Sometimes, when I start KMail, it shows information it has crashed, but the application is restarted and works normally. Apart of little disturbance on the beginning, it works perfectly. 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 0x7f42488e5800 (LWP 28645))] Thread 18 (Thread 0x7f4223c28700 (LWP 28646)): #0 0x00007f42458d7bbd in poll () at /lib64/libc.so.6 #1 0x00007f42388ff422 in () at /usr/lib64/libxcb.so.1 #2 0x00007f423890100f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1 #3 0x00007f42259533c9 in () at /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007f42461e732f in () at /usr/lib64/libQt5Core.so.5 #5 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 17 (Thread 0x7f422191f700 (LWP 28660)): #0 0x00007f42458d7bbd in poll () at /lib64/libc.so.6 #1 0x00007f423b6bae64 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f423b6baf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f4246419d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f42463c0d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f42461e261a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f42461e732f in () at /usr/lib64/libQt5Core.so.5 #7 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 16 (Thread 0x7f4201749700 (LWP 28680)): #0 0x00007f423bbdb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f4236756733 in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007f4236756759 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 15 (Thread 0x7f41b2dd6700 (LWP 28695)): #0 0x00007f423bbdb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f423646275d in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007f4236785031 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 14 (Thread 0x7f41b25d5700 (LWP 28696)): #0 0x00007f423bbdb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f4236463733 in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007f4236785031 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 13 (Thread 0x7f41b1dd4700 (LWP 28697)): #0 0x00007f423bbdb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f4236463733 in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007f4236785031 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 12 (Thread 0x7f41b15d3700 (LWP 28698)): #0 0x00007f423bbdb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f4236463733 in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007f4236785031 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 11 (Thread 0x7f41b0dd2700 (LWP 28699)): #0 0x00007f423bbdb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f4236463733 in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007f4236785031 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 10 (Thread 0x7f419bfff700 (LWP 28700)): #0 0x00007f423bbdb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f4236463733 in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007f4236785031 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 9 (Thread 0x7f419b7fe700 (LWP 28701)): #0 0x00007f423bbdb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f4236463733 in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007f4236785031 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 8 (Thread 0x7f417fddb700 (LWP 28717)): #0 0x00007f42458d3c8d in read () at /lib64/libc.so.6 #1 0x00007f423b6fbb60 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f423b6ba999 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f423b6badf8 in () at /usr/lib64/libglib-2.0.so.0 #4 0x00007f423b6baf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #5 0x00007f4246419d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #6 0x00007f42463c0d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #7 0x00007f42461e261a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #8 0x00007f42461e732f in () at /usr/lib64/libQt5Core.so.5 #9 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #10 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 7 (Thread 0x7f417cc19700 (LWP 28832)): #0 0x00007f423bbdb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f422a8d486b in () at /usr/lib64/libQt5Script.so.5 #2 0x00007f422a8d4899 in () at /usr/lib64/libQt5Script.so.5 #3 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 6 (Thread 0x7f417f5da700 (LWP 29159)): #0 0x00007f42458d7bbd in poll () at /lib64/libc.so.6 #1 0x00007f423b6bae64 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f423b6baf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f4246419d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f42463c0d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f42461e261a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f42461e732f in () at /usr/lib64/libQt5Core.so.5 #7 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 5 (Thread 0x7f417e495700 (LWP 29162)): #0 0x00007f42458d7bbd in poll () at /lib64/libc.so.6 #1 0x00007f423b6bae64 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f423b6baf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f4246419d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f42463c0d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f42461e261a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f42461e732f in () at /usr/lib64/libQt5Core.so.5 #7 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 4 (Thread 0x7f419a7fc700 (LWP 29165)): #0 0x00007f42458d3c8d in read () at /lib64/libc.so.6 #1 0x00007f423b6fbb60 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f423b6ba999 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f423b6badf8 in () at /usr/lib64/libglib-2.0.so.0 #4 0x00007f423b6baf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #5 0x00007f4246419d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #6 0x00007f42463c0d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #7 0x00007f42461e261a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #8 0x00007f42461e732f in () at /usr/lib64/libQt5Core.so.5 #9 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #10 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 3 (Thread 0x7f4212ffd700 (LWP 29167)): #0 0x00007f4246419b49 in () at /usr/lib64/libQt5Core.so.5 #1 0x00007f423b6ba4ad in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f423b6bad80 in () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f423b6baf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #4 0x00007f4246419d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f42463c0d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #6 0x00007f42461e261a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #7 0x00007f42461e732f in () at /usr/lib64/libQt5Core.so.5 #8 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f4220a9a700 (LWP 29169)): #0 0x00007f42458d7bbd in poll () at /lib64/libc.so.6 #1 0x00007f423b6bae64 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f423b6baf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f4246419d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f42463c0d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f42461e261a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f42461e732f in () at /usr/lib64/libQt5Core.so.5 #7 0x00007f423bbd70a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f42458dffed in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f42488e5800 (LWP 28645)): [KCrash Handler] #6 0x00007f42481294c0 in () at /usr/lib64/libkmailprivate.so.5 #7 0x00007f424815c630 in KMMainWidget::updateMessageActionsDelayed() () at /usr/lib64/libkmailprivate.so.5 #8 0x00007f424815ce85 in KMMainWidget::updateMessageActions(bool) () at /usr/lib64/libkmailprivate.so.5 #9 0x00007f424816e661 in KMMainWidget::setupActions() () at /usr/lib64/libkmailprivate.so.5 #10 0x00007f4248173825 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig>) () at /usr/lib64/libkmailprivate.so.5 #11 0x00007f424811b634 in () at /usr/lib64/libkmailprivate.so.5 #12 0x00007f424812e8c5 in KMKernel::openReader(bool) () at /usr/lib64/libkmailprivate.so.5 #13 0x00007f4248136b90 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 0x00007f42481382a5 in KMKernel::handleCommandLine(bool, QStringList const&, QString const&) () at /usr/lib64/libkmailprivate.so.5 #15 0x0000000000404e63 in KMailApplication::activate(QStringList const&, QString const&) () #16 0x00007f4248544f32 in KontactInterface::PimUniqueApplication::newInstance(QByteArray const&, QStringList const&, QString const&) () at /usr/lib64/libKF5KontactInterface.so.5 #17 0x00007f4248546132 in () at /usr/lib64/libKF5KontactInterface.so.5 #18 0x00007f42485464e3 in KontactInterface::PimUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/libKF5KontactInterface.so.5 #19 0x00007f42448acda4 in () at /usr/lib64/libQt5DBus.so.5 #20 0x00007f42448b1372 in () at /usr/lib64/libQt5DBus.so.5 #21 0x00007f42448b1d22 in () at /usr/lib64/libQt5DBus.so.5 #22 0x00007f42448b392e in () at /usr/lib64/libQt5DBus.so.5 #23 0x00007f42463f3ac6 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5 #24 0x00007f4246911382 in QGuiApplication::event(QEvent*) () at /usr/lib64/libQt5Gui.so.5 #25 0x00007f424758b12c in QApplication::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #26 0x00007f4247587e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #27 0x00007f424758ccc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #28 0x00007f42463c2e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #29 0x00007f42463c5057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5 #30 0x00007f424641a8f3 in () at /usr/lib64/libQt5Core.so.5 #31 0x00007f423b6bac84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #32 0x00007f423b6baed8 in () at /usr/lib64/libglib-2.0.so.0 #33 0x00007f423b6baf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #34 0x00007f4246419d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #35 0x00007f42463c0d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #36 0x00007f42471d41de in KJob::exec() () at /usr/lib64/libKF5CoreAddons.so.5 #37 0x00007f424812efa6 in KMKernel::cleanup() () at /usr/lib64/libkmailprivate.so.5 #38 0x000000000040452a in main () Reported using DrKonqi
Similar problem here with Kmail 5.2.0 on 64-bit Mgeia-6-sta1 Plasma login. At first use after login, Kmail starts normally, but if exited then re-started, it immediately exits without a Kmail window appearing. But after doing logout/Login, it again starts normally. Will try to attach the result of an strace on such an occasion.
Created attachment 98855 [details] strace of Kmail failing to start normally strace of Kmail failing to start normally
Same problem (Kmail will not restart after initial Start/Exit) with Kmail 5.2.3 - whose Help/Version shows: . KDE Frameworks 5.24 . Qt 5.6.1 . xcb windowing system with 64-bit Mageia-6-RC Plasma login. (Real h/w on nVidia GTS250 non-EFI non-GTP Desktop)
Was happening here on Plasma Mageia-6-rc with Kmail 5.4.3 when the nVidia 'nouveau' driver was in use, but not when the proprietary nVidia driver was in use.
Maurice, are you sure that your current issue is related to the bug that is reported here? According to the original backtrace, the bug doesn't seem to be related to the graphics stack. Would you please compare a backtrace of your current crashes to Vojtěch's backtrace? Can you provide that backtrace, ideally directly inline in the comment instead of an attachment? Thanks in advance
But I no longer have a 'current issue', Denis! Since acquiring stable use of the proprietary '340' nvidia driver, I have found Kmail 5.4.3 to be quite steady and reliable.
Vojtěch, what about you? Did you try to use the nvidia driver instead of nouveau? Did it fix your problem? What is the most recent version of KMail you experienced this with? Did you try even more recent versions where the crash did not happen? Which version of nouveau do you use? Is it possible to try a newer version?
I'm now running openSUSE TW with KMail (and respective KF, Plasma, ...) 5.5.1 and I haven't seen this bug for months. I was never really using NVIDIA graphics - on notebook with Intel+NVIDIA I use only the Intel card. Kernel sees the NVIDIA card (BIOS doesn't allow disabling it completely, but it is inactive) and loads nouveau driver (currently 1.0.15), but it is not in real use. So I doubt it has any effect.
Thanks for the update; closing.