Bug 361895 - Crash when open kontact (or kmail)
Summary: Crash when open kontact (or kmail)
Status: RESOLVED UPSTREAM
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 5.1.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-17 12:12 UTC by Vito
Modified: 2018-01-31 15: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 Vito 2016-04-17 12:12:38 UTC
Application: kontact (5.1.3)

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

-- Information about the crash:
- What I was doing when the application crashed:
Nothing. When I open kontact it crashs.

- Custom settings of the application:
I have a IMAP account with very much emails. Seems that it crashs when sorting the emails.

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 0x7fcbfb049940 (LWP 13589))]

Thread 27 (Thread 0x7fcbd62a8700 (LWP 13591)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcbf666b88b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcbf666b8c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcbf242e6fa in start_thread (arg=0x7fcbd62a8700) at pthread_create.c:333
#4  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 26 (Thread 0x7fcb92c61700 (LWP 13592)):
#0  QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:213
#1  0x00007fcbf8f2affa in postEventSourcePrepare (s=0x7fcb8c0012d0, timeout=0x7fcb92c60ac4) at kernel/qeventdispatcher_glib.cpp:247
#2  0x00007fcbf1c038ad in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c0424b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb8c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb92c60c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x1d97160) at thread/qthread_unix.cpp:331
#9  0x00007fcbf242e6fa in start_thread (arg=0x7fcb92c61700) at pthread_create.c:333
#10 0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 25 (Thread 0x7fcb8bfff700 (LWP 13593)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcbf6379a74 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcbf669b541 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcbf242e6fa in start_thread (arg=0x7fcb8bfff700) at pthread_create.c:333
#4  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 24 (Thread 0x7fcb8b7fe700 (LWP 13594)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcbf637aaa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcbf669b541 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcbf242e6fa in start_thread (arg=0x7fcb8b7fe700) at pthread_create.c:333
#4  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 23 (Thread 0x7fcb8affd700 (LWP 13595)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcbf637aaa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcbf669b541 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcbf242e6fa in start_thread (arg=0x7fcb8affd700) at pthread_create.c:333
#4  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 22 (Thread 0x7fcb8a7fc700 (LWP 13596)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcbf637aaa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcbf669b541 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcbf242e6fa in start_thread (arg=0x7fcb8a7fc700) at pthread_create.c:333
#4  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 21 (Thread 0x7fcb70e75700 (LWP 13597)):
#0  0x00007ffd897bfab8 in clock_gettime ()
#1  0x00007fcbf8402fb6 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7fcb70e749f0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fcbf8da4c16 in qt_clock_gettime (ts=0x7fcb70e749f0, 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  0x00007fcbf8f29529 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fcb6c002cd0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007fcbf8f29a95 in QTimerInfoList::timerWait (this=0x7fcb6c002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007fcbf8f2ae7e in timerSourcePrepareHelper (timeout=0x7fcb70e74ac4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7fcb70e74ac4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007fcbf1c038ad in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fcbf1c0424b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb70e74c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x1d03ea0) at thread/qthread_unix.cpp:331
#16 0x00007fcbf242e6fa in start_thread (arg=0x7fcb70e75700) at pthread_create.c:333
#17 0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7fcb6bfff700 (LWP 13599)):
#0  0x00007fcbf83e8e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcbf1c0431c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb6bffec80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x2146120) at thread/qthread_unix.cpp:331
#7  0x00007fcbf242e6fa in start_thread (arg=0x7fcb6bfff700) at pthread_create.c:333
#8  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 19 (Thread 0x7fcb6b7fe700 (LWP 13601)):
#0  0x00007fcbf1c48a49 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c033f4 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c042d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb6b7fdc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x21c79b0) at thread/qthread_unix.cpp:331
#8  0x00007fcbf242e6fa in start_thread (arg=0x7fcb6b7fe700) at pthread_create.c:333
#9  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 18 (Thread 0x7fcb6affd700 (LWP 13603)):
#0  0x00007fcbf1c48a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c03eba in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c04380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb6affcc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x21f8450) at thread/qthread_unix.cpp:331
#8  0x00007fcbf242e6fa in start_thread (arg=0x7fcb6affd700) at pthread_create.c:333
#9  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 17 (Thread 0x7fcb6a7fc700 (LWP 13605)):
#0  0x00007fcbf1c48a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c03cda in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c042c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb6a7fbc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x226c8e0) at thread/qthread_unix.cpp:331
#8  0x00007fcbf242e6fa in start_thread (arg=0x7fcb6a7fc700) at pthread_create.c:333
#9  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7fcb69ffb700 (LWP 13607)):
#0  0x00007fcbf83e8e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcbf1c0431c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb69ffac80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x22a9fd0) at thread/qthread_unix.cpp:331
#7  0x00007fcbf242e6fa in start_thread (arg=0x7fcb69ffb700) at pthread_create.c:333
#8  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7fcb68b08700 (LWP 13609)):
#0  0x00007fcbf83e8e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcbf1c0431c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb68b07c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x2304ce0) at thread/qthread_unix.cpp:331
#7  0x00007fcbf242e6fa in start_thread (arg=0x7fcb68b08700) at pthread_create.c:333
#8  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7fcb53fff700 (LWP 13611)):
#0  0x00007fcbf1c48a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c03d49 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c042c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb53ffec80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x23aa1d0) at thread/qthread_unix.cpp:331
#8  0x00007fcbf242e6fa in start_thread (arg=0x7fcb53fff700) at pthread_create.c:333
#9  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7fcb537fe700 (LWP 13613)):
#0  0x00007fcbf83e49cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcbf1c476c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c03e04 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c042c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb537fdc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x23b76b0) at thread/qthread_unix.cpp:331
#9  0x00007fcbf242e6fa in start_thread (arg=0x7fcb537fe700) at pthread_create.c:333
#10 0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7fcb521c0700 (LWP 13615)):
#0  0x00007fcbf83e8e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcbf1c0431c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb521bfc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x25579b0) at thread/qthread_unix.cpp:331
#7  0x00007fcbf242e6fa in start_thread (arg=0x7fcb521c0700) at pthread_create.c:333
#8  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7fcb519bf700 (LWP 13617)):
#0  0x00007fcbf1c01340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c03c7a in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c042c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb519bec80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x25ac480) at thread/qthread_unix.cpp:331
#8  0x00007fcbf242e6fa in start_thread (arg=0x7fcb519bf700) at pthread_create.c:333
#9  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7fcb50831700 (LWP 13619)):
#0  0x00007fcbf83e8e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcbf1c0431c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb50830c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x2658c20) at thread/qthread_unix.cpp:331
#7  0x00007fcbf242e6fa in start_thread (arg=0x7fcb50831700) at pthread_create.c:333
#8  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fcb37fff700 (LWP 13621)):
#0  0x00007fcbf1c03d30 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c042c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb37ffec80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x2665430) at thread/qthread_unix.cpp:331
#7  0x00007fcbf242e6fa in start_thread (arg=0x7fcb37fff700) at pthread_create.c:333
#8  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fcb377fe700 (LWP 13623)):
#0  0x00007fcbf1c013c4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c0384b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0424b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb377fdc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x26dd700) at thread/qthread_unix.cpp:331
#8  0x00007fcbf242e6fa in start_thread (arg=0x7fcb377fe700) at pthread_create.c:333
#9  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fcb36ffd700 (LWP 13625)):
#0  0x00007fcbf1c042d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb2c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#3  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb36ffcc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#4  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#5  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x2767910) at thread/qthread_unix.cpp:331
#6  0x00007fcbf242e6fa in start_thread (arg=0x7fcb36ffd700) at pthread_create.c:333
#7  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fcb367fc700 (LWP 13627)):
#0  0x00007fcbf1c48a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c038a0 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0424b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb367fbc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x27d8d80) at thread/qthread_unix.cpp:331
#8  0x00007fcbf242e6fa in start_thread (arg=0x7fcb367fc700) at pthread_create.c:333
#9  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fcb35ffb700 (LWP 13629)):
#0  0x00007fcbf1bd81a4 in g_ptr_array_set_size () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcbf1c03801 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0424b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb35ffac80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x286f190) at thread/qthread_unix.cpp:331
#8  0x00007fcbf242e6fa in start_thread (arg=0x7fcb35ffb700) at pthread_create.c:333
#9  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fcb1d7a9700 (LWP 13649)):
#0  0x00007fcbf83e49cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcbf1c476c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c03e04 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf1c042c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb1d7a8c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x2a3f200) at thread/qthread_unix.cpp:331
#9  0x00007fcbf242e6fa in start_thread (arg=0x7fcb1d7a9700) at pthread_create.c:333
#10 0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fcb1c84f700 (LWP 13654)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fcbf8cf5a26 in QWaitConditionPrivate::wait_relative (time=30000, this=0x2debaa0) at thread/qwaitcondition_unix.cpp:126
#2  QWaitConditionPrivate::wait (time=30000, this=0x2debaa0) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x2de98b0, mutex=mutex@entry=0x2deb840, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007fcbf8cf14d3 in QThreadPoolThread::run (this=0x2de98a0) at thread/qthreadpool.cpp:127
#5  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x2de98a0) at thread/qthread_unix.cpp:331
#6  0x00007fcbf242e6fa in start_thread (arg=0x7fcb1c84f700) at pthread_create.c:333
#7  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fcb16333700 (LWP 13659)):
#0  0x00007fcbf83e8e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcbf1c0431c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcbf8f2ba9b in QEventDispatcherGlib::processEvents (this=0x7fcb0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7fcb16332c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fcbf8cef8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fcbf8cf484e in QThreadPrivate::start (arg=0x32b1860) at thread/qthread_unix.cpp:331
#7  0x00007fcbf242e6fa in start_thread (arg=0x7fcb16333700) at pthread_create.c:333
#8  0x00007fcbf83f4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fcbfb049940 (LWP 13589)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x221dbe0, proxy_index=...) at itemmodels/qsortfilterproxymodel.cpp:377
#7  0x00007fcbf8e9c7de in QSortFilterProxyModel::mapToSource (proxyIndex=..., this=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:2721
#8  QSortFilterProxyModel::flags (this=<optimized out>, index=...) at itemmodels/qsortfilterproxymodel.cpp:2200
#9  0x00007fcbf8e86d0a in QModelIndex::flags (this=0x2dc9748) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:423
#10 QItemSelection::contains (this=0x221bf68, index=...) at itemmodels/qitemselectionmodel.cpp:443
#11 0x00007fcbf8e87314 in QItemSelectionModel::isSelected (this=<optimized out>, index=...) at itemmodels/qitemselectionmodel.cpp:1408
#12 0x00007fcbf9c5fa33 in QAccessibleTableCell::state (this=0x2dc9720) at accessible/itemviews.cpp:1018
#13 0x00007fcbdede76e9 in AtSpiAdaptor::accessibleInterface (this=this@entry=0x29c32c0, interface=interface@entry=0x2dc9720, function=..., message=..., connection=...) at linuxaccessibility/atspiadaptor.cpp:1410
#14 0x00007fcbdede7c59 in AtSpiAdaptor::accessibleInterface (this=0x29c32c0, interface=0x2dc9720, function=..., message=..., connection=...) at linuxaccessibility/atspiadaptor.cpp:1362
#15 0x00007fcbdeded0bc in AtSpiAdaptor::handleMessage (this=0x29c32c0, message=..., connection=...) at linuxaccessibility/atspiadaptor.cpp:1276
#16 0x00007fcbfb1adabe in QDBusConnectionPrivate::activateObject (this=0x29a3570, node=..., msg=..., pathStartPos=27) at qdbusintegrator.cpp:1423
#17 0x00007fcbfb1af26e in QDBusActivateObjectEvent::placeMetaCall (this=0x2de2110) at qdbusintegrator.cpp:1580
#18 0x00007fcbf8f04ea1 in QObject::event (this=0x29c32c0, e=<optimized out>) at kernel/qobject.cpp:1239
#19 0x00007fcbf9a1b05c in QApplicationPrivate::notify_helper (this=this@entry=0x1c81d20, receiver=receiver@entry=0x29c32c0, e=e@entry=0x2de2110) at kernel/qapplication.cpp:3716
#20 0x00007fcbf9a20516 in QApplication::notify (this=0x7ffd896a3e90, receiver=0x29c32c0, e=0x2de2110) at kernel/qapplication.cpp:3499
#21 0x00007fcbf8ed562b in QCoreApplication::notifyInternal (this=0x7ffd896a3e90, receiver=0x29c32c0, event=event@entry=0x2de2110) at kernel/qcoreapplication.cpp:965
#22 0x00007fcbf8ed7a26 in QCoreApplication::sendEvent (event=0x2de2110, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1c7f740) at kernel/qcoreapplication.cpp:1593
#24 0x00007fcbf8ed7f08 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#25 0x00007fcbf8f2b673 in postEventSourceDispatch (s=0x1cc4720) at kernel/qeventdispatcher_glib.cpp:271
#26 0x00007fcbf1c04127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fcbf1c04380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fcbf1c0442c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fcbf8f2ba7f in QEventDispatcherGlib::processEvents (this=0x1cb7dc0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#30 0x00007fcbf8ed2dea in QEventLoop::exec (this=this@entry=0x7ffd896a3bf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x00007fcbf8edae8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#32 0x0000000000404ae9 in main ()

Possible duplicates by query: bug 283291.

Reported using DrKonqi
Comment 1 Denis Kurz 2018-01-31 15:45:16 UTC
Thank you for reporting!

We have several bug reports involving QSortFilterProxyModels:

https://bugs.kde.org/show_bug.cgi?id=360817
https://bugs.kde.org/show_bug.cgi?id=361895
https://bugs.kde.org/show_bug.cgi?id=362308
https://bugs.kde.org/show_bug.cgi?id=363805
https://bugs.kde.org/show_bug.cgi?id=378283

There are other reports outside KDE PIM, too, that involve Qt <5.8 and QSortFilterProxyModels. As far as I can see, they all involved Qt before version 5.8. I think the crashes were caused by these Qt bugs:

https://bugreports.qt.io/browse/QTBUG-44611
https://bugreports.qt.io/browse/QTBUG-32981

I am not entirely sure if those Qt bugs are actually the culprit, so I won't mark the above bugs as duplicates of each other.

If this crash still happens with a Qt version greater than 5.8, please drop a note and this bug is reopened. You should include a more recent trace and Qt/Kontact versions then.