[Numpy-tickets] [NumPy] #647: Bus Error with object arrays on big endian Solaris system

NumPy numpy-tickets@scipy....
Tue Jan 29 09:11:45 CST 2008


#647: Bus Error with object arrays on big endian Solaris system
---------------------------+------------------------------------------------
 Reporter:  chanley        |        Owner:  somebody
     Type:  defect         |       Status:  new     
 Priority:  normal         |    Milestone:  1.0.5   
Component:  numpy.core     |      Version:  devel   
 Severity:  critical       |   Resolution:          
 Keywords:  object arrays  |  
---------------------------+------------------------------------------------
Changes (by chanley):

  * summary:  Bus Error with object arrays on big endian system => Bus
              Error with object arrays on big endian Solaris
              system

Comment:

 Here is an additional example that does not use print statements.
 Unfortunately this does seem to be a Solaris issue.  I cannot reproduce
 the problem on a PPC Mac.

 Example:

 {{{
 !/usr/bin/env python
 import numpy

 o = numpy.ndarray(shape=3,dtype=[('SEGMENT', '|S4'), ('SPEC_FOUND',
 '|i1')])

 o1 = o.getfield(numpy.dtype('|S4'),0)

 o1[:] = ' '
 o2 = o1
 }}}

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


More information about the Numpy-tickets mailing list