[Scipy-tickets] [SciPy] #1472: Recent Arpack changes segfaulting in test suite

SciPy Trac scipy-tickets@scipy....
Sun Jul 3 08:50:53 CDT 2011


#1472: Recent Arpack changes segfaulting in test suite
---------------------------------+------------------------------------------
 Reporter:  rgommers             |       Owner:  pv    
     Type:  defect               |      Status:  new   
 Priority:  high                 |   Milestone:  0.10.0
Component:  scipy.sparse.linalg  |     Version:  0.9.0 
 Keywords:  arpack               |  
---------------------------------+------------------------------------------

Comment(by rgommers):

 The isolve tests show the same crash:
 {{{
 test_iterative.test_convergence(<function cg at 0x18654f0>, <rand-cmplx-
 sym-pd>) ...
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x1695da50
 0x9357bc00 in ATL_zaxpy_xp0yp0aXbX ()
 (gdb) bt
 #0  0x9357bc00 in ATL_zaxpy_xp0yp0aXbX ()
 #1  0x9357ba60 in ATL_zaxpy ()
 }}}

 After compiling with -O0 (only for Fortran, C/C++ refuses to add -O0
 instead of -O3 both with scons and distutils) the isolve problem is gone.
 The scipy.sparse tests fail with a similar issue:
 {{{
 test_arpack.test_hermitian_modes(True, <gen-hermitian>, 'F', 2, 'LM',
 None, None, <function aslinearoperator at 0x2a16cb0>) ...
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x063e31e8
 0x9357dd90 in ATL_cdotc_xp0yp0aXbX ()
 (gdb) bt
 #0  0x9357dd90 in ATL_cdotc_xp0yp0aXbX ()
 #1  0x9357dbef in ATL_cdotc_sub ()
 Previous frame inner to this frame (gdb could not unwind past this frame)
 }}}

 Will try to get Valgrind to work. It seems to have gained limited OS X
 support since last time I checked, but it still comes with the disclaimer
 "As of mid 2009, it works also on x86/MacOSX 10.5.8, although
 unfortunately not well on MacOSX 10.6".

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


More information about the Scipy-tickets mailing list