Bug 361094

Summary: kmail crashes on startup
Product: [Applications] kmail2 Reporter: Teet Talviste <teet.talviste>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Teet Talviste 2016-03-28 15:32:54 UTC
Application: kmail (5.1.80 beta1)

Qt Version: 5.6.0
Frameworks Version: 5.20.0
Operating System: Linux 4.5.0-1-drm-intel-nightly x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
kmail fails to start every time. Removed .conf/kmail2rc and .local/share/kmail2, which are recreated when starting, so it at-least gets that far.

The crash can be reproduced every time.

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

Thread 15 (Thread 0x7f28deda8700 (LWP 25857)):
#0  0x00007f2901c8ec3d in poll () from /usr/lib/libc.so.6
#1  0x00007f28f4708ae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f28f470a757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f28e00a0a99 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f2902593de8 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 14 (Thread 0x7f28dd3a4700 (LWP 25859)):
#0  0x00007f28f7559638 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f28f7515078 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#2  0x00007f29027bccab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#3  0x00007f29027656fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f290258efe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#5  0x00007f2900be5a55 in ?? () from /usr/lib/libQt5DBus.so.5
#6  0x00007f2902593de8 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7f28d7df8700 (LWP 25860)):
#0  0x00007f28f75147d3 in g_main_context_query () from /usr/lib/libglib-2.0.so.0
#1  0x00007f28f7514ef7 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f28f751508c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f29027bccab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f29027656fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f290258efe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f2902593de8 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7f28d6f69700 (LWP 25867)):
#0  0x00007f2901ca42cf in __libc_enable_asynccancel () from /usr/lib/libc.so.6
#1  0x00007f2901c8ec32 in poll () from /usr/lib/libc.so.6
#2  0x00007f28f7514f7c in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f28f751508c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f29027bccab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f29027656fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f290258efe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007f2902593de8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7f28d6768700 (LWP 25869)):
#0  0x00007f29027bc210 in ?? () from /usr/lib/libQt5Core.so.5
#1  0x00007f28f75149b1 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0x00007f28f7514f20 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f28f751508c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f29027bccab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f29027656fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f290258efe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007f2902593de8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7f28d5f67700 (LWP 25871)):
#0  0x00007f2901c8ac0d in read () from /usr/lib/libc.so.6
#1  0x00007f28f75582a0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f28f7514a64 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f28f7514f20 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f28f751508c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f29027bccab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f29027656fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007f290258efe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007f2902593de8 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7f28d5545700 (LWP 25874)):
#0  0x00007f2901c8ec3d in poll () from /usr/lib/libc.so.6
#1  0x00007f28f7514f7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f28f751508c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f29027bccab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f29027656fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f290258efe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f2902593de8 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7f28bbfff700 (LWP 25876)):
#0  0x00007f290258c2e0 in QMutex::unlock() () from /usr/lib/libQt5Core.so.5
#1  0x00007f29027bc341 in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007f28f751450d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0x00007f28f7514eab in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f28f751508c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f29027bccab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f29027656fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007f290258efe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007f2902593de8 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f28bb7fe700 (LWP 25879)):
#0  0x00007f2901c8ec3d in poll () from /usr/lib/libc.so.6
#1  0x00007f28f7514f7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f28f751508c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f29027bccab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f29027656fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f290258efe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f2902593de8 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f28baffd700 (LWP 25886)):
#0  0x00007f28f7a3803f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f28f255f7db in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f28f255f819 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f28b9639700 (LWP 25887)):
#0  0x00007f28f7a3803f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f28f225ed84 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f28f258f481 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f28b8e38700 (LWP 25888)):
#0  0x00007f28f7a3803f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f28f225fdf3 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f28f258f481 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f286bffd700 (LWP 25889)):
#0  0x00007f28f7a3803f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f28f225fdf3 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f28f258f481 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f286b7fc700 (LWP 25891)):
#0  0x00007f28f7a3803f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f28f225fdf3 in ?? () from /usr/lib/libQt5WebKit.so.5
#2  0x00007f28f258f481 in ?? () from /usr/lib/libQt5WebKit.so.5
#3  0x00007f28f7a32424 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f2901c97cbd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f2904bd6840 (LWP 25856)):
[KCrash Handler]
#5  0x00007f2904563c16 in KMMainWidget::updateMessageActionsDelayed (this=this@entry=0x56119cef7c50) at /home/master/kdepim/src/kdepim-16.03.80/kmail/kmmainwidget.cpp:3761
#6  0x00007f2904564a47 in KMMainWidget::updateMessageActions (this=this@entry=0x56119cef7c50, fast=fast@entry=false) at /home/master/kdepim/src/kdepim-16.03.80/kmail/kmmainwidget.cpp:3681
#7  0x00007f2904574bcf in KMMainWidget::setupActions (this=this@entry=0x56119cef7c50) at /home/master/kdepim/src/kdepim-16.03.80/kmail/kmmainwidget.cpp:3418
#8  0x00007f2904579188 in KMMainWidget::KMMainWidget (this=0x56119cef7c50, parent=<optimized out>, aGUIClient=<optimized out>, actionCollection=0x56119cc02bd0, config=...) at /home/master/kdepim/src/kdepim-16.03.80/kmail/kmmainwidget.cpp:261
#9  0x00007f2904523c16 in KMMainWin::KMMainWin (this=0x56119ce53660, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/master/kdepim/src/kdepim-16.03.80/kmail/kmmainwin.cpp:61
#10 0x00007f290453524b in KMKernel::openReader (this=this@entry=0x7fff10187530, onlyCheck=onlyCheck@entry=false) at /home/master/kdepim/src/kdepim-16.03.80/kmail/kmkernel.cpp:529
#11 0x00007f290453f2ec in KMKernel::action (this=this@entry=0x7fff10187530, mailto=mailto@entry=false, check=check@entry=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=..., replyTo=..., inReplyTo=...) at /home/master/kdepim/src/kdepim-16.03.80/kmail/kmkernel.cpp:1468
#12 0x00007f29045408c2 in KMKernel::handleCommandLine (this=0x7fff10187530, noArgsOpensReader=<optimized out>, args=..., workingDir=...) at /home/master/kdepim/src/kdepim-16.03.80/kmail/kmkernel.cpp:432
#13 0x000056119c740679 in KMailApplication::activate (this=0x7fff10187510, args=..., workindDir=...) at /home/master/kdepim/src/kdepim-16.03.80/kmail/main.cpp:99
#14 0x000056119c73fb55 in KMailApplication::delayedInstanceCreation (workindDir=..., args=..., this=0x7fff10187510) at /home/master/kdepim/src/kdepim-16.03.80/kmail/main.cpp:108
#15 main (argc=1, argv=0x7fff10187748) at /home/master/kdepim/src/kdepim-16.03.80/kmail/main.cpp:156

Possible duplicates by query: bug 360031, bug 359698, bug 359553, bug 359331, bug 359260.

Reported using DrKonqi
Comment 1 Teet Talviste 2016-03-28 15:35:54 UTC
Sorry, seems this is beta version software, didn't notice that, so closing.