GNOME Bugzilla – Bug 792709
Cleaning up surface actors lingering in the Javascript GC on tear down causes crash
Last modified: 2021-07-05 14:46:13 UTC
Created attachment 367129 [details] gdb backtrace of the crash I got a random crash (SIGSEGV) in gnome-shell. I am using gnome-shell 3.26.2-3, Xorg 2:1.19.5-1 and GNOME 3.26 on Debian buster. If the below gdb backtrace and the attached full gdb backtrace isn't useful, please close this bug. The core file will be automatically deleted in a week but I can keep it around for longer if needed. Core was generated by `gnome-shell --replace'. Program terminated with signal SIGSEGV, Segmentation fault.
+ Trace 238347
Created attachment 367277 [details] second gdb backtrace of the crash I got another similar crash, here is the backtrace: Core was generated by `gnome-shell --replace'. Program terminated with signal SIGSEGV, Segmentation fault.
+ Trace 238360
Seems to be caused by the Javascript GC keeping references to MetaSurfaceActor objects that fail to clean themselves up because we tear down the X11 display connection (and everything else associated with it) before we tear down the Javascript context.
There are some other bugs with similar backtrace, not sure whether they are out right duplicates. bug 785327 and 788366.
FYI, I'm still getting this crash with gnome-shell 3.28.0-1+b1 from Debian buster.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.