[NumPy-Tickets] [NumPy] #1588: numpy.ndarray.clip segfaults on big-endian dtype

NumPy Trac numpy-tickets@scipy....
Thu May 10 23:41:32 CDT 2012


#1588: numpy.ndarray.clip segfaults on big-endian dtype
------------------------+---------------------------------------------------
 Reporter:  bdkern      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  2.0.0   
Component:  numpy.core  |     Version:  1.6.1   
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by charris):

 Still present in 1.7.0.dev-bb162a2.


 {{{
 >>> a = numpy.zeros((2,), dtype='>i2').clip(min=0)
 >>> a + a
 Segmentation fault (core dumped)
 }}}

 I'm guessing a reference counting bug.

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


More information about the NumPy-Tickets mailing list