[SciPy-dev] Segfault on OS X 10.6.2/Py-2.6.4 with SciPy FFT tests

Tom Loredo loredo@astro.cornell....
Sun Feb 21 20:35:01 CST 2010


Hi folks-

I'm trying to install NumPy & SciPy on 10.6.2 (Snow Leopard) with
64-bit Python 2.6.4 (a new framework build, not Apple's 2.6.1).  I've
built FFTW and AMD/UMFPACK and they pass their respective tests.
NumPy-1.4.0 builds fine and passes all tests (except for 3 Knowns
and 1 Skip).  I've verified it's finding FFTW & AMD/UMF.  
SciPy-0.7.1 builds fine and imports without issue, but quickly 
into the tests has several failures & then a segfault crash.  I tried
installing a recent SVN SciPy (0.8.0.dev6220) but it crashes with
a similar segfault.  In both cases it's during the FFT tests.

I removed both packages from site-packages and re-installed, this
time having removed FFTW (verifying no fftw lib was found), and
again there is a crash in the FFT tests, presumably pointing to
a problem with numpy/scipy rather than FFTW.

I've copied below the tail end of the output from scipy.test(verbose=10)
from both SciPy versions (without FFTW).  There's an indication that
an object is being modified after its memory is freed.  I haven't
done malloc-level debugging so I'm not sure how to help at this point.
If anyone can have a look or provide more explicit pointers, I'd be
grateful!

Thanks,
Tom

~~~~~~~~~~~~
scipy-0.7.1:

test_definition (test_basic.TestFft) ... ok
test_djbfft (test_basic.TestFft) ... ok
test_n_argument_real (test_basic.TestFft) ... ok
test_axes_argument (test_basic.TestFftn) ... ok
test_definition (test_basic.TestFftn) ... ok
test_shape_argument (test_basic.TestFftn) ... ok
test_shape_argument_more (test_basic.TestFftn) ... ok
test_shape_axes_argument (test_basic.TestFftn) ... ok
test_shape_axes_argument2 (test_basic.TestFftn) ... ok
test_definition (test_basic.TestIfft) ... FAIL
test_djbfft (test_basic.TestIfft) ... FAIL
test_random_complex (test_basic.TestIfft) ... FAIL
test_random_real (test_basic.TestIfft) ... Python(15804,0x7fff7065dbe0) malloc: *** error for object 0x105376448: 
incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap

~~~~~~~~~~~~
scipy-0.8.0.dev6220

test_definition (test_basic.TestDoubleFFT) ... ok
test_djbfft (test_basic.TestDoubleFFT) ... ok
test_n_argument_real (test_basic.TestDoubleFFT) ... ok
test_definition (test_basic.TestDoubleIFFT) ... Python(29515,0x7fff7065dbe0) malloc: *** error for object 0x1012fbf28: 
incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the SciPy-Dev mailing list