[SciPy-dev] Segfault with arange

Travis Oliphant oliphant.travis at ieee.org
Tue Dec 13 12:49:34 EST 2005


Prabhu Ramachandran wrote:

>Hi,
>
>I accidentally typed this on an interpreter session and got a
>segfault:
>
>import scipy
>s = scipy.arange((10,10,10))
>  
>
>Program received signal SIGSEGV, Segmentation fault.
>[Switching to Thread 1075417856 (LWP 11145)]
>0x0805ba60 in PyObject_IsSubclass ()
>  
>
Thanks for finding this.  It's fixed now in SVN.  The check for NULL was 
there (just on the non-dereferenced pointer...doh!)

-Travis






More information about the SciPy-Dev mailing list