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

NumPy Trac numpy-tickets@scipy....
Thu Aug 30 23:23:23 CDT 2012


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

Comment(by ocertik):

 It segfaults on the line:
 {{{
         return descr->f->getitem(data, base);
 }}}
 Where descr->f is ok, but descr->f->getitem points to a memory (not NULL)
 that cannot be accessed. A full output from valgrind:
 https://gist.github.com/3549063

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


More information about the NumPy-Tickets mailing list