[issue18897] Illegal instruction at Python-2.7.5/Modules/_sre.c:1173

Antoine Pitrou report at bugs.python.org
Sun Sep 1 00:46:16 CEST 2013


Antoine Pitrou added the comment:

This is a malloc() failure, not a Python bug ("DUMA Aborting: mprotect() failed: Cannot allocate memory").

Line 1173 in _sre.c allocates a fixed-sized structure (SRE_REPEAT):

            ctx->u.rep = (SRE_REPEAT*) PyObject_MALLOC(sizeof(*ctx->u.rep));

That structure is probably 32 bytes long in 64-bit mode.

----------
nosy: +haypo, pitrou
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list