Bug 410785 - Plasmashell respawn on crash also disables KCrash for applications run from the menu
Summary: Plasmashell respawn on crash also disables KCrash for applications run from t...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (show other bugs)
Version: 5.13.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-10 10:19 UTC by Kevin Kofler
Modified: 2022-02-11 19:32 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Kofler 2019-08-10 10:19:14 UTC
SUMMARY
If plasmashell crashes, it gets respawn with environment settings that prevent KCrash from bringing up DrKonqi also in applications run from the menu of the respawned plasmashell.

STEPS TO REPRODUCE
1. Get plasmashell to crash and respawn. (Just moving around quickly enough in the classic Kicker menu always triggers some Qt 5.11.3 bug that produces a crash here.)
2. Start KWrite from the menu.
3. killall -SIGABRT kwrite

OBSERVED RESULT
KWrite vanishes silently.

EXPECTED RESULT
A DrKonqi tray icon comes up.

SOFTWARE/OS VERSIONS
Fedora 28 (yes, this system will be upgraded to 29 or 30 ASAP)
Plasma 5.13.5
KDE Frameworks 5.55.0
Qt 5.11.3

ADDITIONAL INFORMATION
Starting KWrite from a Konsole makes DrKonqi work as expected.
Comment 1 Kevin Kofler 2019-08-10 10:22:19 UTC
See also:
https://bugs.kde.org/show_bug.cgi?id=406376#c2
where I originally noticed it, but had not yet realized that this was due to the plasmashell respawning.

Workaround: Alt+F2 plasmashell --replace
Comment 2 Kevin Kofler 2020-03-30 13:27:14 UTC
Ping?
Comment 3 David Edmundson 2020-03-30 14:01:46 UTC
Right, we need to fix this, we can't have other apps missing out on backtraces.

The fastest, but sloppiest solution is just to filter it out in ProcessRunner when we spawn a new app. 

Not sure what a neat fix is.
Comment 4 Kai Uwe Broulik 2020-05-29 06:52:22 UTC
https://phabricator.kde.org/D29810 is not trying to fix this, is it?