Bug 357252 - Kmail segfault when closing application
Summary: Kmail segfault when closing application
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-28 12:18 UTC by Kwanza.Pili
Modified: 2016-11-17 23:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kwanza.Pili 2015-12-28 12:18:03 UTC
Application: kmail (5.1)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.1.13-5-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Close KMail - either by clicking on the close button on using the menu

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7f871d508700 (LWP 4764)):
#0  0x00007f87428ad25d in poll () at /lib64/libc.so.6
#1  0x00007f87354da422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f87354dc00f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f8720620ed9 in  () at /opt/kde/lib64/libQt5XcbQpa.so.5
#4  0x00007f87431b49ff in  () at /opt/kde/lib64/libQt5Core.so.5
#5  0x00007f87390e54a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f87428b5bad in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f8716f66700 (LWP 4765)):
#0  0x00007f8738bc8cc0 in g_main_context_dispatch () at /opt/gnome/lib64/libglib-2.0.so.0
#1  0x00007f8738bc9168 in  () at /opt/gnome/lib64/libglib-2.0.so.0
#2  0x00007f8738bc920c in g_main_context_iteration () at /opt/gnome/lib64/libglib-2.0.so.0
#3  0x00007f87433d968b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#4  0x00007f874338373a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#5  0x00007f87431afbbc in QThread::exec() () at /opt/kde/lib64/libQt5Core.so.5
#6  0x00007f87431b49ff in  () at /opt/kde/lib64/libQt5Core.so.5
#7  0x00007f87390e54a4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f87428b5bad in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f86fa753700 (LWP 4795)):
#0  0x00007f87390eb07f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f873334d40b in  () at /opt/kde/lib64/libQt5WebKit.so.5
#2  0x00007f873334d449 in  () at /opt/kde/lib64/libQt5WebKit.so.5
#3  0x00007f87390e54a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f87428b5bad in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f86a9178700 (LWP 4805)):
#0  0x00007f87390eb07f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f873305b7b4 in  () at /opt/kde/lib64/libQt5WebKit.so.5
#2  0x00007f873337c491 in  () at /opt/kde/lib64/libQt5WebKit.so.5
#3  0x00007f87390e54a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f87428b5bad in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f86a8977700 (LWP 4806)):
#0  0x00007f87390eb07f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f873305c7e3 in  () at /opt/kde/lib64/libQt5WebKit.so.5
#2  0x00007f873337c491 in  () at /opt/kde/lib64/libQt5WebKit.so.5
#3  0x00007f87390e54a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f87428b5bad in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f86933fe700 (LWP 4811)):
#0  0x00007f8738c0b329 in g_mutex_lock () at /opt/gnome/lib64/libglib-2.0.so.0
#1  0x00007f8738bc8b74 in g_main_context_check () at /opt/gnome/lib64/libglib-2.0.so.0
#2  0x00007f8738bc90a8 in  () at /opt/gnome/lib64/libglib-2.0.so.0
#3  0x00007f8738bc920c in g_main_context_iteration () at /opt/gnome/lib64/libglib-2.0.so.0
#4  0x00007f87433d968b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#5  0x00007f874338373a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#6  0x00007f87431afbbc in QThread::exec() () at /opt/kde/lib64/libQt5Core.so.5
#7  0x00007f87431b49ff in  () at /opt/kde/lib64/libQt5Core.so.5
#8  0x00007f87390e54a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f87428b5bad in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f868bfff700 (LWP 4820)):
#0  0x00007f87428a923d in read () at /lib64/libc.so.6
#1  0x00007f872aa9bf75 in  () at /usr/lib64/tls/libnvidia-tls.so.352.63
#2  0x00007f8738c0a040 in  () at /opt/gnome/lib64/libglib-2.0.so.0
#3  0x00007f8738bc8c0c in g_main_context_check () at /opt/gnome/lib64/libglib-2.0.so.0
#4  0x00007f8738bc90a8 in  () at /opt/gnome/lib64/libglib-2.0.so.0
#5  0x00007f8738bc920c in g_main_context_iteration () at /opt/gnome/lib64/libglib-2.0.so.0
#6  0x00007f87433d968b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#7  0x00007f874338373a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#8  0x00007f87431afbbc in QThread::exec() () at /opt/kde/lib64/libQt5Core.so.5
#9  0x00007f87431b49ff in  () at /opt/kde/lib64/libQt5Core.so.5
#10 0x00007f87390e54a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f87428b5bad in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f868ab4e700 (LWP 4826)):
#0  0x00007ffcc6747c66 in clock_gettime ()
#1  0x00007f87428c27a6 in clock_gettime () at /lib64/libc.so.6
#2  0x00007f8743260266 in  () at /opt/kde/lib64/libQt5Core.so.5
#3  0x00007f87433d7249 in QTimerInfoList::updateCurrentTime() () at /opt/kde/lib64/libQt5Core.so.5
#4  0x00007f87433d7755 in QTimerInfoList::timerWait(timespec&) () at /opt/kde/lib64/libQt5Core.so.5
#5  0x00007f87433d8aee in  () at /opt/kde/lib64/libQt5Core.so.5
#6  0x00007f8738bc86ed in g_main_context_prepare () at /opt/gnome/lib64/libglib-2.0.so.0
#7  0x00007f8738bc9030 in  () at /opt/gnome/lib64/libglib-2.0.so.0
#8  0x00007f8738bc920c in g_main_context_iteration () at /opt/gnome/lib64/libglib-2.0.so.0
#9  0x00007f87433d968b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#10 0x00007f874338373a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#11 0x00007f87431afbbc in QThread::exec() () at /opt/kde/lib64/libQt5Core.so.5
#12 0x00007f87431b49ff in  () at /opt/kde/lib64/libQt5Core.so.5
#13 0x00007f87390e54a4 in start_thread () at /lib64/libpthread.so.0
#14 0x00007f87428b5bad in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f868a34d700 (LWP 4831)):
#0  0x00007ffcc6747c66 in clock_gettime ()
#1  0x00007f87428c27a6 in clock_gettime () at /lib64/libc.so.6
#2  0x00007f8743260266 in  () at /opt/kde/lib64/libQt5Core.so.5
#3  0x00007f87433d7249 in QTimerInfoList::updateCurrentTime() () at /opt/kde/lib64/libQt5Core.so.5
#4  0x00007f87433d7755 in QTimerInfoList::timerWait(timespec&) () at /opt/kde/lib64/libQt5Core.so.5
#5  0x00007f87433d8aee in  () at /opt/kde/lib64/libQt5Core.so.5
#6  0x00007f8738bc86ed in g_main_context_prepare () at /opt/gnome/lib64/libglib-2.0.so.0
#7  0x00007f8738bc9030 in  () at /opt/gnome/lib64/libglib-2.0.so.0
#8  0x00007f8738bc920c in g_main_context_iteration () at /opt/gnome/lib64/libglib-2.0.so.0
#9  0x00007f87433d968b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#10 0x00007f874338373a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/kde/lib64/libQt5Core.so.5
#11 0x00007f87431afbbc in QThread::exec() () at /opt/kde/lib64/libQt5Core.so.5
#12 0x00007f87431b49ff in  () at /opt/kde/lib64/libQt5Core.so.5
#13 0x00007f87390e54a4 in start_thread () at /lib64/libpthread.so.0
#14 0x00007f87428b5bad in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f8745830940 (LWP 4763)):
[KCrash Handler]
#6  0x0000000000000018 in  ()
#7  0x00007f873cd8128c in  () at /opt/kde/lib64/libKF5AkonadiCore.so.5
#8  0x00007f87433b2f57 in QMetaObject::activate(QObject*, int, int, void**) () at /opt/kde/lib64/libQt5Core.so.5
#9  0x00007f874338b47b in QCoreApplication::exec() () at /opt/kde/lib64/libQt5Core.so.5
#10 0x000055c42a221778 in main ()

Reported using DrKonqi
Comment 1 Kwanza.Pili 2016-01-08 14:57:57 UTC
I wonder if this bug is related to the plasmashell/Task Manager bug https://bugs.kde.org/show_bug.cgi?id=342763 ?

I'm using two workarounds to fix the problem:
1. Disable the Windows List applet
2. Install qt5ct and set QT_QPA_PLATFORMTHEME='qt5ct'

The second step has the undesirable effect of breaking systemsetting5 (it will not invoke any module), but you can use kcmshell5 instead.