[issue29470] [python] Error in `/usr/bin/python': free(): invalid size: 0x00007f628400d0e0

STINNER Victor report at bugs.python.org
Tue Feb 7 04:47:15 EST 2017


STINNER Victor added the comment:

Python 3.6 got a new PYTHONMALLOC env var which should help you ;-)

Please try to get the Python traceback on the crash and use Python builtin memory debugger:

PYTHONMALLOC=debug python3 -X faulthandler ...


> i've restarted this under valgrind to debug it. valgrind's startup of python 3.6 is depressingly filled with invalid read of size n, (...)

Python memory allocator pymalloc causes false alarms. You can disable pymalloc to use Valgrind using:

PYTHONMALLOC=malloc valgrind python3 ...

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list