[SciPy-dev] Scipy 0.4.8 segfaults on 64bit Linux (Ubuntu).

Nils Wagner nwagner at mecha.uni-stuttgart.de
Mon Mar 20 01:39:06 CST 2006


Rudolph van der Merwe wrote:
> Robert,
>
> scipy.test(10,10) definitely spits out A LOT MORE info. Here is the
> relevant part:
>
> ....
>
> check_basic (scipy.io.tests.test_array_import.test_numpyio)
> Don't worry about a warning regarding the number of bytes read.
> Warning: 1000000 bytes requested, 20 bytes read.
>  ... ok
> check_complex (scipy.io.tests.test_array_import.test_read_array) ... ok
> check_float (scipy.io.tests.test_array_import.test_read_array) ... ok
> check_integer (scipy.io.tests.test_array_import.test_read_array) ... ok
> check_default_a (scipy.linalg.tests.test_fblas.test_caxpy) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_caxpy) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_caxpy) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_caxpy)caxpy:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_caxpy) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_caxpy)caxpy:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_caxpy) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_ccopy) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_ccopy) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_ccopy)ccopy:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_ccopy) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_ccopy)ccopy:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_ccopy) ... ok
> check_default_beta_y (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_simple_transpose (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_simple_transpose_conj (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_x_stride_assert (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_x_stride_transpose (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_y_stride_assert (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_y_stride_transpose (scipy.linalg.tests.test_fblas.test_cgemv) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_cscal) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_cscal)cscal:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_cscal) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_cswap) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_cswap) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_cswap)cswap:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_cswap) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_cswap)cswap:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_cswap) ... ok
> check_default_a (scipy.linalg.tests.test_fblas.test_daxpy) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_daxpy) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_daxpy) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_daxpy)daxpy:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_daxpy) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_daxpy)daxpy:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_daxpy) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_dcopy) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_dcopy) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_dcopy)dcopy:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_dcopy) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_dcopy)dcopy:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_dcopy) ... ok
> check_default_beta_y (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_simple_transpose (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_simple_transpose_conj (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_x_stride_assert (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_x_stride_transpose (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_y_stride_assert (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_y_stride_transpose (scipy.linalg.tests.test_fblas.test_dgemv) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_dscal) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_dscal)dscal:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_dscal) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_dswap) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_dswap) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_dswap)dswap:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_dswap) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_dswap)dswap:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_dswap) ... ok
> check_default_a (scipy.linalg.tests.test_fblas.test_saxpy) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_saxpy) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_saxpy) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_saxpy)saxpy:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_saxpy) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_saxpy)saxpy:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_saxpy) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_scopy) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_scopy) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_scopy)scopy:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_scopy) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_scopy)scopy:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_scopy) ... ok
> check_default_beta_y (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_simple_transpose (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_simple_transpose_conj (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_x_stride_assert (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_x_stride_transpose (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_y_stride_assert (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_y_stride_transpose (scipy.linalg.tests.test_fblas.test_sgemv) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_sscal) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_sscal)sscal:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_sscal) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_sswap) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_sswap) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_sswap)sswap:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_sswap) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_sswap)sswap:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_sswap) ... ok
> check_default_a (scipy.linalg.tests.test_fblas.test_zaxpy) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_zaxpy) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_zaxpy) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_zaxpy)zaxpy:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_zaxpy) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_zaxpy)zaxpy:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_zaxpy) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_zcopy) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_zcopy) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_zcopy)zcopy:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_zcopy) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_zcopy)zcopy:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_zcopy) ... ok
> check_default_beta_y (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_simple_transpose (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_simple_transpose_conj (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_x_stride_assert (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_x_stride_transpose (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_y_stride_assert (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_y_stride_transpose (scipy.linalg.tests.test_fblas.test_zgemv) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_zscal) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_zscal)zscal:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_zscal) ... ok
> check_simple (scipy.linalg.tests.test_fblas.test_zswap) ... ok
> check_x_and_y_stride (scipy.linalg.tests.test_fblas.test_zswap) ... ok
> check_x_bad_size (scipy.linalg.tests.test_fblas.test_zswap)zswap:n=4
>  ... ok
> check_x_stride (scipy.linalg.tests.test_fblas.test_zswap) ... ok
> check_y_bad_size (scipy.linalg.tests.test_fblas.test_zswap)zswap:n=3
>  ... ok
> check_y_stride (scipy.linalg.tests.test_fblas.test_zswap) ... ok
> affine_transform 1 ... FAIL
> affine transform 2 ... FAIL
> affine transform 3 ... FAIL
> affine transform 4 ... FAIL
> affine transform 5Segmentation fault
>
> ...
>
> Rudolph
>
>
>
> --
> Rudolph van der Merwe
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
>   
I cannot reproduce the segfault on a 64bit machine.
Did you try gdb (The GNU Debugger)
to get further information w.r.t. the segfault ?

Ran 1123 tests in 50.512s

OK
<unittest.TextTestRunner object at 0x2aaab58e6f90>
>>> scipy.__version__
'0.4.9.1752'
>>> numpy.__version__
'0.9.7.2259'

Nils




More information about the Scipy-dev mailing list