Bug 408798 - KMail Fails to Start
Summary: KMail Fails to Start
Status: RESOLVED DUPLICATE of bug 403317
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.10.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-06-16 18:46 UTC by yo
Modified: 2019-06-17 08:03 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 yo 2019-06-16 18:46:26 UTC
Application: kmail (5.10.3)

Qt Version: 5.12.2
Frameworks Version: 5.58.0
Operating System: Linux 5.0.0-16-generic x86_64
Distribution: Ubuntu 19.04

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

This happened a few days ago (actually inspired me to get kdesrc-build runnng though this bug happens in both the source build and my distro's provided packages). I attempt to launch the application from the command line, from KRunner and from the Plasma Application launcher.

- Unusual behavior I noticed:

No graphical interface was ever presented. The application indicator bounced but that's about it.

The crash can be reproduced every time.

-- 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 0x7fee96d85f00 (LWP 24314))]

Thread 8 (Thread 0x7fee82532700 (LWP 24853)):
#0  0x00007feead8192e9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007feeadb8e954 in QSemaphore::acquire(int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fee82b6ef6c in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/texttospeech/libqttexttospeech_flite.so
#3  0x00007feeadb8c612 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007feeab007182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#5  0x00007feead81fb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fee837fe700 (LWP 24598)):
#0  0x00007feead813729 in __GI___poll (fds=0x7fee70004e30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007feeaa6bacb6 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feeaa6baddc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feeadd95063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007feeadd405bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007feeadb8b2c6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007feeadb8c612 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007feeab007182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007feead81fb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fee83fff700 (LWP 24593)):
#0  0x00007feead80efb4 in __GI___libc_read (nbytes=16, buf=0x7fee83ffe480, fd=14) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007feead80efb4 in __GI___libc_read (fd=14, buf=0x7fee83ffe480, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007feeaa7014d0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feeaa6ba78f in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feeaa6bac60 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007feeaa6baddc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007feeadd95063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007feeadd405bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007feeadb8b2c6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007feeadb8c612 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007feeab007182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#11 0x00007feead81fb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fee8ce69700 (LWP 24584)):
#0  0x00007feeaa7058e4 in g_mutex_unlock () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007feeaa6bacab in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feeaa6baddc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feeadd95063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007feeadd405bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007feeadb8b2c6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007feeadb8c612 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007feeab007182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007feead81fb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fee8f42b700 (LWP 24522)):
#0  0x00007feeab00d3bb in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fb5e8cab28) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007feeab00d3bb in __pthread_cond_wait_common (abstime=0x0, mutex=0x55fb5e8caad8, cond=0x55fb5e8cab00) at pthread_cond_wait.c:502
#2  0x00007feeab00d3bb in __pthread_cond_wait (cond=0x55fb5e8cab00, mutex=0x55fb5e8caad8) at pthread_cond_wait.c:655
#3  0x00007fee8f7bd36b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fee8f7bd0d7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007feeab007182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007feead81fb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fee95285700 (LWP 24520)):
#0  0x00007feeaa7058e4 in g_mutex_unlock () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007feeaa6ba689 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feeaa6bac60 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feeaa6baddc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feeadd95063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007feeadd405bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007feeadb8b2c6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007feead2e2565 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007feeadb8c612 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007feeab007182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007feead81fb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fee95d78700 (LWP 24513)):
#0  0x00007feead813729 in __GI___poll (fds=0x7fee95d775a8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007feeaa4bf917 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007feeaa4c153a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fee966a86a8 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007feeadb8c612 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007feeab007182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007feead81fb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fee96d85f00 (LWP 24314)):
[KCrash Handler]
#6  0x00007feeadd6c588 in QObject::property(char const*) const () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007feead62cc90 in  () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#8  0x00007feead62dc19 in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#9  0x00007feeaef7eb7e in KMComposerWin::initializePluginActions() (this=0x55fb5ecbffc0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:388
#10 0x00007feeaef84721 in KMComposerWin::setupActions() (this=<optimized out>) at ./src/editor/kmcomposerwin.cpp:1299
#11 0x00007feeaef933d9 in KMComposerWin::KMComposerWin(QSharedPointer<KMime::Message> const&, bool, bool, KMail::Composer::TemplateContext, unsigned int, QString const&, QString const&) (this=0x55fb5ecbffc0, aMsg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, context=<optimized out>, id=<optimized out>, textSelection=..., customTemplate=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./src/editor/kmcomposerwin.cpp:440
#12 0x00007feeaef93ea1 in KMComposerWin::create(QSharedPointer<KMime::Message> const&, bool, bool, KMail::Composer::TemplateContext, unsigned int, QString const&, QString const&) (msg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, context=KMail::Composer::NoTemplate, identity=0, textSelection=..., customTemplate=...) at ./src/editor/kmcomposerwin.cpp:226
#13 0x00007feeaee9f4db in KMKernel::recoverDeadLetters() (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:314
#14 0x000055fb5d70330b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:163
[Inferior 1 (process 24314) detached]

Reported using DrKonqi
Comment 1 Wolfgang Bauer 2019-06-16 19:30:26 UTC
Fixed in 5.11.1, you can disable the "Share Text" plugin as a workaround.

Removing the files in .local/share/kmail2/autosave/ should make it start again.

*** This bug has been marked as a duplicate of bug 403317 ***
Comment 2 yo 2019-06-16 21:01:06 UTC
On Sunday, June 16, 2019 12:30:26 PM PDT Wolfgang Bauer wrote:
> https://bugs.kde.org/show_bug.cgi?id=408798
> 
> Wolfgang Bauer <wbauer@tmo.at> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> Status|REPORTED                    |RESOLVED
>                  CC|                            |wbauer@tmo.at
>          Resolution|---                         |DUPLICATE
> 
> --- Comment #1 from Wolfgang Bauer <wbauer@tmo.at> ---
> Fixed in 5.11.1, you can disable the "Share Text" plugin as a workaround.
> 
> Removing the files in .local/share/kmail2/autosave/ should make it start
> again.
> 
> *** This bug has been marked as a duplicate of bug 403317 ***

Oh thank you so much! Lost so much time trying to figure this out.

Is there a newsletter / feed of the changes in KMail so things like this can 
be surfaced? These being bugs
Comment 3 Wolfgang Bauer 2019-06-17 08:03:38 UTC
(In reply to yo from comment #2)
> Is there a newsletter / feed of the changes in KMail so things like this can 
> be surfaced?
The release announcements are available here:
https://kde.org/announcements/