New submission from Kristján Valur Jónsson <krist...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue6836>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to