[Numpy-tickets] [NumPy] #603: numpy 1.0.3.1, python crash when indexing an array with a int32 ndarray (see example)
NumPy
numpy-tickets@scipy....
Sun Nov 18 15:57:33 CST 2007
#603: numpy 1.0.3.1, python crash when indexing an array with a int32 ndarray
(see example)
------------------------+---------------------------------------------------
Reporter: djkawa | Owner: jarrod.millman
Type: defect | Status: assigned
Priority: normal | Milestone: 1.0.5
Component: numpy.core | Version: none
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by stefan):
Still crashes on r4466.
{{{
==27113== Invalid read of size 4
==27113== at 0x487679D: array_subscript_nice (arrayobject.c:3066)
==27113== by 0x80C5779: PyEval_EvalFrameEx (in /usr/bin/python2.5)
==27113== by 0x80CA114: PyEval_EvalCodeEx (in /usr/bin/python2.5)
==27113== by 0x80CA186: PyEval_EvalCode (in /usr/bin/python2.5)
==27113== by 0x80E9697: PyRun_FileExFlags (in /usr/bin/python2.5)
==27113== by 0x80E9926: PyRun_SimpleFileExFlags (in /usr/bin/python2.5)
==27113== by 0x805938F: Py_Main (in /usr/bin/python2.5)
==27113== by 0x80588C1: main (in /usr/bin/python2.5)
==27113== Address 0x466B444 is 12 bytes after a block of size 16 alloc'd
==27113== at 0x4022765: malloc (vg_replace_malloc.c:149)
==27113== by 0x4841049: gentype_alloc (scalartypes.inc.src:357)
==27113== by 0x485601B: PyArray_Scalar (arrayobject.c:1341)
==27113== by 0x4873E0E: iter_subscript (arrayobject.c:9142)
==27113== by 0x4875AB4: array_subscript (arrayobject.c:2763)
==27113== by 0x48766A5: array_subscript_nice (arrayobject.c:3030)
==27113== by 0x80C5779: PyEval_EvalFrameEx (in /usr/bin/python2.5)
==27113== by 0x80CA114: PyEval_EvalCodeEx (in /usr/bin/python2.5)
==27113== by 0x80CA186: PyEval_EvalCode (in /usr/bin/python2.5)
==27113== by 0x80E9697: PyRun_FileExFlags (in /usr/bin/python2.5)
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/603#comment:4>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list