[Numpy-tickets] [NumPy] #592: numpy-1.0.4.dev3947 segfaults on |= for largish array sizes

NumPy numpy-tickets@scipy....
Tue Oct 16 14:27:03 CDT 2007


#592: numpy-1.0.4.dev3947 segfaults on |= for largish array sizes
--------------------------+-------------------------------------------------
 Reporter:  AaronParsons  |       Owner:  somebody           
     Type:  defect        |      Status:  new                
 Priority:  normal        |   Milestone:                     
Component:  Other         |     Version:  none               
 Severity:  normal        |    Keywords:  segfault numpy core
--------------------------+-------------------------------------------------
 I'm on Fedora Core 7, running Python 2.5 with numpy-1.0.4.dev3947.
 The following:
 {{{
 >>> import numpy
 >>> a = numpy.zeros((484,256))
 >>> a |= numpy.ones((484,256))
 }}}
 Segfaults

 Expected behavior:
 {{{
 TypeError: unsupported operand type(s) for |: 'float' and 'float'
 }}}

 Seems to be array size dependent.

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


More information about the Numpy-tickets mailing list