Bug 362339

Summary: Kontact crashes on startup with SEGFAULT "Could not create collection trash, resourceId: 3"
Product: [Applications] kontact Reporter: Florian <floeschie>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: eric.vanh, freekdekruijf, gianfrus, met.wurst, niclas.rossberger
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: ~/.local/share/akonadi/akonadiserver.error
another backtrace
traceback of akonadi-server
traceback of akonadi-server

Description Florian 2016-04-27 07:49:24 UTC
Application: kontact (5.1.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-21-generic x86_64
Distribution: Ubuntu 16.04 LTS

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

I added Kontact to the Autostart programs, but it also happens when I start Kontact manually. Same happens when I start KMail standalone, so I assume it is a KMail bug.

- Kubuntu 16.04 (upgraded from 15.10)
- kmail 4:15.12.3-0ubuntu1
- kontact 4:15.12.3-0ubuntu1
- akonadi-backend-mysql 4:15.12.3-0ubuntu6
- akonadi-server 4:15.12.3-0ubuntu6

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2db4909940 (LWP 2995))]

Thread 21 (Thread 0x7f2d8f5ef700 (LWP 2997)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2daff2888b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f2daff288c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f2dabceb6fa in start_thread (arg=0x7f2d8f5ef700) at pthread_create.c:333
#4  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7f2d4c361700 (LWP 2998)):
#0  0x00007f2dab505a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c0d49 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c12c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d4c360c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f2db25b184e in QThreadPrivate::start (arg=0x9a14a0) at thread/qthread_unix.cpp:331
#8  0x00007f2dabceb6fa in start_thread (arg=0x7f2d4c361700) at pthread_create.c:333
#9  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 19 (Thread 0x7f2d49f1e700 (LWP 2999)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2dafc36a74 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f2daff58541 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f2dabceb6fa in start_thread (arg=0x7f2d49f1e700) at pthread_create.c:333
#4  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 18 (Thread 0x7f2d496fe700 (LWP 3000)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2dafc37aa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f2daff58541 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f2dabceb6fa in start_thread (arg=0x7f2d496fe700) at pthread_create.c:333
#4  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 17 (Thread 0x7f2d48efd700 (LWP 3001)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2dafc37aa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f2daff58541 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f2dabceb6fa in start_thread (arg=0x7f2d48efd700) at pthread_create.c:333
#4  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7f2d43fff700 (LWP 3002)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2dafc37aa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f2daff58541 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f2dabceb6fa in start_thread (arg=0x7f2d43fff700) at pthread_create.c:333
#4  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f2d2b5c5700 (LWP 3003)):
#0  0x00007f2db1ca19cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f2dab5046c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c0e04 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dab4c12c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d2b5c4c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007f2db25b184e in QThreadPrivate::start (arg=0xdb8bb0) at thread/qthread_unix.cpp:331
#9  0x00007f2dabceb6fa in start_thread (arg=0x7f2d2b5c5700) at pthread_create.c:333
#10 0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f2d2adc4700 (LWP 3005)):
#0  0x00007f2db27e6a2e in QTimerInfoList::repairTimersIfNeeded (this=0x7f2d1c002ed0) at kernel/qtimerinfo_unix.cpp:155
#1  0x00007f2db27e6aa3 in QTimerInfoList::timerWait (this=0x7f2d1c002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:382
#2  0x00007f2db27e7e7e in timerSourcePrepareHelper (timeout=0x7f2d2adc3ac4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#3  timerSourcePrepare (source=<optimized out>, timeout=0x7f2d2adc3ac4) at kernel/qeventdispatcher_glib.cpp:160
#4  0x00007f2dab4c08ad in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2dab4c124b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d1c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#8  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d2adc3c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#9  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#10 0x00007f2db25b184e in QThreadPrivate::start (arg=0xd4b900) at thread/qthread_unix.cpp:331
#11 0x00007f2dabceb6fa in start_thread (arg=0x7f2d2adc4700) at pthread_create.c:333
#12 0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f2d2a5c3700 (LWP 3007)):
#0  0x00007f2dab505a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c0d49 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c12c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d2a5c2c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f2db25b184e in QThreadPrivate::start (arg=0xda7060) at thread/qthread_unix.cpp:331
#8  0x00007f2dabceb6fa in start_thread (arg=0x7f2d2a5c3700) at pthread_create.c:333
#9  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f2d29baa700 (LWP 3009)):
#0  0x00007f2dab4c0787 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c124b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d29ba9c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f2db25b184e in QThreadPrivate::start (arg=0xdd92d0) at thread/qthread_unix.cpp:331
#7  0x00007f2dabceb6fa in start_thread (arg=0x7f2d29baa700) at pthread_create.c:333
#8  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f2d293a9700 (LWP 3011)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007f2db1ca5e82 in poll () at ../sysdeps/unix/syscall-template.S:84
#2  0x00007f2dab4c131c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d293a8c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f2db25b184e in QThreadPrivate::start (arg=0xe5ff60) at thread/qthread_unix.cpp:331
#8  0x00007f2dabceb6fa in start_thread (arg=0x7f2d293a9700) at pthread_create.c:333
#9  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f2d28ba8700 (LWP 3013)):
#0  0x00007f2dab4c08c1 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c124b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d28ba7c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f2db25b184e in QThreadPrivate::start (arg=0xe9b9d0) at thread/qthread_unix.cpp:331
#7  0x00007f2dabceb6fa in start_thread (arg=0x7f2d28ba8700) at pthread_create.c:333
#8  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f2d1310b700 (LWP 3015)):
#0  0x00007f2dab4be3b7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c084b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c124b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d1310ac80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f2db25b184e in QThreadPrivate::start (arg=0xeebfc0) at thread/qthread_unix.cpp:331
#8  0x00007f2dabceb6fa in start_thread (arg=0x7f2d1310b700) at pthread_create.c:333
#9  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f2d1290a700 (LWP 3017)):
#0  0x00007f2dab505a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c1436 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#3  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d12909c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#4  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#5  0x00007f2db25b184e in QThreadPrivate::start (arg=0xf760d0) at thread/qthread_unix.cpp:331
#6  0x00007f2dabceb6fa in start_thread (arg=0x7f2d1290a700) at pthread_create.c:333
#7  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f2d12109700 (LWP 3019)):
#0  0x00007f2dab505a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c0d49 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c12c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2d040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d12108c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f2db25b184e in QThreadPrivate::start (arg=0x101ac00) at thread/qthread_unix.cpp:331
#8  0x00007f2dabceb6fa in start_thread (arg=0x7f2d12109700) at pthread_create.c:333
#9  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f2d108c0700 (LWP 3021)):
#0  0x00007f2dab4c0ac0 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c1297 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2cf80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2d108bfc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f2db25b184e in QThreadPrivate::start (arg=0x101bd30) at thread/qthread_unix.cpp:331
#7  0x00007f2dabceb6fa in start_thread (arg=0x7f2d108c0700) at pthread_create.c:333
#8  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f2cfffff700 (LWP 3023)):
#0  0x00007f2dab505a49 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c08b9 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c124b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2cf40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2cffffec80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f2db25b184e in QThreadPrivate::start (arg=0x11a3780) at thread/qthread_unix.cpp:331
#8  0x00007f2dabceb6fa in start_thread (arg=0x7f2cfffff700) at pthread_create.c:333
#9  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f2cf3a4d700 (LWP 3034)):
#0  0x00007f2dab505a49 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c0ea6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c1380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2cec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2cf3a4cc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f2db25b184e in QThreadPrivate::start (arg=0x132fe30) at thread/qthread_unix.cpp:331
#8  0x00007f2dabceb6fa in start_thread (arg=0x7f2cf3a4d700) at pthread_create.c:333
#9  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f2cf324c700 (LWP 3035)):
#0  0x00007f2dab505a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2dab4c08a0 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2dab4c124b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2ce80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2cf324bc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f2db25b184e in QThreadPrivate::start (arg=0x125cf80) at thread/qthread_unix.cpp:331
#8  0x00007f2dabceb6fa in start_thread (arg=0x7f2cf324c700) at pthread_create.c:333
#9  0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f2cc49e9700 (LWP 3051)):
#0  0x00007fff83be5b16 in clock_gettime ()
#1  0x00007f2db1cbffb6 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7f2cc49e89f0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f2db2661c16 in qt_clock_gettime (ts=0x7f2cc49e89f0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f2db27e6529 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f2c9c002ad0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f2db27e6a95 in QTimerInfoList::timerWait (this=0x7f2c9c002ad0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f2db27e7e7e in timerSourcePrepareHelper (timeout=0x7f2cc49e8ac4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f2cc49e8ac4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f2dab4c08ad in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f2dab4c124b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f2db27e8a9b in QEventDispatcherGlib::processEvents (this=0x7f2c9c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7f2cc49e8c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f2db25ac8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f2db25b184e in QThreadPrivate::start (arg=0x1a994b0) at thread/qthread_unix.cpp:331
#16 0x00007f2dabceb6fa in start_thread (arg=0x7f2cc49e9700) at pthread_create.c:333
#17 0x00007f2db1cb1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f2db4909940 (LWP 2995)):
[KCrash Handler]
#6  QHash<QObject*, unsigned int>::value (akey=<synthetic pointer>, this=0x18) at ../../include/QtCore/../../src/corelib/tools/qhash.h:658
#7  QAccessible::queryAccessibleInterface (object=0xbbf960) at accessible/qaccessible.cpp:664
#8  0x00007f2db2ab20f6 in QAccessibleEvent::accessibleInterface (this=0x7fff83ba5f50) at accessible/qaccessible.cpp:1697
#9  0x00007f2db2ab26b1 in QAccessible::updateAccessibility (event=0x7fff83ba5f50) at accessible/qaccessible.cpp:850
#10 0x00007f2db341e059 in QLabel::setText (this=this@entry=0xbbf960, text=...) at widgets/qlabel.cpp:314
#11 0x00007f2dada4a034 in KSqueezedTextLabel::squeezeTextToLabel (this=0xbbf960) at ../../src/ksqueezedtextlabel.cpp:120
#12 0x00007f2db44b3391 in ?? () from /usr/lib/x86_64-linux-gnu/libkontactprivate.so.5
#13 0x00007f2db27c0fca in QMetaObject::activate (sender=0xe93b10, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3713
#14 0x00007f2db0d030a2 in KPIM::BroadcastStatus::statusMsg(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5Libkdepim.so.5
#15 0x00007f2db27c0e4f in QtPrivate::QSlotObjectBase::call (a=0x7fff83ba62e0, r=0x123ab20, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#16 QMetaObject::activate (sender=0x126cf40, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3698
#17 0x00007f2cff30d525 in Akregator::FrameManager::signalStatusText(QString const&) () from /usr/lib/x86_64-linux-gnu/libakregatorprivate.so.5
#18 0x00007f2db27c0e4f in QtPrivate::QSlotObjectBase::call (a=0x7fff83ba6420, r=0x126cf40, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#19 QMetaObject::activate (sender=0x1339dd0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3698
#20 0x00007f2cff30ce87 in Akregator::Frame::signalStatusText(Akregator::Frame*, QString const&) () from /usr/lib/x86_64-linux-gnu/libakregatorprivate.so.5
#21 0x00007f2cff300f32 in Akregator::Frame::slotSetStatusText(QString const&) () from /usr/lib/x86_64-linux-gnu/libakregatorprivate.so.5
#22 0x00007f2cff5b16ef in Akregator::MainWidget::slotFetchingStopped() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/akregatorpart.so
#23 0x00007f2db27c0e4f in QtPrivate::QSlotObjectBase::call (a=0x7fff83ba6590, r=0x1271b50, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#24 QMetaObject::activate (sender=0x126b690, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3698
#25 0x00007f2cff30068a in Akregator::FetchQueue::slotAbort() () from /usr/lib/x86_64-linux-gnu/libakregatorprivate.so.5
#26 0x00007f2cff30078c in Akregator::FetchQueue::~FetchQueue() () from /usr/lib/x86_64-linux-gnu/libakregatorprivate.so.5
#27 0x00007f2cff3007d9 in Akregator::FetchQueue::~FetchQueue() () from /usr/lib/x86_64-linux-gnu/libakregatorprivate.so.5
#28 0x00007f2cff2ff3bb in Akregator::Kernel::~Kernel() () from /usr/lib/x86_64-linux-gnu/libakregatorprivate.so.5
#29 0x00007f2db1be4fe8 in __run_exit_handlers (status=1, listp=0x7f2db1f6e5f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#30 0x00007f2db1be5035 in __GI_exit (status=<optimized out>) at exit.c:104
#31 0x00007f2d2ef67dc3 in MailCommon::Kernel::emergencyExit(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5MailCommon.so.5
#32 0x00007f2d2ef681dd in MailCommon::Kernel::createDefaultCollectionDone(KJob*) () from /usr/lib/x86_64-linux-gnu/libKF5MailCommon.so.5
#33 0x00007f2db27c0e4f in QtPrivate::QSlotObjectBase::call (a=0x7fff83ba6940, r=0xdefd70, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#34 QMetaObject::activate (sender=sender@entry=0xde89d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff83ba6940) at kernel/qobject.cpp:3698
#35 0x00007f2db27c17d7 in QMetaObject::activate (sender=sender@entry=0xde89d0, m=m@entry=0x7f2db3a94520 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff83ba6940) at kernel/qobject.cpp:3578
#36 0x00007f2db38436c2 in KJob::result (this=this@entry=0xde89d0, _t1=_t1@entry=0xde89d0) at ./moc_kjob.cpp:555
#37 0x00007f2db3844281 in KJob::finishJob (this=0xde89d0, emitResult=<optimized out>) at ../../../src/lib/jobs/kjob.cpp:109
#38 0x00007f2db12b711a in Akonadi::TransactionSequence::slotResult(KJob*) () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#39 0x00007f2db12b1792 in Akonadi::SpecialCollectionsRequestJob::slotResult(KJob*) () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#40 0x00007f2db12b6520 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#41 0x00007f2db27c0fca in QMetaObject::activate (sender=sender@entry=0xded090, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff83ba6bf0) at kernel/qobject.cpp:3713
#42 0x00007f2db27c17d7 in QMetaObject::activate (sender=sender@entry=0xded090, m=m@entry=0x7f2db3a94520 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff83ba6bf0) at kernel/qobject.cpp:3578
#43 0x00007f2db38436c2 in KJob::result (this=this@entry=0xded090, _t1=_t1@entry=0xded090) at ./moc_kjob.cpp:555
#44 0x00007f2db3844281 in KJob::finishJob (this=0xded090, emitResult=<optimized out>) at ../../../src/lib/jobs/kjob.cpp:109
#45 0x00007f2db129c230 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#46 0x00007f2db129c162 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#47 0x00007f2db12618f6 in Akonadi::SessionPrivate::handleCommand(long long, Akonadi::Protocol::Command const&) () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#48 0x00007f2db1263838 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#49 0x00007f2db27c1ea1 in QObject::event (this=0xd1c270, e=<optimized out>) at kernel/qobject.cpp:1239
#50 0x00007f2db32d805c in QApplicationPrivate::notify_helper (this=this@entry=0x891d20, receiver=receiver@entry=0xd1c270, e=e@entry=0x7f2d1c014650) at kernel/qapplication.cpp:3716
#51 0x00007f2db32dd516 in QApplication::notify (this=0x7fff83ba75f0, receiver=0xd1c270, e=0x7f2d1c014650) at kernel/qapplication.cpp:3499
#52 0x00007f2db279262b in QCoreApplication::notifyInternal (this=0x7fff83ba75f0, receiver=0xd1c270, event=event@entry=0x7f2d1c014650) at kernel/qcoreapplication.cpp:965
#53 0x00007f2db2794a26 in QCoreApplication::sendEvent (event=0x7f2d1c014650, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x88f740) at kernel/qcoreapplication.cpp:1593
#55 0x00007f2db2794f08 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#56 0x00007f2db27e8673 in postEventSourceDispatch (s=0x8ce550) at kernel/qeventdispatcher_glib.cpp:271
#57 0x00007f2dab4c1127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f2dab4c1380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f2dab4c142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f2db27e8a7f in QEventDispatcherGlib::processEvents (this=0x8c5a90, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#61 0x00007f2db278fdea in QEventLoop::exec (this=this@entry=0x7fff83ba7350, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#62 0x00007f2db2797e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#63 0x0000000000404ae9 in main ()

Reported using DrKonqi
Comment 1 Florian 2016-04-27 07:53:23 UTC
Probably related: #255104
Comment 2 niclas.rossberger 2016-04-28 16:18:16 UTC
I have the same error but the "resourceId" is 4 instead of 3.
This happended after I changed the thash-folders of my gmx.de and googlemail account to the corresponding IMAP-folders.
By ignoring the errormessage and using kmail I found out, that I can delete emails from my gmx account (and see them later in the corresponding thrash folder). I couldn't do the same on my googlemail account. So the error is very likely at my googlemail account.
Comment 3 niclas.rossberger 2016-04-28 19:41:27 UTC
Created attachment 98667 [details]
~/.local/share/akonadi/akonadiserver.error
Comment 4 niclas.rossberger 2016-04-28 19:44:34 UTC
Created attachment 98668 [details]
another backtrace
Comment 5 niclas.rossberger 2016-04-28 20:32:40 UTC
The problem was the local folder. After executing "rm -rf .local/share/local-mail/trash/" KMail works normal again.
[Source]: https://forum.kde.org/viewtopic.php?f=215&t=120777
Comment 6 Gianluca Frustagli 2016-12-19 17:38:38 UTC
(In reply to niclas.rossberger from comment #5)
> The problem was the local folder. After executing "rm -rf
> .local/share/local-mail/trash/" KMail works normal again.
> [Source]: https://forum.kde.org/viewtopic.php?f=215&t=120777

That workaround didn't worked form me, instead the solution from 'progdan' in https://forum.kde.org/viewtopic.php?f=215&t=120777&p=368778#p368778 , that implies use of 'akonadiconsole', worked.

Bug is substantially equivalent to #339214 and #366388 but either surprisingly yet in "unconfirmed" state.

All are related to change of location of trash folder from local to an IMAP folder.

But, in my opinion, this bug SHOULD indeed be taken into proper attention as it's particularly annoying: it stops KMail immediately after execution and discourages non-skilled users. Furthermore the workaround can not be readily found.
Comment 7 Christoph Feck 2016-12-20 18:28:43 UTC
*** Bug 373748 has been marked as a duplicate of this bug. ***
Comment 8 Freek de Kruijf 2017-01-02 22:04:37 UTC
I also have regular crashes of akonadi-server when closing kontact. See the two attached traceback files.
I also have Trash folders pointing to the trash folders of the 5 IMAP-servers.
I had a message about a duplicate entry in the MySQL database, which I could not solve. Finally I solved that by moving the folder ~/.local/share/akonadi to ~/.local/share/akonadi.sav, which effectively destroys the MySQL database. But starting kontact apparently rebuild the database from scratch. Inspection showed that I had to redirect the trash again to the trash folders of each IMAP server, which seems to be the only configuration that is lost. Finally I destroyed ~/.local/share/akonadi.sav.
Comment 9 Freek de Kruijf 2017-01-02 22:06:15 UTC
Created attachment 103155 [details]
traceback of akonadi-server
Comment 10 Freek de Kruijf 2017-01-02 22:07:04 UTC
Created attachment 103156 [details]
traceback of akonadi-server
Comment 11 Christoph Feck 2017-01-10 00:57:07 UTC
*** Bug 359607 has been marked as a duplicate of this bug. ***
Comment 12 Freek de Kruijf 2017-01-10 09:53:06 UTC

*** This bug has been marked as a duplicate of bug 339214 ***