pygobject / pgi

[Unmaintained: Use PyGObject instead] GTK+ / GObject Introspection Bindings for PyPy.
GNU Lesser General Public License v2.1
74 stars 16 forks source link

Gtk.ListStore.append == segfault #27

Open jjl opened 8 years ago

jjl commented 8 years ago

Minimal repro:

from pgi.repository import Gtk

ls = Gtk.ListStore(str)
ls.append(["Test"])
jjl commented 8 years ago

sidenote: When adding empty strings, it gives errors before segfaulting

(__main__.py:19174): GLib-GObject-CRITICAL **: g_value_type_transformable: assertion 'G_TYPE_IS_VALUE (src_type)' failed

(__main__.py:19174): Gtk-WARNING **: /var/tmp/portage/x11-libs/gtk+-3.16.6/work/gtk+-3.16.6/gtk/gtkliststore.c:836: Unable to convert from (null) to gchararray

(__main__.py:19174): GLib-GObject-CRITICAL **: g_value_type_transformable: assertion 'G_TYPE_IS_VALUE (src_type)' failed

(__main__.py:19174): Gtk-WARNING **: /var/tmp/portage/x11-libs/gtk+-3.16.6/work/gtk+-3.16.6/gtk/gtkliststore.c:836: Unable to convert from (null) to gchararray

(__main__.py:19174): Gtk-WARNING **: /var/tmp/portage/x11-libs/gtk+-3.16.6/work/gtk+-3.16.6/gtk/gtkliststore.c:836: Unable to convert from glong to gchararray
refi64 commented 8 years ago

Any update on this? It just bit me about 10 seconds ago.

thilomaurer commented 8 years ago

Any update on this? It just bit me also.