[NumPy-Tickets] [NumPy] #1689: fromstring segfaults if reading from text and dtype=bool_
NumPy Trac
numpy-tickets@scipy....
Tue Nov 30 09:56:59 CST 2010
#1689: fromstring segfaults if reading from text and dtype=bool_
--------------------+-------------------------------------------------------
Reporter: gerrit | Owner: somebody
Type: defect | Status: new
Priority: high | Milestone: 2.0.0
Component: Other | Version: devel
Keywords: |
--------------------+-------------------------------------------------------
The code says it all:
{{{
$ python
Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from numpy import fromstring, bool_, version
>>> print version.version
2.0.0.dev-12d0200
>>> fromstring("1 1", sep=" ", dtype=bool_)
Segmentation fault
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1689>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list