<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>408798</bug_id>
          
          <creation_ts>2019-06-16 18:46:26 +0000</creation_ts>
          <short_desc>KMail Fails to Start</short_desc>
          <delta_ts>2019-06-17 08:03:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmail2</product>
          <component>general</component>
          <version>5.10.3</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>403317</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>yo</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>wbauer1</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1863348</commentid>
    <comment_count>0</comment_count>
    <who name="">yo</who>
    <bug_when>2019-06-16 18:46:26 +0000</bug_when>
    <thetext>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&apos;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&apos;s about it.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[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=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007feeadd405bb in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007feeadd405bb in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007feeadd405bb in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007feeadd405bb in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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&amp;, QList&lt;QAction*&gt; const&amp;) () 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=&lt;optimized out&gt;) at ./src/editor/kmcomposerwin.cpp:1299
#11 0x00007feeaef933d9 in KMComposerWin::KMComposerWin(QSharedPointer&lt;KMime::Message&gt; const&amp;, bool, bool, KMail::Composer::TemplateContext, unsigned int, QString const&amp;, QString const&amp;) (this=0x55fb5ecbffc0, aMsg=..., lastSignState=&lt;optimized out&gt;, lastEncryptState=&lt;optimized out&gt;, context=&lt;optimized out&gt;, id=&lt;optimized out&gt;, textSelection=..., customTemplate=..., __in_chrg=&lt;optimized out&gt;, __vtt_parm=&lt;optimized out&gt;) at ./src/editor/kmcomposerwin.cpp:440
#12 0x00007feeaef93ea1 in KMComposerWin::create(QSharedPointer&lt;KMime::Message&gt; const&amp;, bool, bool, KMail::Composer::TemplateContext, unsigned int, QString const&amp;, QString const&amp;) (msg=..., lastSignState=&lt;optimized out&gt;, lastEncryptState=&lt;optimized out&gt;, context=KMail::Composer::NoTemplate, identity=0, textSelection=..., customTemplate=...) at ./src/editor/kmcomposerwin.cpp:226
#13 0x00007feeaee9f4db in KMKernel::recoverDeadLetters() (this=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:314
#14 0x000055fb5d70330b in main(int, char**) (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at ./src/main.cpp:163
[Inferior 1 (process 24314) detached]

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1863364</commentid>
    <comment_count>1</comment_count>
    <who name="Wolfgang Bauer">wbauer1</who>
    <bug_when>2019-06-16 19:30:26 +0000</bug_when>
    <thetext>Fixed in 5.11.1, you can disable the &quot;Share Text&quot; 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 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1863384</commentid>
    <comment_count>2</comment_count>
    <who name="">yo</who>
    <bug_when>2019-06-16 21:01:06 +0000</bug_when>
    <thetext>On Sunday, June 16, 2019 12:30:26 PM PDT Wolfgang Bauer wrote:
&gt; https://bugs.kde.org/show_bug.cgi?id=408798
&gt; 
&gt; Wolfgang Bauer &lt;wbauer@tmo.at&gt; changed:
&gt; 
&gt;            What    |Removed                     |Added
&gt; ----------------------------------------------------------------------------
&gt; Status|REPORTED                    |RESOLVED
&gt;                  CC|                            |wbauer@tmo.at
&gt;          Resolution|---                         |DUPLICATE
&gt; 
&gt; --- Comment #1 from Wolfgang Bauer &lt;wbauer@tmo.at&gt; ---
&gt; Fixed in 5.11.1, you can disable the &quot;Share Text&quot; plugin as a workaround.
&gt; 
&gt; Removing the files in .local/share/kmail2/autosave/ should make it start
&gt; again.
&gt; 
&gt; *** 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1863492</commentid>
    <comment_count>3</comment_count>
    <who name="Wolfgang Bauer">wbauer1</who>
    <bug_when>2019-06-17 08:03:38 +0000</bug_when>
    <thetext>(In reply to yo from comment #2)
&gt; Is there a newsletter / feed of the changes in KMail so things like this can 
&gt; be surfaced?
The release announcements are available here:
https://kde.org/announcements/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>