Summary: | KMAIL2; "Share Text" plugin segfaults | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Tobias Klaus <ek+kde> |
Component: | composer | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bosconovic, crglasoe, hohenegger, johannes, montel, robert.skubij, tytgatlieven, wbauer1, Weidner-Kim, yo |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=401739 | ||
Latest Commit: | https://commits.kde.org/kdepim-addons/32b4086c7ccfcddba01fe6d852bef8cf4fec9bff | Version Fixed In: | 5.11.1 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Tobias Klaus
2019-01-17 16:43:22 UTC
After activating/deactivating every of the "Editor Plugins" I could reproduce this by activating the "Share Text" plugin and mitigate this issue by deactivating this plugin. Created attachment 117618 [details]
New crash information added by DrKonqi
kontact (5.10.1) using Qt 5.11.2
- What I was doing when the application crashed:
I was replying a mail when kontact crashed.
Since I was unable to restart kontact successfully.
I'm running kde-neon on a regular ubuntu 18.04
removeing the files in .local/share/kmail2/autosave/ fixed the problem
-- Backtrace (Reduced):
#6 0x00007f942142779a in QObject::property(char const*) const () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007f942330c1ab in KXMLGUIFactoryPrivate::refreshActionProperties(KXMLGUIClient*, QList<QAction*> const&, QDomDocument const&) (this=this@entry=0x562adead6830, client=client@entry=0x562add6b2580, actions=..., doc=...) at ./src/kxmlguifactory.cpp:354
#8 0x00007f942330d209 in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) (this=0x562adead65c0, client=client@entry=0x562add6b2580, name=..., actionList=...) at ./src/kxmlguifactory.cpp:578
#9 0x00007f9423303749 in KXMLGUIClient::plugActionList(QString const&, QList<QAction*> const&) (this=this@entry=0x562add6b2580, name=..., actionList=...) at ./src/kxmlguiclient.cpp:713
#10 0x00007f928d927c6e in KMComposerWin::initializePluginActions() (this=this@entry=0x562add6b2270) at ./src/editor/kmcomposerwin.cpp:1361
*** Bug 403581 has been marked as a duplicate of this bug. *** *** Bug 404467 has been marked as a duplicate of this bug. *** *** Bug 405117 has been marked as a duplicate of this bug. *** *** Bug 404237 has been marked as a duplicate of this bug. *** *** Bug 403566 has been marked as a duplicate of this bug. *** Bug 401739 is for KMMainWidget, this bug for KMComposerWin. *** Bug 405568 has been marked as a duplicate of this bug. *** It was a problem as your distro doesn't add purpose as dependancy directly. Now in 19.04/master it's required. Sounds as if there is a workaround by installing a missing package. Is that the case? I have a libkf5purpose5 (Neon packages) installed if that is what "purpose" refers too. (In reply to Andreas from comment #11) > Sounds as if there is a workaround by installing a missing package. Is that > the case? I have a libkf5purpose5 (Neon packages) installed if that is what > "purpose" refers too. Did you build all pim against it ? (you need dev package too) (In reply to Laurent Montel from comment #12) > (In reply to Andreas from comment #11) > > Sounds as if there is a workaround by installing a missing package. Is that > > the case? I have a libkf5purpose5 (Neon packages) installed if that is what > > "purpose" refers too. > > Did you build all pim against it ? > (you need dev package too) pimcommon should be enough, or is there something else? Building pimcommon with Purpose does indeed fix this crash for me, but with the "Share Text" plugin enabled, kmail still crashes when the composer window is closed (with or without sending the mail)... I'm using version 5.10.0 here. I suppose I should file a new bug report about that though. PS: (In reply to Laurent Montel from comment #10) > It was a problem as your distro doesn't add purpose as dependancy directly. I suppose the reason is that Purpose isn't mentioned in the FEATURE_SUMMARY at all when building it, so the "missing" dependency likely went unnoticed. > Now in 19.04/master it's required. It's still marked as OPTIONAL in the 19.04 branch though. (In reply to Wolfgang Bauer from comment #13) > I'm using version > 5.10.0 here. Oops, sorry, I'm actually using 5.11.0 here (from KDE Applications 19.04.0), i.e. the latest stable release. (In reply to Wolfgang Bauer from comment #14) > PS: > (In reply to Laurent Montel from comment #10) > > It was a problem as your distro doesn't add purpose as dependancy directly. > I suppose the reason is that Purpose isn't mentioned in the FEATURE_SUMMARY > at all when building it, so the "missing" dependency likely went unnoticed. > > > Now in 19.04/master it's required. > It's still marked as OPTIONAL in the 19.04 branch though. Ah yep still optional in 19.04 I thought I was making it required for 19.04. Git commit 854791960719ff86958f4bd9dc8b2e3e8b5e6cb2 by Laurent Montel. Committed on 30/04/2019 at 11:49. Pushed by mlaurent into branch 'Applications/19.04'. QUIET was not a good idea here. So we didn't inform that we didn't find purpose M +1 -1 CMakeLists.txt https://commits.kde.org/pimcommon/854791960719ff86958f4bd9dc8b2e3e8b5e6cb2 Git commit 32b4086c7ccfcddba01fe6d852bef8cf4fec9bff by Laurent Montel. Committed on 30/04/2019 at 12:00. Pushed by mlaurent into branch 'Applications/19.04'. Fix Bug 403317 - KMAIL2; "Share Text" plugin segfaults M +7 -7 kmail/editorplugins/sharetext/sharetextplugineditorinterface.cpp https://commits.kde.org/kdepim-addons/32b4086c7ccfcddba01fe6d852bef8cf4fec9bff (In reply to Wolfgang Bauer from comment #13) > (In reply to Laurent Montel from comment #12) > > (In reply to Andreas from comment #11) > > > Sounds as if there is a workaround by installing a missing package. Is that > > > the case? I have a libkf5purpose5 (Neon packages) installed if that is what > > > "purpose" refers too. > > > > Did you build all pim against it ? > > (you need dev package too) > > pimcommon should be enough, or is there something else? > > Building pimcommon with Purpose does indeed fix this crash for me, but with > the "Share Text" plugin enabled, kmail still crashes when the composer > window is closed (with or without sending the mail)... I'm using version > 5.10.0 here. I need a backtrace for it too. (In reply to Laurent Montel from comment #19) > > Building pimcommon with Purpose does indeed fix this crash for me, but with > > the "Share Text" plugin enabled, kmail still crashes when the composer > > window is closed (with or without sending the mail)... I'm using version > > 5.10.0 here. > > I need a backtrace for it too. That's no longer necessary. The latest commit to kdepim-addons (comment#18) fixed that crash. (it was crashing in PimCommon::PurposeMenuWidget's destructor) And I can confirm that this commit fixes the original crash (when pimcommon is built without Purpose) here as well. Thank you! *** Bug 407026 has been marked as a duplicate of this bug. *** *** Bug 408798 has been marked as a duplicate of this bug. *** |