[Numpy-tickets] [NumPy] #514: memory corruption crash with array of strings

NumPy numpy-tickets@scipy....
Wed May 9 09:03:55 CDT 2007


#514: memory corruption crash with array of strings
------------------------------+---------------------------------------------
 Reporter:  benjamin.thyreau  |       Owner:  somebody
     Type:  defect            |      Status:  new     
 Priority:  normal            |   Milestone:          
Component:  numpy.core        |     Version:  devel   
 Severity:  normal            |    Keywords:          
------------------------------+---------------------------------------------
 Hi,
 The following code seems to trigger a crash for me.

 {{{
 from numpy import hstack, __version__
 print __version__
 s = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
 t = []
 print hstack((t, s ))
 # in some case, try a second time
 print hstack((t, s ))
 }}}

 1.0.3.dev3736

 *** glibc detected *** python: malloc(): memory corruption: 0x08c70a98 ***

 Tested on Python 2.4.1, 2.4.3 and 2.5, with numpy 1.0.1.dev3460 and
 1.0.3.dev3736

 Note that i'm aware that the code itself is silly :-)

 Thanks

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/514>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list