Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

Even valgrind sees the problem:

❯ valgrind ./python -m test test_lib2to3
==27010== Memcheck, a memory error detector
==27010== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==27010== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==27010== Command: ./python -m test test_lib2to3
==27010==
0:00:00 load avg: 1.53 Run tests sequentially
0:00:00 load avg: 1.53 [1/1] test_lib2to3
==27010== Invalid read of size 8
==27010==    at 0x2363E1: _PyEval_EvalFrameDefault (ceval.c:3549)
==27010==    by 0x23B270: _PyEval_EvalFrame (pycore_ceval.h:46)
==27010==    by 0x23B270: _PyEval_Vector (ceval.c:5174)
==27010==    by 0x172498: _PyFunction_Vectorcall (call.c:342)
==27010==    by 0x2278AF: _PyObject_VectorcallTstate (abstract.h:114)
==27010==    by 0x22C88F: PyObject_Vectorcall (abstract.h:123)
==27010==    by 0x22C88F: call_function (ceval.c:6001)
==27010==    by 0x239642: _PyEval_EvalFrameDefault (ceval.c:4200)
==27010==    by 0x23B270: _PyEval_EvalFrame (pycore_ceval.h:46)
==27010==    by 0x23B270: _PyEval_Vector (ceval.c:5174)
==27010==    by 0x172498: _PyFunction_Vectorcall (call.c:342)
==27010==    by 0x2278AF: _PyObject_VectorcallTstate (abstract.h:114)
==27010==    by 0x22C88F: PyObject_Vectorcall (abstract.h:123)
==27010==    by 0x22C88F: call_function (ceval.c:6001)
==27010==    by 0x239642: _PyEval_EvalFrameDefault (ceval.c:4200)
==27010==    by 0x23B270: _PyEval_EvalFrame (pycore_ceval.h:46)
==27010==    by 0x23B270: _PyEval_Vector (ceval.c:5174)
==27010==  Address 0x62c5e28 is 8 bytes after a block of size 160 alloc'd
==27010==    at 0x483E7C5: malloc (vg_replace_malloc.c:380)
==27010==    by 0x1B2911: _PyMem_RawMalloc (obmalloc.c:99)
==27010==    by 0x1B4702: PyObject_Malloc (obmalloc.c:697)
==27010==    by 0x1A1EF9: clone_combined_dict_keys (dictobject.c:678)
==27010==    by 0x1A2216: dict_merge (dictobject.c:2453)
==27010==    by 0x1A2A59: PyDict_Merge (dictobject.c:2603)
==27010==    by 0x1A2AF1: dict_update_arg (dictobject.c:2273)
==27010==    by 0x1A2D4E: dict_update_common (dictobject.c:2298)
==27010==    by 0x1A2DD1: dict_update (dictobject.c:2316)
==27010==    by 0x33FCBA: method_vectorcall_VARARGS_KEYWORDS (descrobject.c:346)
==27010==    by 0x2278AF: _PyObject_VectorcallTstate (abstract.h:114)
==27010==    by 0x22C88F: PyObject_Vectorcall (abstract.h:123)
==27010==    by 0x22C88F: call_function (ceval.c:6001)
==27010==

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44363>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to