[SciPy-user] bug crash

eric jones eric at enthought.com
Wed Jun 16 13:57:03 CDT 2004


Pearu Peterson wrote:

>On Tue, 15 Jun 2004, Olivier Ravard wrote:
>
>  
>
>>Hi,
>>
>>I used scipy under windows, and this simple code crashes python
>>with no error message :
>>
>>from scipy import *
>>b=arange(1000000).astype('f')
>>b=b*1j
>>
>>but this one works :
>>
>>from scipy import *
>>b=arange(100000).astype('f')
>>b=b*1j
>>
>>Looks like a memory problem...
>>    
>>
>
>Indeed..
>
>  
>
>>Anyone have an idea ?
>>    
>>
>
>Try installing more memory to your machine. On a machine with 1GB physical 
>RAM I have:
>
>In [1]: from scipy import *
>
>In [2]: b=arange(1000000).astype('f')
>
>In [3]: b=b*1j
>
>In [4]: b=arange(10000000).astype('f')
>
>In [5]: b=b*1j
>
>In [6]: b=arange(100000000).astype('f')
>
>In [7]: b=b*1j
>Segmentation fault
>
>  
>
It would be nice if the failure wasn't so violent...

eric

>Regards,
>Pearu
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>  
>




More information about the SciPy-user mailing list