[Numpy-tickets] [NumPy] #487: Segfault with recarrays and r3632

NumPy numpy-tickets@scipy....
Sun Apr 1 13:39:18 CDT 2007

#487: Segfault with recarrays and r3632
 Reporter:  faltet      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  numpy.core  |     Version:  none    
 Severity:  normal      |    Keywords:          
 It seems that a problem has slipped in lately because the next code:

 import numpy

 dtype = [('var1', 'S4')]
 for i in xrange(10):
     recarr = numpy.empty(shape=1, dtype=dtype)
 print "-->", recarr

 consistently causes a segfault at least with r3632. This seems to work
 well using r3546.

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

More information about the Numpy-tickets mailing list