Bug 395584 - Signal handlers overwritten by QtWebEngine (Chromium code)
Summary: Signal handlers overwritten by QtWebEngine (Chromium code)
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kcrash
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.47.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-18 21:08 UTC by Christoph Roick
Modified: 2018-10-13 21:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Roick 2018-06-18 21:08:50 UTC
Whenever QtWebEngine is used, the signal handler assignments made by KCrash are overwritten by some internal crash handler inside the Chromium part of QtWebEngine. It results in crashes with backtraces put to stdout, instead of DrKonqi popping up.

This can be tested (supposing QtWebEngine is actually used) by reproducing BUG 394849 (using the PHP documentation in KDevelop and then closing the session).

I'm not sure how to handle this, just wanted to bring it up, because it might reduce the number of bug reports with applications just quitting without notification.
Comment 1 Christoph Roick 2018-10-13 21:26:02 UTC
There seems to be a solution to the problem. Here is how it could work:
https://phabricator.kde.org/D16004