[Scipy-tickets] [SciPy] #1476: easy_install of 0.9.0 fails on OS X 10.7 (Lion)

SciPy Trac scipy-tickets@scipy....
Wed Aug 10 16:24:57 CDT 2011


#1476: easy_install of 0.9.0 fails on OS X 10.7 (Lion)
--------------------------+-------------------------------------------------
 Reporter:  tacoe         |       Owner:  cdavid
     Type:  defect        |      Status:  new   
 Priority:  normal        |   Milestone:  0.10.0
Component:  Build issues  |     Version:  0.9.0 
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by cshimmin):

 @rgommers: I am seeing at least 4 different failure modes. I have just
 compiled a fresh copy of scipy 0.9.0 from PyPI (after adding patching in
 the #include <complex.h> lines discussed here.)

 Here's the (top-truncated) output from a couple of runs of
 scipy.test(verbose=2):

 {{{
 test_djbfft (test_basic.TestDoubleFFT) ... ok
 test_n_argument_real (test_basic.TestDoubleFFT) ... ok
 test_definition (test_basic.TestDoubleIFFT) ... FAIL
 test_definition_real (test_basic.TestDoubleIFFT) ... ok
 test_djbfft (test_basic.TestDoubleIFFT) ... FAIL
 test_random_complex (test_basic.TestDoubleIFFT) ... FAIL
 python(80905,0x7fff77bdc960) malloc: *** error for object 0x1055a2320:
 pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 Abort trap: 6
 }}}

 {{{
 test_djbfft (test_basic.TestDoubleFFT) ... ok
 test_n_argument_real (test_basic.TestDoubleFFT) ... ok
 test_definition (test_basic.TestDoubleIFFT) ... FAIL
 test_definition_real (test_basic.TestDoubleIFFT) ... ok
 test_djbfft (test_basic.TestDoubleIFFT) ... FAIL
 test_random_complex (test_basic.TestDoubleIFFT) ... FAIL
 test_random_real (test_basic.TestDoubleIFFT) ... FAIL
 test_size_accuracy (test_basic.TestDoubleIFFT) ... Segmentation fault: 11
 }}}

 Another failure mode I saw included a warning (sorry, didn't catch this
 one with verbosity):
 {{{
 ........................................
 ........................................
 ........................................
 ............................./usr/local/Cellar/python/2.7.2/lib/python2.7
 /site-packages/scipy/cluster/vq.py:582: UserWarning: One of the clusters
 is empty. Re-run kmean with a different initialization.
   warnings.warn("One of the clusters is empty. "
 ...............F.FFpython(80891,0x7fff77bdc960) malloc: *** error for
 object 0x10590a820: pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 Abort trap: 6
 }}}

 Finally, in the last failure mode I have observed when running
 scipy.test(), the python interpreter hangs at 100% cpu, and doesn't
 respond to sigint. It died silently upon sigterm though.

 I'm guessing at least some of this non-deterministic behavior is from the
 test_random_* functions, but I haven't spent time looking into this.

 Let me know if any additional information can help.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1476#comment:26>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list