[Python-apps-team] Bug#478017: A possible cause for the segfault

abli at freemail.hu abli at freemail.hu
Sun May 11 08:31:03 UTC 2008


As noted in my previous mail, the patch included in it fixes the
segfault. However, running mayavi2 produces the following gtk warning
which might be relevant:

(python:16054): Gtk-CRITICAL **: gtk_widget_set_colormap: assertion `!GTK_WIDGET_REALIZED (widget)' failed

Putting debug printfs around the line 

         scene = DecoratedScene(parent)

In the patch, shows that the gtk warning is triggered by that line.  I
think the segfault is caused by the same bug that produces this gtk
warning, since the warning is about such a 'twiddling a widget that is
not fully initialized' situation.

I assume the warning itself is reproducible for others, since it is
mentioned in debian bug no. 478844
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478844)

Daniel Abel
abli at freemail.hu





More information about the Python-apps-team mailing list