[issue8020] Crash in Py_ADDRESS_IN_RANGE macro

Matt Bandy report at bugs.python.org
Thu Feb 25 23:44:55 CET 2010


Matt Bandy <matt.bandy at thq.com> added the comment:

It's a pretty major limitation on the embedding case if you can't allow other threads that aren't related to Python to run at any time that another thread may be in obmalloc, and one I haven't seen documented anywhere.  The only other fix that occurs to me would be to ensure that any memory Python allocates is not in the same page as memory not allocated by Python, but that seems like it would be much more complex than the current "just call malloc()" solution.  Your proposed change to the macro sounds more reasonable to me.

----------

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


More information about the Python-bugs-list mailing list