[NumPy-Tickets] [NumPy] #1345: test_multiarray.TestIO.test_ascii segmentation fault with Python 2.7

NumPy Trac numpy-tickets@scipy....
Thu May 6 21:03:26 CDT 2010


#1345: test_multiarray.TestIO.test_ascii segmentation fault with Python 2.7
------------------------+---------------------------------------------------
 Reporter:  bsouthey    |       Owner:  somebody    
     Type:  defect      |      Status:  needs_review
 Priority:  high        |   Milestone:  2.0.0       
Component:  numpy.core  |     Version:  1.4.0rc1    
 Keywords:              |  
------------------------+---------------------------------------------------

Old description:

> Initially this was found with the SVN 1.5 series but also occurs in the
> 1.4 rc branch. The discussion about the SVN issues is:
> [http://mail.scipy.org/pipermail/numpy-
> discussion/2009-December/047481.html]
>
> From the test, the following should reproduce the crash:
> import numpy as np
> from numpy.compat import asbytes, getexception
> np.fromstring(asbytes('1 , 2 , 3 , 4'),sep=',')

New description:

 Initially this was found with the SVN 1.5 series but also occurs in the
 1.4 rc branch. The discussion about the SVN issues is:
 [http://mail.scipy.org/pipermail/numpy-
 discussion/2009-December/047481.html]

 From the test, the following should reproduce the crash:
 import numpy as np

 from numpy.compat import asbytes, getexception
 np.fromstring(asbytes('1 , 2 , 3 , 4'),sep=',')

--

Comment(by charris):

 For example


 {{{
 np.fromstring(asbytes('aa, aa, 1.0'), sep=',')
 }}}


 causes a segmentation fault in python 3.1.

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


More information about the NumPy-Tickets mailing list