SASS includes kill session via extension when locking
Affected version
3.36.1 / gnome-shell-sass@358639
Bug summary
Using GNOME Shell SASS in an extension kills GNOME Shell when locking (manually / automatically).
Steps to reproduce
I'm using the GNOME Shell SASS repository to build my extension stylesheet (for variables).
Including
@import "gnome-shell-sass/_colors";
@import "gnome-shell-sass/_drawing";
@import "gnome-shell-sass/_common";
at the top produces not only a license header but also
/* Global Values */
stage {
font-size: 11pt;
color: #2e3436;
}
/* Common Stylings */
As soon as the screen is locked the session crashes. This can easily be reproduced in a nested session, if shell is started with the extension enabled.
Here's an extension that triggers the crash reliably on my system.
Resolution
Please consider adapting the SASS files to not unconditionally include these statements. Not only for this crash but also for the sake of improving the imports in extensions.
Edited by Alexander Hofbauer