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

NumPy numpy-tickets@scipy....
Tue Oct 16 20:04:52 CDT 2007


#592: numpy-1.0.4.dev3947 segfaults on |= for largish array sizes
---------------------------------+------------------------------------------
 Reporter:  AaronParsons         |        Owner:  oliphant
     Type:  defect               |       Status:  assigned
 Priority:  highest              |    Milestone:          
Component:  Other                |      Version:  none    
 Severity:  normal               |   Resolution:          
 Keywords:  segfault numpy core  |  
---------------------------------+------------------------------------------
Changes (by oliphant):

  * status:  new => assigned
  * priority:  normal => highest
  * owner:  somebody => oliphant

Comment:

 I can verify this bug.

 The problem is with the complicated portion of the ufunc loops which is
 called for large enough arrays so that casting is done a bit at a time.
 Because there is no floating_point bitwise handler, but there is an object
 handler, the OO_O ufunc is being called, but with the wrong data buffer
 (somehow the casting is not being done or the buffer is not pointed
 correctly).  However, the casting code is being tested by other
 situations, so, my bet is that the buffer pointers are not being set up
 right.

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


More information about the Numpy-tickets mailing list