GNOME Bugzilla – Bug 686160
Cogl crashes when disconnecting renderer
Last modified: 2021-06-10 11:19:54 UTC
Created attachment 226470 [details] [review] Set freed pointer to NULL and check later. I'm getting a crash in cogl when starting gnome-control-center (gnome 3.6.x fallback mode). Backtrace of the crash is:
+ Trace 231034
It seems that _cogl_winsys_renderer_disconnect() tries to access "renderer->winsys" which was already freed. Attached patch fixes the problem for me. Regards Marek
I ran gnome-control-center with G_SLICE="always-malloc" to get the backtrace.
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 of cogl, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a ticket at https://gitlab.gnome.org/GNOME/cogl/-/issues/ Thank you for your understanding and your help.