[Numpy-tickets] [NumPy] #551: numpy.ndarray messed up after unpickling

NumPy numpy-tickets@scipy....
Wed Dec 5 08:31:33 CST 2007


#551: numpy.ndarray messed up after unpickling
---------------------------------------+------------------------------------
 Reporter:  cotackst                   |        Owner:  somebody
     Type:  defect                     |       Status:  new     
 Priority:  normal                     |    Milestone:  1.0.5   
Component:  numpy.core                 |      Version:  1.0.1   
 Severity:  normal                     |   Resolution:          
 Keywords:  pickle, ndarray, segfault  |  
---------------------------------------+------------------------------------
Comment (by pv):

 I can reproduce this bug on Ubuntu 7.10 -shipped python2.5 and SSE2-Atlas
 3.6.0-20.6 (atlas3-sse2 package), and self-compiled Numpy 1.0.4.

 However, with Numpy compiled without Atlas, the bug is not present.

 With Numpy compiled with Atlas without processor-specific optimizations
 (atlas-base package), the bug is also not present.

 With Numpy compiled with SSE-Atlas (atlas3-sse package), the bug is also
 not present.

 So, this may be associated with some properties of SSE2-enabled Atlas,
 possibly the one shipped with Ubuntu/others. However, it is quite strange
 that this crash appears only with unpickled arrays --- the data pointer
 probably is valid as the array prints/copies fine, and the original and
 the unpickled arrays have the same strides.

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


More information about the Numpy-tickets mailing list