[issue6836] Mismatching use of memory APIs

Kristján Valur Jónsson report at bugs.python.org
Fri Sep 4 13:54:29 CEST 2009


New submission from Kristján Valur Jónsson <kristjan at ccpgames.com>:

There are instances in python where memory allocated using one api 
(PyMem_*) is freed using the other (PyObject_*).
The provided patch (suggested for submission once we fix all instances) 
illustrates this.
It is sufficient to fire up python_d and "import traceback" to trigger the 
error.

----------
components: Interpreter Core
files: debugmalloc.patch
keywords: patch
messages: 92251
nosy: krisvale, lemburg, ncoghlan
severity: normal
status: open
title: Mismatching use of memory APIs
type: crash
versions: Python 2.5, Python 2.6, Python 2.7
Added file: http://bugs.python.org/file14828/debugmalloc.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6836>
_______________________________________


More information about the Python-bugs-list mailing list