Summary: | System Settings crashes on quit while the Font Management KCM was open | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Patrick Silva <bugseforuns> |
Component: | kcm_fontinst | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bednarczyk.pawel, kde, nate |
Priority: | NOR | Keywords: | drkonqi, qt6 |
Version First Reported In: | 5.27.80 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=477191 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/cf04d02a42ff08f332d6ed55fa894c7e1c61b4cc | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
dump debug symbols |
Description
Patrick Silva
2023-11-14 17:12:59 UTC
Created attachment 163157 [details]
New crash information added by DrKonqi
DrKonqi auto-attaching complete backtrace.
Created attachment 163164 [details]
dump debug symbols
confirmed - also on arch
Operating System: Arch Linux
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.7.0-rc1-next-20231114-1-next-git-01346-g5ba73bec5e7b-dirty (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT
Can also confirm. Git commit cf04d02a42ff08f332d6ed55fa894c7e1c61b4cc by Harald Sitter. Committed on 25/11/2023 at 19:39. Pushed by sitter into branch 'master'. kfontinst: don't crash on exit lifetimes have changed in kf6: `widget()` is a child of `parent` and as such a sibling to `CKCmFontInst` what happens at destruction is that ~parent runs -> ~widget runs (destroys its children - among them the splitters) then ~CKCmFontInst runs -> crash. Instead simply hold on to the destroyed signal of widget which fires before its children (the splitters) get destroyed. It feels a bit hacky but in the grands scheme of things the widget code is not long for this world anyway. Fixes SYSTEMSETTINGS-3A M +8 -4 kcms/kfontinst/kcmfontinst/KCmFontInst.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/cf04d02a42ff08f332d6ed55fa894c7e1c61b4cc |