[SciPy-dev] segfault

Travis Oliphant oliphant.travis at ieee.org
Wed Nov 30 12:41:37 CST 2005


Lisandro Dalcin wrote:

>I am using scipy_core-0.6.1 downloaded from SouceForge. I got the
>following segfault:
>
>[dalcinl at trantor dalcinl]$ python
>Python 2.4.2 (#1, Nov  7 2005, 16:51:05)
>[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>  
>
>>>>from scipy.base import *
>>>>a = array(1)
>>>>a.dtype = float
>>>>        
>>>>
>Segmentation fault
>[dalcinl at trantor dalcinl]$
>
>  
>

Thanks for the bug-report.  This is now fixed in SVN.  The problem was 
that 0-dimensional arrays
were not being handled correctly when the itemsize was different.  This 
now raises an error.

-Travis




More information about the Scipy-dev mailing list