Summary: | System Settings crashed in Breeze::WidgetStateData::~WidgetStateData() after switching view mode and click on an item in the sidebar | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | Patrick Silva <bugseforuns> |
Component: | QStyle | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | alphard07, bednarczyk.pawel, isma.af, jinesh, kde, kde, nate, noahadvs, postix, qydwhotmail, savicaleksa83 |
Priority: | HI | Keywords: | drkonqi, regression |
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=450066 https://bugs.kde.org/show_bug.cgi?id=439963 |
||
Latest Commit: | https://invent.kde.org/plasma/systemsettings/-/commit/9a35fd4c93a7121c184442b60138e1a457a2c40b | Version Fixed In: | 5.24.3 |
Sentry Crash Report: | |||
Attachments: |
gdbtrace
gdb trace video of lag spike |
Description
Patrick Silva
2021-10-29 11:27:51 UTC
Crash reproducible on Plasma 5.24 beta. Operating System: Arch Linux KDE Plasma Version: 5.23.90 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Graphics Platform: Wayland *** Bug 449853 has been marked as a duplicate of this bug. *** The wizard shows 449853 instead of this bug. *** This bug has been marked as a duplicate of bug 449853 *** *** Bug 450565 has been marked as a duplicate of this bug. *** *** Bug 450754 has been marked as a duplicate of this bug. *** *** Bug 450935 has been marked as a duplicate of this bug. *** *** Bug 449853 has been marked as a duplicate of this bug. *** I've been unable to reproduce this bug consistently, so if it is possible, could you please try to reproduce with latest system settings (after commit 1022d0b0d5945613)? I'm not sure that the commit will fix this (it is not its intention), but just to be sure. Thanks! Yes, opened systemsettings 20 times and no crash. Thanks! *** Bug 453813 has been marked as a duplicate of this bug. *** Got a duplicate report (Bug 444599) from someone on Plasma 5.24.5; re-opening. The way they reproduced it was: 1. right-click on desktop > configure displays 2. click "Switch to Sidebar mode" button in toolbar (I couldn't reproduce the issue by doing that on current git master though) (In reply to Nate Graham from comment #12) > (I couldn't reproduce the issue by doing that on current git master though) Hi Nate, I can reproduce this reliably on 5 25 beta on Arch now. I have captured a crash dump with debug symbols but I can’t access my computer now to upload it. I will attach the gdb trace tomorrow. I am also happy to help test by applying patches on top of 5 25 beta. I can only trigger the bug as follows: 1. right-click on desktop > configure displays 2. click "Switch to Sidebar mode" button in toolbar Created attachment 149133 [details]
gdbtrace
and here is the gdb dump.
Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.17.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT
(In reply to Pawel from comment #14) > Created attachment 149133 [details] > gdbtrace > > and here is the gdb dump. > I can reproduce with the given steps (usually once per session, but not always) and always with a backtrace similar to yours. This backtrace is different to the original one in the BR. It seems to be caused by accessing to a null smart pointer, to re-create a combobox model, after ConfigHandler::outputModelChanged() gets triggered, so it's not necessarily an old thing coming back but a new crash unveiling :). My guess is some errors or race on the destruction of the KCM module when it gets unloaded, or some dangling stuff in the process of switching from one view to the other (which may involve unloading and reloading). Created attachment 149134 [details]
gdb trace
You might be correct Ismael. Looking closer at the data it seems it might be a different bug manifesting itself.
I can repro 100% of the time. I have attached another dump - maybe it can help devs track down the root cause.
*** Bug 454389 has been marked as a duplicate of this bug. *** With current git master, I still can't reproduce the issue with Pawel's steps. Can you, Ismael? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! Hi Nate, FWIW, I can no no longer reproduce this issue on Arch Linux Plasma 5.26 beta. Instead of a crash, there is a noticeable lag spike, or a hitch, when clicking "Switch to Sidebar mode" button in the toolbar. Operating System: Arch Linux KDE Plasma Version: 5.25.90 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Kernel Version: 5.19.10-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon RX 6800 XT (In reply to Pawel from comment #21) > Hi Nate, > > FWIW, I can no no longer reproduce this issue on Arch Linux Plasma 5.26 > beta. Instead of a crash, there is a noticeable lag spike, or a hitch, when > clicking "Switch to Sidebar mode" button in the toolbar. > > Operating System: Arch Linux > KDE Plasma Version: 5.25.90 > KDE Frameworks Version: 5.98.0 > Qt Version: 5.15.6 > Kernel Version: 5.19.10-arch1-1 (64-bit) > Graphics Platform: Wayland > Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor > Memory: 31.3 GiB of RAM > Graphics Processor: AMD Radeon RX 6800 XT The lag is expected because it loads sidebar mode on demand. Created attachment 152306 [details]
video of lag spike
see the attached video. the lag only occurs when the system setting application is opened with the icon view and then I click switch to sidebar view. and it only lags the first time the user switches views - each subsequent switch is smooth
(In reply to Fushan Wen from comment #22) > (In reply to Pawel from comment #21) > > Hi Nate, > > > > FWIW, I can no no longer reproduce this issue on Arch Linux Plasma 5.26 > > beta. Instead of a crash, there is a noticeable lag spike, or a hitch, when > > clicking "Switch to Sidebar mode" button in the toolbar. > > > > Operating System: Arch Linux > > KDE Plasma Version: 5.25.90 > > KDE Frameworks Version: 5.98.0 > > Qt Version: 5.15.6 > > Kernel Version: 5.19.10-arch1-1 (64-bit) > > Graphics Platform: Wayland > > Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor > > Memory: 31.3 GiB of RAM > > Graphics Processor: AMD Radeon RX 6800 XT > > The lag is expected because it loads sidebar mode on demand. ah, that makes sense. Thanks and ignore my comment with the video. As far as I can tell, this defect has been fixed. It would be great if OP could confirm :) (In reply to Pawel from comment #24) > As far as I can tell, this defect has been fixed. It would be great if OP > could confirm :) I'm also unable to reproduce the crash. :) Operating System: Arch Linux KDE Plasma Version: 5.25.90 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Graphics Platform: Wayland |