Package: python3-gi Version: 3.1.0-2 Severity: important Dear Maintainer,
I have an application which provides a custom wiget, which inherits from Gtk.Box and does stuff related to the size. Currently, this specific code is segfaulting, I'm not sure why. >From my non-working example, I created a minimal test case which show the problem on my computer, which attached to this bug report. I also provide the core dumped at http://multani.info/debian/bugs/python3-gi-core.bz2 (2.2MB) I don't have the core dumped if I execute the code with Python 2.7. I would be glad to provide more information if needed. Thanks, Jonathan -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python3-gi depends on: ii gir1.2-glib-2.0 1.31.22-1 ii libc6 2.13-27 ii libffi5 3.0.10-3 ii libgirepository-1.0-1 1.31.22-1 ii libglib2.0-0 2.30.2-6 ii python3 3.2.3~rc1-2 python3-gi recommends no packages. python3-gi suggests no packages. -- no debconf information
#!/usr/bin/env python3 from gi.repository import GObject from gi.repository import Gtk class MyBox(Gtk.Box): def do_get_preferred_width(self): return Gtk.Box.do_get_preferred_width(self) def do_size_allocate(self, allocation): return Gtk.Box.do_size_allocate(self, allocation) w = Gtk.Window() b = MyBox() w.add(b) w.show_all()