Bug 424338 - System Settings gets stuck in memory when closed after I open different GHNS windows in sequence
Summary: System Settings gets stuck in memory when closed after I open different GHNS ...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.82.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-17 15:21 UTC by Patrick Silva
Modified: 2025-03-27 18:00 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-07-17 15:21:17 UTC
SUMMARY
This issue is 95% reproducible with the steps below.

STEPS TO REPRODUCE
1. open system settings > startup and shutdown
2. click on "Get new login screens..." and immediately close the window
3. go to "Splash Screen" kcm
4. click on "Get new splash screens" button and immediately close the window
5. close System Settings
6. try to reopen System Settings: you can not because systemsettings5 process got stuck in the memory when System Settings was closed


EXPECTED RESULT
systemsettings5 process should always be completely terminated when System Settings is closed

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2
Comment 1 Alexander Lohnau 2020-07-17 19:19:25 UTC
Instead I get the issue that it is crashing, like BUG 416328.
Comment 2 Patrick Silva 2020-07-17 19:45:23 UTC
Hi Alexander
I can reproduce this issue only on Wayland (sometimes System Settings crashes as reported in bug 424334 instead). When I follow the steps provided here on X11, System Settings always crashes as reported in bug 424334.
Comment 3 Alexander Lohnau 2020-07-17 19:57:59 UTC
Thanks for the additional info!

I followed your described steps on Wayland, but still get the same crash.
Comment 4 Thiago Sueto 2020-11-13 03:10:57 UTC
This is not a Wayland-specific issue. I can reproduce this on X11 (master). It's not always reproducible, but it's more reproducible after the message "Loading data" of the Login screen GHNS appears, or after the window is fully loaded.

However if you close the Login screen window too fast with either mouse or keyboard  (before "Loading data" appears) and click the button of the Splash screen GHNS, it results in a crash, the backtrace seems similar to bug 416328.
Comment 5 Patrick Silva 2021-05-16 16:49:02 UTC
All GHNS windows were already ported to new style and this problem no longer occurs. :)
Comment 6 Patrick Silva 2021-05-16 20:01:29 UTC
Nevermind. I was able to reproduce on Arch Linux running Plasma 5.22 beta
repeating the provided steps 3 times. :(

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 7 Patrick Silva 2021-05-16 20:08:28 UTC
Sorry, the steps were different, not the same.

1. open GHNS window of Task Swicher KCM and close it immediately
2. open GHNS window of Kwin Scripts KCM and closed it immediately
3. close System Settings
4. try to reopen System Settings: you can not because systemsettings5 process got stuck in the memory