Menu

#76 Segfault when when with pylab / matplotlib functions

open
nobody
None
5
2007-01-31
2007-01-31
Anonymous
No

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

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=arange(0,10,0.1)
y=sin(2*pi*x)
plot(x,y)
cut ------------------------------------------

Remvoving _either_ the visual sphere call _or_ the pylab plot call eliminates the segfault

Discussion

  • Nobody/Anonymous

    Logged In: NO

    mheslep@gmail.com

    Followup: rolled back to visual 0.3.2.9 and the segfault is not present there; both the visual sphere and pylab graph render correctly.

    Regards,
    Mark

     
  • Nobody/Anonymous

    Logged In: NO

    mheslep@gmail.com

    Followup: rolled back to visual 0.3.2.9 and the segfault is not present there; both the visual sphere and pylab graph render correctly.

    Regards,
    Mark

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.