[Scipy-tickets] [SciPy] #1447: Segfault in ilu_ddrop_row

SciPy Trac scipy-tickets@scipy....
Thu May 26 13:05:49 CDT 2011


#1447: Segfault in ilu_ddrop_row
---------------------------------+------------------------------------------
 Reporter:  pefarrell            |       Owner:  wnbell
     Type:  defect               |      Status:  new   
 Priority:  normal               |   Milestone:        
Component:  scipy.sparse.linalg  |     Version:  0.9.0 
 Keywords:                       |  
---------------------------------+------------------------------------------

Comment(by pv):

 Hmm, I'm wrong about `.copy()` or saving/loading to a file fixing it. The
 bug appears also from reading the saved `.mtx` file -- it does not always
 result to a segmentation fault, but Valgrind sees it. The offending file
 is attached for later reference...
 {{{
 import scipy.sparse.linalg
 import scipy.io

 CMC = scipy.io.mmread("CMC.mtx")
 CMCinv = scipy.sparse.linalg.spilu(CMC.tocsc())
 }}}

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


More information about the Scipy-tickets mailing list