Bug 384960

Summary: Closing after being unable to load imap message caused crash.
Product: [Applications] kmail2 Reporter: Con Kolivas <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.2.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Email that causes the crash

Description Con Kolivas 2017-09-22 12:16:09 UTC
Application: kmail (5.2.3)

Qt Version: 5.7.1
Frameworks Version: 5.31.0
Operating System: Linux 4.12.10-ck2+ x86_64
Distribution: Ubuntu 17.04

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

I clicked on a message from an imap server which kmail failed to show, instead slowly rendering the kmail information in the email window and the throbber showing it was attempting to download continuously. It failed to make any progress so I quit kmail. Upon receiving notification of new emails it crashed silently in the background for it seems to have never properly shut down.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcb236b7940 (LWP 24394))]

Thread 25 (Thread 0x7fcacd619700 (LWP 25401)):
#0  0x00007ffd8757fb00 in clock_gettime ()
#1  0x00007fcb207d5506 in __GI___clock_gettime (clock_id=1, tp=0x7fcacd6189e0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fcb21175c41 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fcb212f1d39 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcb212f22e5 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb212f368e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb1496ea6d in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fcb1496f49b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fcb169786da in start_thread (arg=0x7fcacd619700) at pthread_create.c:456
#14 0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 24 (Thread 0x7fcad6a96700 (LWP 25399)):
#0  0x00007fcb207bad8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcb1496f576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb169786da in start_thread (arg=0x7fcad6a96700) at pthread_create.c:456
#8  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 23 (Thread 0x7fcacce18700 (LWP 25397)):
#0  0x00007fcb149b4ed9 in g_mutex_lock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcb1496e947 in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f49b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fcb169786da in start_thread (arg=0x7fcacce18700) at pthread_create.c:456
#9  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 22 (Thread 0x7fca87ffd700 (LWP 25395)):
#0  0x00007fcb207bad8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcb1496f576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb169786da in start_thread (arg=0x7fca87ffd700) at pthread_create.c:456
#8  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 21 (Thread 0x7fcad7297700 (LWP 25393)):
#0  0x00007fcb149b4ef4 in g_mutex_unlock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcb1496ea60 in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f49b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fcb169786da in start_thread (arg=0x7fcad7297700) at pthread_create.c:456
#9  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 20 (Thread 0x7fca6e3fc700 (LWP 25391)):
#0  0x00007fcb207bad8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcb1496f576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb169786da in start_thread (arg=0x7fca6e3fc700) at pthread_create.c:456
#8  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 19 (Thread 0x7fca51db6700 (LWP 24445)):
#0  0x00007fcb212f381b in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fcb1496ea6d in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f49b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fcb169786da in start_thread (arg=0x7fca51db6700) at pthread_create.c:456
#9  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 18 (Thread 0x7fca6cbc4700 (LWP 24442)):
#0  0x00007fcb149b4ef4 in g_mutex_unlock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcb1496f56a in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb169786da in start_thread (arg=0x7fca6cbc4700) at pthread_create.c:456
#8  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 17 (Thread 0x7fca6d5d4700 (LWP 24437)):
#0  0x00007fcb212f22d9 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fcb212f368e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fcb1496ea6d in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb1496f49b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fcb169786da in start_thread (arg=0x7fca6d5d4700) at pthread_create.c:456
#10 0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 16 (Thread 0x7fca6effd700 (LWP 24424)):
#0  0x00007fcb1697e510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcb113fe8d3 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcb11726641 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcb169786da in start_thread (arg=0x7fca6effd700) at pthread_create.c:456
#4  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 15 (Thread 0x7fca6f7fe700 (LWP 24423)):
#0  0x00007fcb1697e510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcb113fe8d3 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcb11726641 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcb169786da in start_thread (arg=0x7fca6f7fe700) at pthread_create.c:456
#4  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 14 (Thread 0x7fca6ffff700 (LWP 24422)):
#0  0x00007fcb1697e510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcb113fe8d3 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcb11726641 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcb169786da in start_thread (arg=0x7fca6ffff700) at pthread_create.c:456
#4  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 13 (Thread 0x7fca84aa8700 (LWP 24421)):
#0  0x00007fcb1697e510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcb113fe8d3 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcb11726641 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcb169786da in start_thread (arg=0x7fca84aa8700) at pthread_create.c:456
#4  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 12 (Thread 0x7fca852a9700 (LWP 24420)):
#0  0x00007fcb1697e510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcb113fe8d3 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcb11726641 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcb169786da in start_thread (arg=0x7fca852a9700) at pthread_create.c:456
#4  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 11 (Thread 0x7fca85aaa700 (LWP 24419)):
#0  0x00007fcb1697e510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcb113fe8d3 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcb11726641 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcb169786da in start_thread (arg=0x7fca85aaa700) at pthread_create.c:456
#4  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 10 (Thread 0x7fca862ab700 (LWP 24418)):
#0  0x00007fcb1697e510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcb113fd7b1 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcb11726641 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcb169786da in start_thread (arg=0x7fca862ab700) at pthread_create.c:456
#4  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 9 (Thread 0x7fcad6295700 (LWP 24411)):
#0  0x00007fcb1697e510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcb116f594b in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fcb116f5989 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fcb169786da in start_thread (arg=0x7fcad6295700) at pthread_create.c:456
#4  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 8 (Thread 0x7fcae6ffd700 (LWP 24405)):
#0  0x00007fcb1496ef31 in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcb1496f514 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb169786da in start_thread (arg=0x7fcae6ffd700) at pthread_create.c:456
#8  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 7 (Thread 0x7fcae77fe700 (LWP 24403)):
#0  0x00007fcb149b4ed9 in g_mutex_lock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcb1496f0f6 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f5e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fcb169786da in start_thread (arg=0x7fcae77fe700) at pthread_create.c:456
#9  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7fcae7fff700 (LWP 24401)):
#0  0x00007fcb1496c57e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcb1496ea0b in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f49b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fcb169786da in start_thread (arg=0x7fcae7fff700) at pthread_create.c:456
#9  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7fcaf4d71700 (LWP 24399)):
#0  0x00007ffd8757fa01 in clock_gettime ()
#1  0x00007fcb207d5506 in __GI___clock_gettime (clock_id=1, tp=0x7fcaf4d709e0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fcb21175c41 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fcb212f1d39 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcb212f22e5 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb212f368e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb1496ea6d in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fcb1496f49b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fcb169786da in start_thread (arg=0x7fcaf4d71700) at pthread_create.c:456
#14 0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fcaf5bfe700 (LWP 24398)):
#0  0x00007fcb207bad8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcb1496f576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcb169786da in start_thread (arg=0x7fcaf5bfe700) at pthread_create.c:456
#8  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fcaf72a6700 (LWP 24397)):
#0  0x00007fcb207bad8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcb1496f576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb212f40bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcb210cbf83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb1f71a5d5 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fcb169786da in start_thread (arg=0x7fcaf72a6700) at pthread_create.c:456
#9  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fcafcf96700 (LWP 24396)):
#0  0x00007fcb207bad8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcb13858c62 in poll (__timeout=-1, __nfds=1, __fds=0x7fcafcf95b80) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007fcb13858c62 in _xcb_conn_wait (c=c@entry=0x56075e34e440, cond=cond@entry=0x56075e34e480, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007fcb1385a8d7 in xcb_wait_for_event (c=0x56075e34e440) at ../../src/xcb_in.c:693
#4  0x00007fcaff4f9ef9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007fcb210d0c38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb169786da in start_thread (arg=0x7fcafcf96700) at pthread_create.c:456
#7  0x00007fcb207c6d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fcb236b7940 (LWP 24394)):
[KCrash Handler]
#6  0x00007fcb1cce2315 in KStatusNotifierItem::setStatus(KStatusNotifierItem::ItemStatus) () at /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#7  0x00007fcb22fd7d2d in  () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#8  0x00007fcb22fe1c33 in KMKernel::toggleSystemTray() () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#9  0x00007fcb2301fe0b in KMMainWidget::readConfig() () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#10 0x00007fcb230204f1 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig>) () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#11 0x00007fcb22fcd10a in KMMainWin::KMMainWin(QWidget*) () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#12 0x00007fcb22fddead in KMKernel::openReader(bool) () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#13 0x00007fcb22fe7ab4 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/lib/x86_64-linux-gnu/libkmailprivate.so.5
#14 0x00007fcb22fe8fed in KMKernel::handleCommandLine(bool, QStringList const&, QString const&) () at /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#15 0x000056075d8283d1 in  ()
#16 0x00007fcb233d907e in KontactInterface::PimUniqueApplication::newInstance(QByteArray const&, QStringList const&, QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5KontactInterface.so.5
#17 0x00007fcb233da0d2 in  () at /usr/lib/x86_64-linux-gnu/libKF5KontactInterface.so.5
#18 0x00007fcb233da483 in KontactInterface::PimUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libKF5KontactInterface.so.5
#19 0x00007fcb1f724570 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#20 0x00007fcb1f728392 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#21 0x00007fcb1f72894c in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#22 0x00007fcb1f72b35e in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#23 0x00007fcb212cc639 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fcb217df9a4 in QGuiApplication::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007fcb2246010f in QApplication::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fcb2245a35c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007fcb22461b21 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007fcb2129fc00 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fcb212a239d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fcb212f3c93 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fcb1496f377 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fcb1496f5e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fcb1496f68c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fcb212f409f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fcb2129dbea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fcb212a633c in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x000056075d8278af in  ()
#38 0x00007fcb206de3f1 in __libc_start_main (main=0x56075d8267e0, argc=3, argv=0x7ffd87555808, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd875557f8) at ../csu/libc-start.c:291
#39 0x000056075d827f9a in _start ()

Reported using DrKonqi
Comment 1 Con Kolivas 2017-09-22 12:20:32 UTC
Created attachment 107952 [details]
Email that causes the crash

This is the actual email that when highlighted brings up the "retrieving folder contents" that never completes.
Comment 2 Christoph Feck 2017-10-12 17:48:28 UTC

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