[pygtk] segmentation fault

Antoon Pardon Antoon.Pardon at rece.vub.ac.be
Wed Apr 14 19:02:40 WST 2004


On Tue, Apr 13, 2004 at 10:59:22AM +0200, Johan Dahlin wrote:
> tis 2004-04-13 klockan 07.51 skrev Benjamin Collar:
> > Greetings
> > 
> > I've written some *incorrect* code that causes python to segfault. Would this 
> > be a python bug or a pygtk bug?
> 
> Actually this is your bug. It's discussed in
> http://bugzilla.gnome.org/show_bug.cgi?id=96658 which was closed as
> WONTFIX.
> 
> The solution is to remove the empty constructor or add
> self.__gobject_init__()

That it is his bug, doesn't contradict that it is someone
else's bug too. If a bug in the python code triggers a
segmentation violation, then I consider that a bug either
in the python interpreter or the module used.

That a bug is only triggered by buggy code, doesn't
make it a non-bug.

-- 
Antoon Pardon


More information about the pygtk mailing list