Bug 359553

Summary: Lauching kmail5 crash
Product: [Applications] kmail2 Reporter: Bruno Friedmann <bruno>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: kdenis, lbeltrame
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-02-18 20:53:33 UTC
Application: kmail (5.1.1)

Qt Version: 5.5.1
Operating System: Linux 4.5.0-rc4-2.gea92baf-default x86_64
Distribution: "openSUSE Tumbleweed (20160212) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Launch kmail by hotkey, krunner, or menu the first time the desktop is opened this crash dialog box appear a few secondes before the main windows start.
After the main windows start, kmail seems to work correctly.

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 0x7f3da855f940 (LWP 3862))]

Thread 16 (Thread 0x7f3d82820700 (LWP 3883)):
#0  0x00007f3da559c24d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3d9852b432 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f3d8281fb80) at /usr/include/bits/poll2.h:46
#2  0x00007f3d9852b432 in _xcb_conn_wait (c=c@entry=0xd26570, cond=cond@entry=0xd265b0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f3d9852d007 in xcb_wait_for_event (c=0xd26570) at xcb_in.c:693
#4  0x00007f3d84b79e29 in QXcbEventReader::run() (this=0xd33790) at qxcbconnection.cpp:1229
#5  0x00007f3da5ea394f in QThreadPrivate::start(void*) (arg=0xd33790) at thread/qthread_unix.cpp:331
#6  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d82820700) at pthread_create.c:334
#7  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f3d7bfff700 (LWP 3900)):
#0  0x00007f3d9b45a554 in g_mutex_unlock (mutex=0x7f3d740009b0) at gthread-posix.c:1350
#1  0x00007f3d9b416e6a in g_main_context_dispatch (context=context@entry=0x7f3d740009b0) at gmain.c:3772
#2  0x00007f3d9b4172f8 in g_main_context_iterate (context=context@entry=0x7f3d740009b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#3  0x00007f3d9b41739c in g_main_context_iteration (context=0x7f3d740009b0, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f3da60c852b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3d740008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f3da607263a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3d7bffec90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3da5e9eb1c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f3da5ea394f in QThreadPrivate::start(void*) (arg=0xeccc80) at thread/qthread_unix.cpp:331
#8  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d7bfff700) at pthread_create.c:334
#9  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f3d79994700 (LWP 6142)):
#0  0x00007f3da559c24d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3d9b417294 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f3d68002e70, timeout=<optimized out>, context=0x7f3d68002cd0) at gmain.c:4135
#2  0x00007f3d9b417294 in g_main_context_iterate (context=context@entry=0x7f3d68002cd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f3d9b41739c in g_main_context_iteration (context=0x7f3d68002cd0, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f3da60c852b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3d68002c00, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f3da607263a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3d79993c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3da5e9eb1c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f3da5ea394f in QThreadPrivate::start(void*) (arg=0xef59a0) at thread/qthread_unix.cpp:331
#8  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d79994700) at pthread_create.c:334
#9  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f3d7a3ad700 (LWP 6144)):
#0  0x00007f3da559c24d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3d9b417294 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f3d64003040, timeout=<optimized out>, context=0x7f3d64002ef0) at gmain.c:4135
#2  0x00007f3d9b417294 in g_main_context_iterate (context=context@entry=0x7f3d64002ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f3d9b41739c in g_main_context_iteration (context=0x7f3d64002ef0, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f3da60c852b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3d64002e20, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f3da607263a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3d7a3acc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3da5e9eb1c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f3da5ea394f in QThreadPrivate::start(void*) (arg=0xef8440) at thread/qthread_unix.cpp:331
#8  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d7a3ad700) at pthread_create.c:334
#9  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f3d7abae700 (LWP 6146)):
#0  0x00007f3d9b93a07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d963963bb in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f3d963963f9 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d7abae700) at pthread_create.c:334
#4  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f3d7b3af700 (LWP 6147)):
#0  0x00007f3d9b93ccfc in __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f3d9b936bb2 in __GI___pthread_mutex_lock (mutex=0x7f3d9a6cd8d0) at ../nptl/pthread_mutex_lock.c:116
#2  0x00007f3d9a44bf2c in  () at /usr/X11R6/lib64/libGL.so.1
#3  0x00007f3d9a450e01 in  () at /usr/X11R6/lib64/libGL.so.1
#4  0x00007f3d9a451308 in  () at /usr/X11R6/lib64/libGL.so.1
#5  0x00007f3d8f655102 in  () at /usr/lib64/tls/libnvidia-tls.so.361.28
#6  0x00007f3d9b459290 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7f3d7b3aeab0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#7  0x00007f3d9b459290 in g_wakeup_acknowledge (wakeup=0x7f3d70002780) at gwakeup.c:210
#8  0x00007f3d9b416dc4 in g_main_context_check (context=context@entry=0x7f3d6c004130, max_priority=2147483647, fds=fds@entry=0x7f3d6c008dc0, n_fds=n_fds@entry=1) at gmain.c:3632
#9  0x00007f3d9b417238 in g_main_context_iterate (context=context@entry=0x7f3d6c004130, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3837
#10 0x00007f3d9b41739c in g_main_context_iteration (context=0x7f3d6c004130, may_block=may_block@entry=1) at gmain.c:3901
#11 0x00007f3da60c852b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3d6c0ba1d0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#12 0x00007f3da607263a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3d7b3aec90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#13 0x00007f3da5e9eb1c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#14 0x00007f3da5ea394f in QThreadPrivate::start(void*) (arg=0x15c8580) at thread/qthread_unix.cpp:331
#15 0x00007f3d9b9344a4 in start_thread (arg=0x7f3d7b3af700) at pthread_create.c:334
#16 0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f3d1edbb700 (LWP 6149)):
#0  0x00007f3d9b93cd9a in __lll_unlock_wake () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:371
#1  0x00007f3d9b938121 in __pthread_mutex_unlock_usercnt (mutex=0x7f3d9a6cd8d0, decr=<optimized out>) at pthread_mutex_unlock.c:57
#2  0x00007f3d9a44bc45 in  () at /usr/X11R6/lib64/libGL.so.1
#3  0x00007f3d9a4512ab in  () at /usr/X11R6/lib64/libGL.so.1
#4  0x00007f3d8f6550f1 in  () at /usr/lib64/tls/libnvidia-tls.so.361.28
#5  0x00007f3d9b459290 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7f3d1edbaab0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#6  0x00007f3d9b459290 in g_wakeup_acknowledge (wakeup=0x7f3d64002200) at gwakeup.c:210
#7  0x00007f3d9b416dc4 in g_main_context_check (context=context@entry=0x7f3d180009b0, max_priority=2147483647, fds=fds@entry=0x7f3d18001630, n_fds=n_fds@entry=1) at gmain.c:3632
#8  0x00007f3d9b417238 in g_main_context_iterate (context=context@entry=0x7f3d180009b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3837
#9  0x00007f3d9b41739c in g_main_context_iteration (context=0x7f3d180009b0, may_block=may_block@entry=1) at gmain.c:3901
#10 0x00007f3da60c852b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3d180008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#11 0x00007f3da607263a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3d1edbac90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#12 0x00007f3da5e9eb1c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#13 0x00007f3da5ea394f in QThreadPrivate::start(void*) (arg=0x1495600) at thread/qthread_unix.cpp:331
#14 0x00007f3d9b9344a4 in start_thread (arg=0x7f3d1edbb700) at pthread_create.c:334
#15 0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f3d1e5ba700 (LWP 6151)):
#0  0x00007f3da559822d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3d8f655073 in  () at /usr/lib64/tls/libnvidia-tls.so.361.28
#2  0x00007f3d9b459290 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7f3d1e5b9ab0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  0x00007f3d9b459290 in g_wakeup_acknowledge (wakeup=0x7f3d6c002390) at gwakeup.c:210
#4  0x00007f3d9b416dc4 in g_main_context_check (context=context@entry=0x7f3d100009b0, max_priority=2147483647, fds=fds@entry=0x7f3d100013c0, n_fds=n_fds@entry=1) at gmain.c:3632
#5  0x00007f3d9b417238 in g_main_context_iterate (context=context@entry=0x7f3d100009b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3837
#6  0x00007f3d9b41739c in g_main_context_iteration (context=0x7f3d100009b0, may_block=may_block@entry=1) at gmain.c:3901
#7  0x00007f3da60c852b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f3d100008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#8  0x00007f3da607263a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3d1e5b9c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#9  0x00007f3da5e9eb1c in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#10 0x00007f3da5ea394f in QThreadPrivate::start(void*) (arg=0x11c64f0) at thread/qthread_unix.cpp:331
#11 0x00007f3d9b9344a4 in start_thread (arg=0x7f3d1e5ba700) at pthread_create.c:334
#12 0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f3d1cc13700 (LWP 6153)):
#0  0x00007f3d9b93a07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d960a4764 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f3d963c5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d1cc13700) at pthread_create.c:334
#4  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f3d0ffff700 (LWP 6154)):
#0  0x00007f3d9b93a07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d960a5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f3d963c5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d0ffff700) at pthread_create.c:334
#4  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f3d0f7fe700 (LWP 6155)):
#0  0x00007f3d9b93a07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d960a5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f3d963c5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d0f7fe700) at pthread_create.c:334
#4  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f3d07fff700 (LWP 6156)):
#0  0x00007f3d9b93a07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d960a5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f3d963c5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d07fff700) at pthread_create.c:334
#4  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f3d0effd700 (LWP 6157)):
#0  0x00007f3d9b93a07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d960a5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f3d963c5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d0effd700) at pthread_create.c:334
#4  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f3d0e7fc700 (LWP 6158)):
#0  0x00007f3d9b93a07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d960a5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f3d963c5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d0e7fc700) at pthread_create.c:334
#4  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3d0dffb700 (LWP 6159)):
#0  0x00007f3d9b93a07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d960a5793 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f3d963c5441 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f3d9b9344a4 in start_thread (arg=0x7f3d0dffb700) at pthread_create.c:334
#4  0x00007f3da55a4bdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3da855f940 (LWP 3862)):
[KCrash Handler]
#6  0x00007f3da7dbfc80 in  () at /usr/lib64/libkmailprivate.so.5
#7  0x00007f3da7def40c in KMMainWidget::updateMessageActionsDelayed() () at /usr/lib64/libkmailprivate.so.5
#8  0x00007f3da7defcb3 in KMMainWidget::updateMessageActions(bool) () at /usr/lib64/libkmailprivate.so.5
#9  0x00007f3da7e002c1 in KMMainWidget::setupActions() () at /usr/lib64/libkmailprivate.so.5
#10 0x00007f3da7e0476b in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig>) () at /usr/lib64/libkmailprivate.so.5
#11 0x00007f3da7db2662 in  () at /usr/lib64/libkmailprivate.so.5
#12 0x00007f3da7dc31c7 in KMKernel::openReader(bool) () at /usr/lib64/libkmailprivate.so.5
#13 0x00007f3da7dcdc7c 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 0x00007f3da7dcf1e3 in KMKernel::handleCommandLine(bool, QStringList const&, QString const&) () at /usr/lib64/libkmailprivate.so.5
#15 0x0000000000404f03 in KMailApplication::activate(QStringList const&, QString const&) ()
#16 0x00007f3da81c997e in KontactInterface::PimUniqueApplication::newInstance(QByteArray const&, QStringList const&, QString const&) () at /usr/lib64/libKF5KontactInterface.so.5
#17 0x00007f3da81caa72 in  () at /usr/lib64/libKF5KontactInterface.so.5
#18 0x00007f3da81cadc3 in KontactInterface::PimUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/libKF5KontactInterface.so.5
#19 0x00007f3da457a433 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=this@entry=0xd8e110, object=object@entry=0x7ffc546fb830, msg=..., metaTypes=..., slotIdx=30) at qdbusintegrator.cpp:978
#20 0x00007f3da457dfd0 in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (this=this@entry=0xd8e110, object=0x7ffc546fb830, flags=81, msg=...) at qdbusintegrator.cpp:885
#21 0x00007f3da457e92b in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) (this=0xd8e110, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1486
#22 0x00007f3da457fbbe in QDBusActivateObjectEvent::placeMetaCall(QObject*) (this=0xf478d0) at qdbusintegrator.cpp:1580
#23 0x00007f3da60a2d79 in QObject::event(QEvent*) (this=this@entry=0x7ffc546fb830, e=e@entry=0xf478d0) at kernel/qobject.cpp:1239
#24 0x00007f3da607a24c in QCoreApplication::event(QEvent*) (this=this@entry=0x7ffc546fb830, e=e@entry=0xf478d0) at kernel/qcoreapplication.cpp:1728
#25 0x00007f3da65b51f4 in QGuiApplication::event(QEvent*) (this=this@entry=0x7ffc546fb830, e=e@entry=0xf478d0) at kernel/qguiapplication.cpp:1546
#26 0x00007f3da7238ec8 in QApplication::event(QEvent*) (this=0x7ffc546fb830, e=0xf478d0) at kernel/qapplication.cpp:2074
#27 0x00007f3da72358cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0xd05840, receiver=receiver@entry=0x7ffc546fb830, e=e@entry=0xf478d0) at kernel/qapplication.cpp:3716
#28 0x00007f3da723a9d6 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc546fb830, receiver=0x7ffc546fb830, e=0xf478d0) at kernel/qapplication.cpp:3499
#29 0x00007f3da6074cf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffc546fb830, receiver=0x7ffc546fb830, event=event@entry=0xf478d0) at kernel/qcoreapplication.cpp:965
#30 0x00007f3da6077016 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0xf478d0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#31 0x00007f3da6077016 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xd00b90) at kernel/qcoreapplication.cpp:1593
#32 0x00007f3da60774f8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#33 0x00007f3da60c8103 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0xd626e0) at kernel/qeventdispatcher_glib.cpp:271
#34 0x00007f3d9b4170c7 in g_main_context_dispatch (context=0x7f3d7c001710) at gmain.c:3154
#35 0x00007f3d9b4170c7 in g_main_context_dispatch (context=context@entry=0x7f3d7c001710) at gmain.c:3769
#36 0x00007f3d9b4172f8 in g_main_context_iterate (context=context@entry=0x7f3d7c001710, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#37 0x00007f3d9b41739c in g_main_context_iteration (context=0x7f3d7c001710, may_block=may_block@entry=1) at gmain.c:3901
#38 0x00007f3da60c850f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xd5dce0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#39 0x00007f3da607263a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffc546fb180, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#40 0x00007f3da6e85bce in KJob::exec() (this=0x11e26e0) at /usr/src/debug/kcoreaddons-5.18.0/src/lib/jobs/kjob.cpp:199
#41 0x00007f3da7dc45b2 in KMKernel::cleanup() () at /usr/lib64/libkmailprivate.so.5
#42 0x0000000000404522 in main ()

Reported using DrKonqi
Comment 1 Bruno Friedmann 2016-02-19 09:33:27 UTC
I've digging a bit of what happening there. I discovered that when I opened my kde session, there's a kmail running session which is totally invisible. Sometimes (I've don't been able to bi-sect the root cause) it seems kmail doesn't close on shutdown, and is then restored at next opening session.

I've run several tests, and if kmail is running, I kill it (Kill -9). then starting kmail doesn't show the backtrace. 
There's a complete strace available at https://dav.ioda.net/index.php/s/1TFW9LmCEmdLEea/download
(4.5MB)

So the problem looks more that something is still hanging kmail at shutdown.

I've an ownlcoud agent for my contact (visible) and my agenda (resources doesn't sync and don't know why)

Laurent you still have the account on the same server. dav.ioda.net
Comment 2 Justin Zobel 2020-12-17 05:27:37 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 3 Bruno Friedmann 2020-12-17 10:41:15 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)