core dump

After building wxPython on linux, my first run of demo.py gave me a core dump. Now (from a different X server?) something else. Demo.py has no line 12541… This happens about 5 seconds after the window with the Monty Python character appears, with no input from me.

Some simple demo I wrote does work, so not everything is broken.

% python demo.py

(demo.py:12541): Gdk-CRITICAL **: file gdkwindow.c: line 2217 (gdk_window_invalidate_rect): assertion `window != NULL’ failed

(demo.py:12541): Gdk-CRITICAL **: file gdkwindow.c: line 2217 (gdk_window_invalidate_rect): assertion `window != NULL’ failed

Mark Fanty wrote:

After building wxPython on linux, my first run of demo.py gave me a core dump. Now (from a different X server?) something else. Demo.py has no line 12541...

That is the process ID, not the line number.

This happens about 5 seconds after the window with the Monty Python character appears, with no input from me.

So it is something about how the main frame of the demo is being created. Try adding some print statements in wxPythonDemo.__init__ to try and narrow it down to what is causing the error.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!