[Scipy-tickets] [SciPy] #553: sparse solvers segfault with singular matrices

SciPy scipy-tickets@scipy....
Fri Dec 7 01:18:09 CST 2007


#553: sparse solvers segfault with singular matrices
--------------------------+-------------------------------------------------
 Reporter:  insyzygy      |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  normal        |   Milestone:  0.7     
Component:  scipy.sparse  |     Version:          
 Severity:  normal        |    Keywords:          
--------------------------+-------------------------------------------------
 I have noticed that the sparse solvers segfault when given a singular
 matrix.

 As a simple extreme case
 {{{
 from scipy import sparse
 from scipy import linsolve
 m=sparse.lil_matrix((10,10))
 n=numpy.array([1.0]*10)
 linsolve.spsolve(m,n)
 }}}

 segfaults instead of raising an exception.


 This is using superlu not umfpack.

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


More information about the Scipy-tickets mailing list