[SciPy-dev] fft segfault, 64 Bit Opteron

Travis Oliphant oliphant.travis at ieee.org
Fri Dec 9 15:20:14 CST 2005

Andrew Straw wrote:

>FYI, on my Athlon64 (Debian sarge, gcc 3.3, stock atlas), I'm not
>getting segfaults using scipy.test(10,10) but only a single failure. 
>This is a svn checkout last night, so it may lag slightly, but it seems
>to indicate Arnd's segfaults may reflect a gcc vs. icc issue.
>In [2]: scipy.__core_version__
>Out[2]: ''
>In [3]: scipy.__scipy_version__
>Out[3]: ''
>FAIL: check_odeint1 (scipy.integrate.test_integrate.test_odeint)
>Traceback (most recent call last):
>  File
>line 51, in check_odeint1
>    assert res < 1.0e-6
Finally tracked this one down.  It was a problem with a Fortran array 
getting created inappropriately because when I changed the 
implementation of the back-wards compatible Numeric C-API for
PyArray_FromDims, I made a mistake so that Fortran arrays always got 
created.  Now, what surprises me is that it didn't cause more problems.  
I suppose that's because f2py does not use PyArray_FromDims anymore.  

But, lots of other people's code does I'm sure.... Anyway it should be 
fixed and now all scipy tests pass for me again.


More information about the Scipy-dev mailing list