Summary: | Crash in KScreen::Config::supportedFeatures() while trying to save changed screen layout | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Arcadiy Ivanov <arcadiy> |
Component: | kcm_kscreen | Assignee: | kscreen-bugs-null <kscreen-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde, nate, plasma-bugs |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.27.2 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kscreen/commit/8af1cfac332f6f7c4e6db40c851dd5ac719236f1 | Version Fixed In: | 5.27.5 |
Sentry Crash Report: |
Description
Arcadiy Ivanov
2023-03-06 18:27:30 UTC
Well that seems bad. :/ A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/203 Git commit 0bfa16bd2b59ac9b2ce8112c06d86e5e29c69654 by Harald Sitter. Committed on 17/04/2023 at 14:02. Pushed by sitter into branch 'master'. don't stumble over nullptrs if outputs changed during saving exec() opens a nested eventloop that does event processing and may end up processing output changes when e.g. a screen is getting unplugged. as part of this our m_configHandler may get reset to null, so make sure the pointers are still valid after exec M +7 -0 kcm/kcm.cpp https://invent.kde.org/plasma/kscreen/commit/0bfa16bd2b59ac9b2ce8112c06d86e5e29c69654 Git commit 8af1cfac332f6f7c4e6db40c851dd5ac719236f1 by Harald Sitter. Committed on 18/04/2023 at 08:56. Pushed by sitter into branch 'Plasma/5.27'. don't stumble over nullptrs if outputs changed during saving exec() opens a nested eventloop that does event processing and may end up processing output changes when e.g. a screen is getting unplugged. as part of this our m_configHandler may get reset to null, so make sure the pointers are still valid after exec (cherry picked from commit 0bfa16bd2b59ac9b2ce8112c06d86e5e29c69654) M +7 -0 kcm/kcm.cpp https://invent.kde.org/plasma/kscreen/commit/8af1cfac332f6f7c4e6db40c851dd5ac719236f1 |