[Numpy-tickets] [NumPy] #548: fromfile crashes due to failed allocation
NumPy
numpy-tickets@scipy....
Tue Jul 10 18:15:20 CDT 2007
#548: fromfile crashes due to failed allocation
-----------------------------+----------------------------------------------
Reporter: albertstrasheim | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.0.4 Release
Component: numpy.core | Version: none
Severity: major | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by albertstrasheim):
It also crashes on my Linux machine once the swap fills up. Valgrind says:
{{{
==27407== Invalid read of size 4
==27407== at 0x4443DFC: PyArray_FromFile (multiarraymodule.c:6256)
==27407== by 0x4444175: array_fromfile (multiarraymodule.c:6299)
==27407== by 0x4F48BC: PyCFunction_Call (in
/usr/lib/libpython2.4.so.1.0)
==27407== by 0x4C9EC6: PyObject_Call (in /usr/lib/libpython2.4.so.1.0)
==27407== by 0x52CAD0: PyEval_EvalFrame (in
/usr/lib/libpython2.4.so.1.0)
==27407== by 0x52F2DC: PyEval_EvalFrame (in
/usr/lib/libpython2.4.so.1.0)
==27407== by 0x5301B4: PyEval_EvalCodeEx (in
/usr/lib/libpython2.4.so.1.0)
==27407== by 0x530292: PyEval_EvalCode (in
/usr/lib/libpython2.4.so.1.0)
==27407== by 0x54D077: (within /usr/lib/libpython2.4.so.1.0)
==27407== by 0x54E7B7: PyRun_SimpleFileExFlags (in
/usr/lib/libpython2.4.so.1.0)
==27407== by 0x54EE99: PyRun_AnyFileExFlags (in
/usr/lib/libpython2.4.so.1.0)
==27407== by 0x555824: Py_Main (in /usr/lib/libpython2.4.so.1.0)
==27407== by 0x8048581: main (in /usr/bin/python)
==27407== Address 0x1C is not stack'd, malloc'd or (recently) free'd
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/548#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list