GNOME Bugzilla – Bug 765018
Segfault in gtk_css_gadget_get_visible
Last modified: 2016-04-17 00:45:09 UTC
Pitivi segfaults when using GTK 3.20: (gdb) bt
+ Trace 236178
Seems a Gtk.Layout containing an empty Gtk.Box at some point causes this segfault. See https://phabricator.freedesktop.org/T7373#86205
The only place where box->priv->gadget is cleared is in dispose(). So, either the python code here manages to call draw() on a disposed widget somehow, or there is some memory corruption causing the gadget pointer to be cleared.
would be good to catch this in a debugger and see what the widget in question looks like at that point
The problem was that Layer is a subclass of Gtk.EventBox and the Layer.do_draw method was calling Gtk.Box.do_draw(self, cr) instead of calling Gtk.EventBox.do_draw(self, cr). We ended up removing the method, it was not doing anything and was just a relic from the previous timeline implementation: https://git.gnome.org/browse/pitivi/commit/?id=62e5a852f905847e98cc653bc9e06fc8b57ab899