segfault when running with pylab

Version information:

···

---------------------------
Vpython visual-4.beta14
In [2]: visual.__version__
Out[2]: '1.0.1'
Python 2.4.4, Fedora Core 6 updated.
python-matplotlib-0.87.7-3.fc6

Description:
A segfault is reliably produced when running vpython along with pylab / matplotlib functions:

cut------------------------------------------
from visual import *
from pylab import *

ball = sphere( pos=(0,0,0), color=color.red)
x=arrange(0,10,0.1)
y=sin(2*pi*x)
plot(x,y)
cut ------------------------------------------

The segfault actually triggers on the plot call, but removing _either_ the visual sphere call _or_ the pylab plot call eliminates the segfault, with the either the plot or the ball rendering correctly.
Ive filed a bug w/ vpython. Any ideas?

Regards,
Mark

Self follow-up:
Rolled back to visual 0.3.2.9 and the segfault with pylab is not present there; both the visual object and pylab graph are rendered correctly. Sorry vpython, looks like the bug is due to your new beta.

-Mark

Mark Heslep wrote:

···

Version information:
---------------------------
Vpython visual-4.beta14
In [2]: visual.__version__
Out[2]: '1.0.1'
Python 2.4.4, Fedora Core 6 updated.
python-matplotlib-0.87.7-3.fc6

Description:
A segfault is reliably produced when running vpython along with pylab / matplotlib functions:

cut------------------------------------------
from visual import *
from pylab import *

ball = sphere( pos=(0,0,0), color=color.red)
x=arrange(0,10,0.1)
y=sin(2*pi*x)
plot(x,y)
cut ------------------------------------------

The segfault actually triggers on the plot call, but removing _either_ the visual sphere call _or_ the pylab plot call eliminates the segfault, with the either the plot or the ball rendering correctly.
Ive filed a bug w/ vpython. Any ideas?

Regards,
Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options