Bug 342879 - Crashes out of the blue
Summary: Crashes out of the blue
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.14.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-15 16:50 UTC by Fabian Vogt
Modified: 2017-06-23 20:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2015-01-15 16:50:34 UTC
While doing absolutely nothing with KMail, it's just running in the background, the crash handler dialog appears. This happens multiple times a day, sometimes not once a week. I don't know how to reproduce. Akonadi is still running fine.

Reproducible: Sometimes




Application: kmail (4.14.3)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

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

Thread 4 (Thread 0x7fbd0c9b4700 (LWP 1542)):
#0  0x00007fbd2d11f05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbd2264d686 in WTF::TCMalloc_PageHeap::scavengerThread() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007fbd2264d6b9 in  () at /usr/lib64/libQtWebKit.so.4
#3  0x00007fbd2d11b0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fbd2f31a7fd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fbccb811700 (LWP 1543)):
#0  0x00007fbd2d11f05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbd223bfe7d in JSC::BlockAllocator::blockFreeingThreadMain() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007fbd226751e6 in WTF::wtfThreadEntryPoint(void*) () at /usr/lib64/libQtWebKit.so.4
#3  0x00007fbd2d11b0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fbd2f31a7fd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fbcca973700 (LWP 1544)):
[KCrash Handler]
#5  0x00007fbd24dbcb3e in  () at /lib64/libdbus-1.so.3
#6  0x00007fbd24db5bc2 in  () at /lib64/libdbus-1.so.3
#7  0x00007fbd24db60d2 in dbus_message_unref () at /lib64/libdbus-1.so.3
#8  0x00007fbd2d37fb09 in QDBusArgument::~QDBusArgument() () at /usr/lib64/libQtDBus.so.4
#9  0x00007fbd2d35c76e in  () at /usr/lib64/libQtDBus.so.4
#10 0x00007fbd309639a3 in  () at /usr/lib64/libQtCore.so.4
#11 0x00007fbd2d34ba5c in  () at /usr/lib64/libQtDBus.so.4
#12 0x00007fbd2d35ff7f in QDBusMessage::~QDBusMessage() () at /usr/lib64/libQtDBus.so.4
#13 0x00007fbd2d35cd56 in  () at /usr/lib64/libQtDBus.so.4
#14 0x00007fbd30943586 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#15 0x00007fbd3096d8fe in  () at /usr/lib64/libQtCore.so.4
#16 0x00007fbd26e77a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#17 0x00007fbd26e77c48 in  () at /usr/lib64/libglib-2.0.so.0
#18 0x00007fbd26e77cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#19 0x00007fbd3096d0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#20 0x00007fbd3093ee6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#21 0x00007fbd3093f165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#22 0x00007fbd3083c0bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#23 0x00007fbd3083e79f in  () at /usr/lib64/libQtCore.so.4
#24 0x00007fbd2d11b0a4 in start_thread () at /lib64/libpthread.so.0
#25 0x00007fbd2f31a7fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fbd31fab800 (LWP 1402)):
#0  0x00007fbd2f30e49d in read () at /lib64/libc.so.6
#1  0x00007fbd26eb8750 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fbd26e77714 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fbd26e77b7b in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fbd26e77cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fbd3096d0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007fbd2fd76676 in  () at /usr/lib64/libQtGui.so.4
#7  0x00007fbd3093ee6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#8  0x00007fbd3093f165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#9  0x00007fbd309445b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#10 0x0000000000402f3f in  ()
#11 0x00007fbd2f256b05 in __libc_start_main () at /lib64/libc.so.6
#12 0x0000000000403414 in _start ()
Comment 1 Laurent Montel 2015-01-15 17:18:59 UTC
please install full debug
Regards
Comment 2 Fabian Vogt 2015-01-19 22:38:14 UTC
Got another crash, with debug info for kmail:

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

Thread 4 (Thread 0x7f3da4317700 (LWP 1613)):
#0  0x00007f3dc4a8a05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f3db9fb8686 in WTF::TCMalloc_PageHeap::scavengerThread() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007f3db9fb86b9 in  () at /usr/lib64/libQtWebKit.so.4
#3  0x00007f3dc4a860a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f3dc6c857fd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f3d63174700 (LWP 1630)):
#0  0x00007f3dc4a8a05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f3db9d2ae7d in JSC::BlockAllocator::blockFreeingThreadMain() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007f3db9fe01e6 in WTF::wtfThreadEntryPoint(void*) () at /usr/lib64/libQtWebKit.so.4
#3  0x00007f3dc4a860a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f3dc6c857fd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3d622d6700 (LWP 1633)):
[KCrash Handler]
#5  0x00007f3dbc727b3e in  () at /lib64/libdbus-1.so.3
#6  0x00007f3dbc720bc2 in  () at /lib64/libdbus-1.so.3
#7  0x00007f3dbc7210d2 in dbus_message_unref () at /lib64/libdbus-1.so.3
#8  0x00007f3dc4ceab09 in QDBusArgument::~QDBusArgument() () at /usr/lib64/libQtDBus.so.4
#9  0x00007f3dc4cc776e in  () at /usr/lib64/libQtDBus.so.4
#10 0x00007f3dc82ce9a3 in  () at /usr/lib64/libQtCore.so.4
#11 0x00007f3dc4cb6a5c in  () at /usr/lib64/libQtDBus.so.4
#12 0x00007f3dc4ccaf7f in QDBusMessage::~QDBusMessage() () at /usr/lib64/libQtDBus.so.4
#13 0x00007f3dc4cc7d56 in  () at /usr/lib64/libQtDBus.so.4
#14 0x00007f3dc82ae586 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#15 0x00007f3dc82d88fe in  () at /usr/lib64/libQtCore.so.4
#16 0x00007f3dbe7e2a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#17 0x00007f3dbe7e2c48 in  () at /usr/lib64/libglib-2.0.so.0
#18 0x00007f3dbe7e2cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#19 0x00007f3dc82d80de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#20 0x00007f3dc82a9e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#21 0x00007f3dc82aa165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#22 0x00007f3dc81a70bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#23 0x00007f3dc81a979f in  () at /usr/lib64/libQtCore.so.4
#24 0x00007f3dc4a860a4 in start_thread () at /lib64/libpthread.so.0
#25 0x00007f3dc6c857fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f3dc9916800 (LWP 1407)):
#0  0x00007f3dc6c7949d in read () at /lib64/libc.so.6
#1  0x00007f3dbe823750 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f3dbe7e2714 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f3dbe7e2b7b in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f3dbe7e2cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f3dc82d80de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f3dc76e1676 in  () at /usr/lib64/libQtGui.so.4
#7  0x00007f3dc82a9e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#8  0x00007f3dc82aa165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#9  0x00007f3dc82af5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#10 0x0000000000402f3f in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.14.3/kmail/main.cpp:145

It looks like it's actually DBus related, as the only common thread is #2. Any idea how I could test whether it's kmail's fault or a bug in QtDBus?
Comment 3 Denis Kurz 2017-06-23 20:03:42 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 4 Fabian Vogt 2017-06-23 20:45:08 UTC
I haven't seen this in ages now (running pim 5.x), probably even resolved by a later kdepim 4 version.