Gnome-shell segfault when extension changes style during a style transition
Affected version
- Ubuntu 22.04.1 LTS x64
- Gnome 42.4
- Wayland
Bug summary
When the laptop screen is turned off, seems like user session is closed due a gnome-shell crash.
Steps to reproduce
- Have focus on any aplication, e.g firefox.
- Turn off screen. I tested with a 1 minute to turn off screen in energy config.
What happened
When the laptop screen is turned off, e.g. by power saving settings and there is an active window of any application (tested with firefox, spotify, vscode and a terminal), before the screen turns off completely a black screen briefly appears with a flashing underscore character. When logging in again, all applications have been closed.
What did you expect to happen
Relevant logs, screenshots, screencasts etc.
I have tested it several times, and when checking the syslog at screen shutdown time I found these lines in all of them:
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-main".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-1".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-2".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-3".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-4".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-5".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-6".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-7".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-8".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-9".
gnome-shell[11376]: Window manager warning: Trying to remove non-existent keybinding "autotile-10".
kernel: [11243.584857] gnome-shell[11376]: segfault at 0 ip 00007fce17413071 sp 00007ffe63ab2fa0 error 4 in libst-1.0.so[7fce173ee000+4e000]
kernel: [11243.584871] Code: 48 89 44 24 08 eb 11 66 90 48 83 ed 08 48 39 6c 24 08 0f 84 94 02 00 00 49 8b 84 24 28 01 00 00 4c 89 ee 4c 8b 3c 28 49 8b 07 <48> 8b 00 48 8b 38 e8 b4 ed fd ff 89 c3 85 c0 75 ce 4d 8b 7f 08 c7`