Bug 488556 - Doesn't do anything unless systemd-coredump is installed
Summary: Doesn't do anything unless systemd-coredump is installed
Status: CONFIRMED
Alias: None
Product: frameworks-kcrash
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.3.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-15 20:35 UTC by Fabian Vogt
Modified: 2024-06-17 17:53 UTC (History)
1 user (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 Fabian Vogt 2024-06-15 20:35:23 UTC
kcrash either lets the application crash as normal and get processed by the system's coredump handler or starts drkonqi for "JIT" debugging.

However, if systemd is used but systemd-coreump is not installed, neither of that happens. This is because systemd leaves kernel.core_pattern="|/bin/false" (https://github.com/systemd/systemd/blob/main/docs/COREDUMP.md) so kcrash thinks there is a handler but there isn't really.

I'm not sure whether this should be treated as "no handler installed" by kcrash. Arguably this configuration can also mean that the user doesn't want to handle crashes at all, so drkonqi shouldn't be launched at all.