Skip to content

Memory allocation errors in arrayobject (Trac #158) #756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
numpy-gitbot opened this issue Oct 19, 2012 · 0 comments
Closed

Memory allocation errors in arrayobject (Trac #158) #756

numpy-gitbot opened this issue Oct 19, 2012 · 0 comments

Comments

@numpy-gitbot
Copy link

Original ticket http://projects.scipy.org/numpy/ticket/158 on 2006-06-26 by @stefanv, assigned to @teoliphant.

Caught in r2680 with numpy.test(level=2) (the test added for ticket #754). Valgrind reports

==28011== 40 bytes in 1 blocks are possibly lost in loss record 14 of 134
==28011==    at 0x401C422: malloc (vg_replace_malloc.c:149)
==28011==    by 0x48E4DFB: array_alloc (arrayobject.c:5955)
==28011==    by 0x48EEBF4: PyArray_NewFromDescr (arrayobject.c:4703)
==28011==    by 0x49160EB: array_subscript_simple (arrayobject.c:2414)
==28011==    by 0x491D7DC: array_subscript (arrayobject.c:2522)
==28011==    by 0x491DEAC: array_subscript_nice (arrayobject.c:2707)
==28011==    by 0x80B3E14: PyEval_EvalFrame (in /usr/bin/python2.4)
==28011==    by 0x80B771E: PyEval_EvalCodeEx (in /usr/bin/python2.4)
==28011==    by 0x80FC03C: (within /usr/bin/python2.4)
==28011==    by 0x805946B: PyObject_Call (in /usr/bin/python2.4)
==28011==
==28011== 672 bytes in 1 blocks are possibly lost in loss record 97 of 134
==28011==    at 0x401C422: malloc (vg_replace_malloc.c:149)
==28011==    by 0x48EC896: PyArray_IterNew (arrayobject.c:7671)
==28011==    by 0x48F6F6E: _flat_copyinto (arrayobject.c:7710)
==28011==    by 0x48F7453: PyArray_Flatten (multiarraymodule.c:336)
==28011==    by 0x49139C6: array_ravel (multiarraymodule.c:195)
==28011==    by 0x80B62C6: PyEval_EvalFrame (in /usr/bin/python2.4)
==28011==    by 0x80B771E: PyEval_EvalCodeEx (in /usr/bin/python2.4)
==28011==    by 0x80B6F92: PyEval_EvalFrame (in /usr/bin/python2.4)
==28011==    by 0x80B703A: PyEval_EvalFrame (in /usr/bin/python2.4)
==28011==    by 0x80B703A: PyEval_EvalFrame (in /usr/bin/python2.4)
==28011==
==28011==    at 0x401C422: malloc (vg_replace_malloc.c:149)
==28011==    by 0x48EC896: PyArray_IterNew (arrayobject.c:7671)
==28011==    by 0x48F6F6E: _flat_copyinto (arrayobject.c:7710)
==28011==    by 0x48F7453: PyArray_Flatten (multiarraymodule.c:336)
==28011==    by 0x48F7506: array_flatten (arraymethods.c:1497)
==28011==    by 0x80B62C6: PyEval_EvalFrame (in /usr/bin/python2.4)
==28011==    by 0x80B771E: PyEval_EvalCodeEx (in /usr/bin/python2.4)
==28011==    by 0x80B6F92: PyEval_EvalFrame (in /usr/bin/python2.4)
==28011==    by 0x80B703A: PyEval_EvalFrame (in /usr/bin/python2.4)
==28011==    by 0x80B703A: PyEval_EvalFrame (in /usr/bin/python2.4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant