Bug 404467 - Kmail2 crashes on new email
Summary: Kmail2 crashes on new email
Status: RESOLVED DUPLICATE of bug 403317
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-17 08:50 UTC by Johannes Studt
Modified: 2019-02-17 19:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace from pressing "New" (32.75 KB, text/plain)
2019-02-17 08:50 UTC, Johannes Studt
Details
Backtrace from subsequent Kmail2 restart (6.90 KB, text/plain)
2019-02-17 08:51 UTC, Johannes Studt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Studt 2019-02-17 08:50:23 UTC
Created attachment 118147 [details]
Backtrace from pressing "New"

SUMMARY
Kmail2 crashes instantly on pressing "New email" or "Reply".

STEPS TO REPRODUCE
I don't know how to reproduce this.
It worked until yesterday, when I opened the settings dialog and looked through the plugins section. Maybe I ticked some plugin I didn't use before.
Later I tried to send two PDF files from an external application by "Send as attachment...", and Kmail crashed instantly.
Since then I can't even start it again without prior deleting all files from ~/.local/share/kmail2/autosave.

OBSERVED RESULT
Kmail2 crashes every time when I want to write an email.

EXPECTED RESULT
Composer window shall show up.

SOFTWARE/OS VERSIONS
KMail Version: 5.10.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
What I already tried:
- reboot several times ;)
- reset akonadi (delete whole akonadi folders in .config and .local, starting from ground off)
- delete all kmail2 config files (kmail2rc, emailidentities)
- upgrade to the last available version from Opensuse repos
Comment 1 Johannes Studt 2019-02-17 08:51:16 UTC
Created attachment 118148 [details]
Backtrace from subsequent Kmail2 restart
Comment 2 Johannes Studt 2019-02-17 12:46:37 UTC
I was able to solve this by disabling all KMail plugins bit by bit.

The sharetext plugin causes the crash.

Simply move the sharetext plugin in ~/.config/pimpluginsrc from ...Enabled to ...Disabled:

[KMailPluginEditor]
  KMailEditorPluginDisabled=kmailsharetext
  KMailEditorPluginEnabled=
Comment 3 Wolfgang Bauer 2019-02-17 19:58:58 UTC
This is actually a duplicate.

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