main-Avoid-meta-finalize.patch: Leak GJS to work around LP: #1964458
Which is the cause of gnome-shell crashes in jammy live sessions. We also remove some old text that only applied to GNOME 40 (impish).
Leaking is ugly, but:
- It's literally at the end of main() so for general memory consumption it makes no difference.
- Our best guess of the cause of LP: #1964458 is GJS and the GJS author doesn't yet have any suggestions.
- The crash LP: #1964458 doesn't happen in development and doesn't happen even in release if you attach a debugger. We are unable to debug it, only to view incomplete core files from optimized builds running in live sessions.
- The expected lifetime of this change is limited as the patch already describes. Efforts to fully clean up the shutdown procedure are expected to land in future GNOME releases.
Edited by Daniel van Vugt
Merge request reports
Activity
It's hard to test fix ideas when the problem only happens in ISOs and nowhere else. If you have suggestions for what to fix in GJS then please mention them in the GJS bug.
Please register or sign in to reply