Bug 403581

Summary: kmail crashes when creating a new email
Product: [Applications] kmail2 Reporter: Francescodario Cuzzocrea <bosconovic>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: wbauer1
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Francescodario Cuzzocrea 2019-01-25 09:19:09 UTC
Application: kmail (5.10.1)

Qt Version: 5.9.4
Frameworks Version: 5.54.0
Operating System: Linux 4.12.14-lp150.12.45-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed:
I clicked on file -> new email, the program crashes

- Unusual behavior I noticed:
The fact that kmail crash

- Custom settings of the application:
I have 3 identities configured, each one with it's own outgoing smtp account


I'm using KDE Plasma 5.12.7, KDE Frameworks 5.54, Qt 5.9.4 and KDE Applications 18.12

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f032ffff700 (LWP 4193)):
#0  0x00007f037699f07b in poll () from /lib64/libc.so.6
#1  0x00007f036a47b1c9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f036a47b2dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f03772cec0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f037727709a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f03770a64da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f03770ab0ce in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f036c348559 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f03769a981f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f033cbda700 (LWP 4192)):
#0  0x00007f036a4c0dc9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f036a47a070 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f036a47b085 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f036a47b2dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f03772cec0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f037727709a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f03770a64da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007f03770ab0ce in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f036c348559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f03769a981f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f033da77700 (LWP 4191)):
#0  0x00007f036a4c0dc9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f036a47b0d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f036a47b2dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f03772cec0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f037727709a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f03770a64da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f03770ab0ce in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f036c348559 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f03769a981f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f033ecac700 (LWP 4190)):
#0  0x00007f036a4c0dc0 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f036a47a733 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f036a47b0fb in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f036a47b2dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f03772cec0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f037727709a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f03770a64da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007f03756b1985 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007f03770ab0ce in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007f036c348559 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f03769a981f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f03482de700 (LWP 4189)):
#0  0x00007f037699f07b in poll () from /lib64/libc.so.6
#1  0x00007f036989e387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f036989ffba in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f034a5f4029 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f03770ab0ce in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f036c348559 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f03769a981f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f03798e6980 (LWP 4188)):
[KCrash Handler]
#6  0x00007f03772a42aa in QObject::property(char const*) const () from /usr/lib64/libQt5Core.so.5
#7  0x00007f03763ee08b in ?? () from /usr/lib64/libKF5XmlGui.so.5
#8  0x00007f03763ef0e9 in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) () from /usr/lib64/libKF5XmlGui.so.5
#9  0x00007f0379236f7e in KMComposerWin::initializePluginActions (this=this@entry=0x563363a6a480) at /usr/src/debug/kmail-18.12.1-lp150.92.1.x86_64/src/editor/kmcomposerwin.cpp:1361
#10 0x00007f037923d499 in KMComposerWin::setupActions (this=this@entry=0x563363a6a480) at /usr/src/debug/kmail-18.12.1-lp150.92.1.x86_64/src/editor/kmcomposerwin.cpp:1299
#11 0x00007f037924c6df in KMComposerWin::KMComposerWin (this=this@entry=0x563363a6a480, aMsg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::NoTemplate, id=id@entry=0, textSelection=..., customTemplate=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kmail-18.12.1-lp150.92.1.x86_64/src/editor/kmcomposerwin.cpp:440
#12 0x00007f037924d1d1 in KMComposerWin::create (msg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::NoTemplate, identity=identity@entry=0, textSelection=..., customTemplate=...) at /usr/src/debug/kmail-18.12.1-lp150.92.1.x86_64/src/editor/kmcomposerwin.cpp:226
#13 0x00007f037924d20c in KMail::makeComposer (msg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::NoTemplate, identity=identity@entry=0, textSelection=..., customTemplate=...) at /usr/src/debug/kmail-18.12.1-lp150.92.1.x86_64/src/editor/kmcomposerwin.cpp:220
#14 0x00007f037914b1e4 in KMKernel::recoverDeadLetters (this=<optimized out>) at /usr/src/debug/kmail-18.12.1-lp150.92.1.x86_64/src/kmkernel.cpp:986
#15 0x000056336199ec63 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-18.12.1-lp150.92.1.x86_64/src/main.cpp:163
[Inferior 1 (process 4188) detached]

Reported using DrKonqi
Comment 1 Wolfgang Bauer 2019-01-25 09:41:56 UTC
Looks similar to bug#403566 and bug#403317.

Does it help to disable the "Share Text" plugin?
Comment 2 Francescodario Cuzzocrea 2019-01-25 09:44:54 UTC
Yes. I resetted akonadi and kmail, didn't enabled that plugin and now it works 
!! 

In data venerdì 25 gennaio 2019 10:41:56 CET, hai scritto:
> https://bugs.kde.org/show_bug.cgi?id=403581
> 
> Wolfgang Bauer <wbauer@tmo.at> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> CC|                            |wbauer@tmo.at
> 
> --- Comment #1 from Wolfgang Bauer <wbauer@tmo.at> ---
> Looks similar to bug#403566 and bug#403317.
> 
> Does it help to disable the "Share Text" plugin?
Comment 3 Wolfgang Bauer 2019-01-25 10:10:37 UTC

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