Segfault on "from gi.repository import Gtk"
$ python -c 'from gi.repository import Gtk'
Segmentation fault
Same with import gi.overrides.Gtk
.
I narrowed it down to Gtk.SizeGroupMode.VERTICAL
in SizeGroup
declaration: https://gitlab.gnome.org/GNOME/pygobject/blob/806c5059f989ed1b8bc62e6aa1ef55123ac110de/gi/overrides/Gtk.py#L440
I'm on latest commit in master: 806c5059,
installed pygobject with python setup.py install
.
I'm on NixOS, using these system packages:
[nix-shell:~/py/pygobject]$ echo $buildInputs | lines | cut -d- -f2- | sort
cairo-1.14.10-dev
glib-2.56.0-dev
gobject-introspection-1.56.0-dev
python3-3.6.5
python3.6-pkgconfig-1.1.0
python3.6-pycairo-1.15.4