[Scipy-tickets] [SciPy] #794: linalg.eig segmentation fault on unpickled arrays

SciPy scipy-tickets@scipy....
Wed Feb 25 21:09:53 CST 2009


#794: linalg.eig segmentation fault on unpickled arrays
--------------------------+-------------------------------------------------
 Reporter:  tzito         |        Owner:  somebody
     Type:  defect        |       Status:  new     
 Priority:  high          |    Milestone:  0.8.0   
Component:  scipy.linalg  |      Version:          
 Severity:  critical      |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by pv):

 Is there a reason not to fix this in the same way as numpy's
 http://projects.scipy.org/scipy/numpy/ticket/551 ? Ie. just make a
 temporary copy when the alignment would cause problems; AFAIK some
 discontinuous arrays are anyway copied.

 I'm not convinced raising a ValueError is the correct thing to do; the
 user shouldn't need to care about alignment of his data in this way. As a
 user, I'd rather see an obscure performance degradation than an obscure
 ValueError.

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/794#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