segfault in dynamic_demo.py

When running examples/dynamic_demo I get a segfault with the

    > following backtrace. Does anyone have any thoughts on what
    > might be causing this? I'm using python 2.4 .4c1 and the
    > latest svn version of mpl/numpy/scipy.

Look at the first few lines of dynamic_demo.py

#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk

It is using gtk explicitly. Your output indicates you are using ewx

    > wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
    > #12 0x00002b042968411b in wxAppBase::MainLoop () from
    > /usr/lib/libwx_gtk2u_core-2.6.so.0 #13 0x00002b0428c88487 in
    > wxPyApp::MainLoop () from
    > /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core_.so
    > #14 0x00002b0428ce928f in wxPyFileSystemHandler::FindFirst ()

Maybe you are mixing backends and GUI mainloops. Make sure your
backend and GUI agree -- eg examples/dynamic_demo_wx.py

JDH