[pygtk] libglade, python and gnome widgets: segmentation fault

Christian Reis kiko@async.com.br
Wed, 30 Oct 2002 14:24:25 -0300


On Wed, Oct 30, 2002 at 05:18:51PM +0000, Padraig Brady wrote:
> Where can I get a pygnome corresponding to gtk-0.6.11 ?

It's gnome-python 

> Anyway I broke by dependencies (--nodeps --force) just for you :-)
> And still same error. I created a button with stock OK image,
> and got:
> 
> IMLIB ERROR: Cannot allocate XImage buffer
> 
> Gdk-CRITICAL **: file gdkwindow.c: line 1406 (gdk_window_get_visual): assertion 
> `window != NULL' failed.
> Segmentation fault

Great. Can you run python through gdb to get a stack trace? Something
like:

    gdb python 
    gdb> run scriptname.py
    [...]
    Segmentation fault
    gdb> where
    [where the crash happened]

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL