[NumPy-Tickets] [NumPy] #1522: segfault in any() on large object array

NumPy Trac numpy-tickets@scipy....
Wed Dec 29 17:47:58 CST 2010


#1522: segfault in any() on large object array
------------------------+---------------------------------------------------
 Reporter:  glub        |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  high        |   Milestone:  2.0.0   
Component:  numpy.core  |     Version:  devel   
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by jpeel):

 Well, I'm flummoxed, but the only significance of the number 10000 is that
 is when the BUFFER_UFUNCLOOP method is used. The problem, I believe, has
 something to do with the casting of the object to a boolean such that the
 result turns out to be an invalid object. Then, since the cast object is
 invalid, there is a segfault when Py_XINCREF is used on it.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1522#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list