[NumPy-Tickets] [NumPy] #2160: memory corruption on argmax(-1, out=...)

NumPy Trac numpy-tickets@scipy....
Thu Jun 14 14:39:48 CDT 2012


#2160: memory corruption on argmax(-1, out=...)
----------------------------+-----------------------------------------------
 Reporter:  mattip          |       Owner:  somebody   
     Type:  defect          |      Status:  new        
 Priority:  normal          |   Milestone:  Unscheduled
Component:  numpy.numarray  |     Version:  devel      
 Keywords:  argmax          |  
----------------------------+-----------------------------------------------
 Running this one liner crashes python with a glibc memory corruption

 numpy.arange(15).reshape((5,3)).argmax(-1, out=numpy.ones((3,1),
 dtype=int))

 on centos6 64 bit
 Python 2.6.6 (r266:84292, Dec  7 2011, 20:48:22)
 [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2

 >>> numpy.version.version
 '2.0.0.dev-4fcb53e'

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2160>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list