[NumPy-Tickets] [NumPy] #1336: Fix for 1299 exposes Bus error on Sparc

NumPy Trac numpy-tickets@scipy....
Sat Jan 16 01:48:27 CST 2010


#1336: Fix for 1299 exposes Bus error on Sparc
------------------------+---------------------------------------------------
 Reporter:  NeilMuller  |       Owner:  somebody    
     Type:  defect      |      Status:  needs_review
 Priority:  normal      |   Milestone:              
Component:  numpy.core  |     Version:  devel       
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by NeilMuller):

 As I understand things, the pointer is unaligned because it's created from
 a structured array (see VOID_nonzero, which calls @fname@_nonzero in this
 case). The problem is that it's assumed that memcpy will always work for
 unaligned memory, which, for gcc anyway, isn't true.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1336#comment:9>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list