Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
To reproduce with a modern gcc: % export ASAN_OPTIONS=detect_leaks=0:allocator_may_return_null=1:handle_segv=0 % ./configure --with-address-sanitizer --without-pymalloc % make -j -s % ./python -m test test_statistics ================================================================= ==51490==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6040000113fd at pc 0x564ec89e0edc bp 0x7ffcffffba70 sp 0x7ffcffffba60 READ of size 1 at 0x6040000113fd thread T0 #0 0x564ec89e0edb in skip_to_next_entry Python/ceval.c:4798 #1 0x564ec89e0edb in get_exception_handler Python/ceval.c:4866 #2 0x564ec89e0edb in _PyEval_EvalFrameDefault Python/ceval.c:4465 #3 0x564ec8be30d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #4 0x564ec8be30d7 in _PyEval_Vector Python/ceval.c:5160 #5 0x564ec8a2b22e in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #6 0x564ec8a2b22e in object_vacall Objects/call.c:734 #7 0x564ec8a30c50 in _PyObject_CallMethodIdObjArgs Objects/call.c:825 #8 0x564ec8c5bdd7 in import_find_and_load Python/import.c:1499 #9 0x564ec8c5bdd7 in PyImport_ImportModuleLevelObject Python/import.c:1600 #10 0x564ec89ea39b in import_name Python/ceval.c:6101 #11 0x564ec89ea39b in _PyEval_EvalFrameDefault Python/ceval.c:3693 #12 0x564ec8be29ea in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #13 0x564ec8be29ea in _PyEval_Vector Python/ceval.c:5160 #14 0x564ec8be29ea in PyEval_EvalCode Python/ceval.c:1136 .... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40222> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com