[NumPy-Tickets] [NumPy] #1345: test_multiarray.TestIO.test_ascii segmentation fault with Python 2.7
NumPy Trac
numpy-tickets@scipy....
Tue Mar 2 02:17:47 CST 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: 1.5.0
Component: numpy.core | Version: 1.4.0rc1
Keywords: |
------------------------+---------------------------------------------------
Comment(by pv):
The correct fix is to re-acquire the GIL before calling either of the
functions. But now I'm not sure if GIL re-acquisition is reentrant, and if
the functions is guaranteed to always be called with GIL released.
The ifdef is needed on Py3 to avoid a deprecation warning. I suppose 2.7
gives a PendingDeprecationWarning, and trying to raise this without GIL
causes the crash.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1345#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list