Summary: | Crashes after showing background activity warning | ||
---|---|---|---|
Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | Ilgaz Öcal <ilgaz> |
Component: | general | Assignee: | Jan Grulich <jgrulich> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alois1, liubomirwm, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/0260e5962a2f8c3dc07e2233fdcea3576cadfa7a | Version Fixed In: | 5.22.3 |
Sentry Crash Report: | |||
Attachments: | Backtrace |
Description
Ilgaz Öcal
2021-06-20 16:18:43 UTC
I don't see an "allow" button, do you mean the close button or the "find out more" button? Please try to create a backtrace again after cleaning the debuginfod cache (sometimes, stale or corrupt entries there seem to make gdb hang). Created attachment 139621 [details]
Backtrace
I managed to get a backtrace now. Attached. About "Allow" in prompt: It first alerts you saying application is running in background. You click "Find out more" and secondary prompt appears having 2 options "allow" and "force quit".
A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/39 *** Bug 437852 has been marked as a duplicate of this bug. *** Git commit dbfd0203a37ccbab746072df118afcdc639a9811 by Jan Grulich. Committed on 28/06/2021 at 06:12. Pushed by grulich into branch 'master'. Background portal: avoid crash when allowing app to run in background We need to return as soon as possible from the notification callback, otherwise it can happen that the notification is closed and deleted while we block the callback with a message dialog. M +21 -16 src/background.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/dbfd0203a37ccbab746072df118afcdc639a9811 Git commit 0260e5962a2f8c3dc07e2233fdcea3576cadfa7a by Jan Grulich. Committed on 28/06/2021 at 06:13. Pushed by grulich into branch 'Plasma/5.22'. Background portal: avoid crash when allowing app to run in background We need to return as soon as possible from the notification callback, otherwise it can happen that the notification is closed and deleted while we block the callback with a message dialog. M +21 -16 src/background.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/0260e5962a2f8c3dc07e2233fdcea3576cadfa7a |