[NumPy-Tickets] [NumPy] #466: Segmentation fault when reversing an array enough times

NumPy Trac numpy-tickets@scipy....
Tue Mar 22 20:41:21 CDT 2011


#466: Segmentation fault when reversing an array enough times
-------------------------+--------------------------------------------------
  Reporter:  faltet      |       Owner:  cookedm    
      Type:  defect      |      Status:  new        
  Priority:  normal      |   Milestone:  Unscheduled
 Component:  numpy.core  |     Version:  devel      
Resolution:              |    Keywords:             
-------------------------+--------------------------------------------------

Comment(by mwiebe):

 There should be a clean API mechanism for creating views, since currently
 fixing this requires hand-modifying many places.

 One fix will be to do a separation between "arrays" and "buffers," where a
 buffer holds elements, and arrays are always a view into a buffer. A view
 into another view would end up looking into the buffer, so no chain of
 references could exist.

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


More information about the NumPy-Tickets mailing list