Application: kmail (5.4.2) Qt Version: 5.7.1 Frameworks Version: 5.30.0 Operating System: Linux 4.4.0-62-generic x86_64 Distribution: KDE neon LTS User Edition 5.8 -- Information about the crash: - What I was doing when the application crashed: After installing KMail and MySQL, KMail crashes every time when opened. - Unusual behavior I noticed: When opening from terminal, these lines printed out: ~$: kmail org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default. Could not find QtWebEngineProcess *** KMail got signal 6 (Exiting) *** Dead letters dumped. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kmail path = /usr/bin pid = 6550 KCrash: Arguments: /usr/bin/kmail KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 QSocketNotifier: Invalid socket 10 and type 'Read', disabling... QSocketNotifier: Invalid socket 19 and type 'Read', disabling... QSocketNotifier: Invalid socket 11 and type 'Read', disabling... [1]+ Stopped kmail ~$: - Custom settings of the application: I haven't changed any setting of the application. Just changed the couple of plasma themes. But I guess that's not the problem. The crash can be reproduced every time. -- Backtrace: Application: KMail (kmail), signal: Aborted Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f0335973a00 (LWP 6172))] Thread 5 (Thread 0x7f0329dec700 (LWP 6181)): #0 0x00007f0365279b5d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f0359cde38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f0359cde49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f0365daf75b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f0365d5a0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f0365b89f64 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f0365b8eb48 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f035ba376ba in start_thread (arg=0x7f0329dec700) at pthread_create.c:333 #8 0x00007f036528582d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7f032a5ed700 (LWP 6177)): #0 0x00007f0365dad3d0 in QTimerInfoList::updateCurrentTime() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #1 0x00007f0365dad945 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f0365daed0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f0359cdd91d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f0359cde2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f0359cde49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007f0365daf75b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f0365d5a0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f0365b89f64 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007f0365b8eb48 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #10 0x00007f035ba376ba in start_thread (arg=0x7f032a5ed700) at pthread_create.c:333 #11 0x00007f036528582d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7f032adee700 (LWP 6176)): #0 0x00007f0365279b5d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f0359cde38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f0359cde49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f0365daf75b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f0365d5a0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f0365b89f64 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f0365b8eb48 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f035ba376ba in start_thread (arg=0x7f032adee700) at pthread_create.c:333 #8 0x00007f036528582d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f032bfff700 (LWP 6175)): #0 0x00007f0359cddb41 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f0359cde307 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f0359cde49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f0365daf75b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f0365d5a0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f0365b89f64 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f0367e49735 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007f0365b8eb48 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f035ba376ba in start_thread (arg=0x7f032bfff700) at pthread_create.c:333 #9 0x00007f036528582d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f0335973a00 (LWP 6172)): [KCrash Handler] #6 0x00007f03651b4428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #7 0x00007f03651b602a in __GI_abort () at abort.c:89 #8 0x00007f0365b75811 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007f0350297ea6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5 #10 0x00007f035029341d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5 #11 0x00007f0350294fa5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5 #12 0x00007f0350299850 in QtWebEngineCore::WebEngineSettings::initDefaults(bool) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5 #13 0x00007f0367dcf083 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5 #14 0x00007f0367dcf264 in QWebEngineProfile::QWebEngineProfile(QObject*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5 #15 0x00007f036278f4bd in MessageViewer::MailWebEngineView::MailWebEngineView(KActionCollection*, QWidget*) () from /usr/lib/x86_64-linux-gnu/libKF5MessageViewer.so.5 #16 0x00007f03627383cf in ?? () from /usr/lib/x86_64-linux-gnu/libKF5MessageViewer.so.5 #17 0x00007f0362740815 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5MessageViewer.so.5 #18 0x00007f036272cc90 in MessageViewer::Viewer::Viewer(QWidget*, QWidget*, KActionCollection*) () from /usr/lib/x86_64-linux-gnu/libKF5MessageViewer.so.5 #19 0x00007f03676a8031 in KMReaderWin::KMReaderWin (this=0x1725f30, aParent=<optimized out>, mainWindow=<optimized out>, actionCollection=<optimized out>) at /workspace/build/src/kmreaderwin.cpp:115 #20 0x00007f03676ed54e in KMMainWidget::createWidgets (this=this@entry=0x1550150) at /workspace/build/src/kmmainwidget.cpp:1024 #21 0x00007f03676f7539 in KMMainWidget::KMMainWidget (this=0x1550150, parent=<optimized out>, aGUIClient=<optimized out>, actionCollection=0x151c130, config=...) at /workspace/build/src/kmmainwidget.cpp:265 #22 0x00007f03676a498a in KMMainWin::KMMainWin (this=0x1551f10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /workspace/build/src/kmmainwin.cpp:61 #23 0x00007f03676b5118 in KMKernel::openReader (this=this@entry=0x7ffd16cfd580, onlyCheck=onlyCheck@entry=false) at /workspace/build/src/kmkernel.cpp:520 #24 0x00007f03676bf11c in KMKernel::action (this=this@entry=0x7ffd16cfd580, mailto=mailto@entry=false, check=check@entry=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=..., replyTo=..., inReplyTo=..., identity=...) at /workspace/build/src/kmkernel.cpp:1467 #25 0x00007f03676c07fb in KMKernel::handleCommandLine (this=0x7ffd16cfd580, noArgsOpensReader=noArgsOpensReader@entry=true, args=..., workingDir=...) at /workspace/build/src/kmkernel.cpp:425 #26 0x0000000000404679 in KMailApplication::activate (this=this@entry=0x7ffd16cfd560, args=..., workindDir=...) at /workspace/build/src/main.cpp:98 #27 0x0000000000403b90 in KMailApplication::delayedInstanceCreation (workindDir=..., args=..., this=0x7ffd16cfd560) at /workspace/build/src/main.cpp:107 #28 main (argc=1, argv=0x7ffd16cfd798) at /workspace/build/src/main.cpp:158 Possible duplicates by query: bug 375284, bug 374462, bug 364721, bug 364342, bug 362635. Reported using DrKonqi
This bug is going on three years, and I'm still hitting it. I just installed Neon (neon-user-20191226-1116.iso). Logged in. Installed Kmail. Started it. New profile dialog came up, and then it put up a dialog box: The Email program encountered a fatal error and will terminate now. The error was: Invalid parent Letting KMail die, and starting it again seems to let it proceed, but it did fail on both fresh installs I tried.
Joshua, do you get the same backtrace? The backtrace from comment 0 shows a crash in QtWebEngine, but the reporter used a Qt version that is now very old.
Fix with kmail 22.04.01.