https403 <bugs-python-...@sparvojo.pw> added the comment:
I got similar errors while playing around configure opts, but seems come from different places. Configure opts: --enable-optimizations --with-address-sanitizer --with-undefined-behavior-sanitizer --with-pymalloc Build environment: DigitalOcean $5 w/ Ubuntu 18.04 LTS ================================================================= ==26611==ERROR: LeakSanitizer: detected memory leaks Direct leak of 80 byte(s) in 1 object(s) allocated from: #0 0x4f5ac0 in malloc (/tmp/python-build.20191217041116.18861/Python-3.7.5/python+0x4f5ac0) #1 0xaf2362 in _PyObject_GC_Alloc /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/gcmodule.c:1696:26 #2 0xaf285a in _PyObject_GC_Malloc /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/gcmodule.c:1718:12 #3 0xaf285a in _PyObject_GC_New /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/gcmodule.c:1730 #4 0x64b03f in new_dict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/dictobject.c:584:14 #5 0xa7964a in ste_new /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:85:24 #6 0xa7964a in symtable_enter_block /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:943 #7 0xa7fd35 in symtable_visit_stmt /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:1131:14 #8 0xa7f90b in symtable_visit_stmt /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:1153:9 #9 0xa77bac in PySymtable_BuildObject /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:293:18 #10 0x95fbc5 in PyAST_CompileObject /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/compile.c:342:14 #11 0xa6ca51 in Py_CompileStringObject /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/pythonrun.c:1102:10 #12 0x8f9d61 in builtin_compile_impl /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/bltinmodule.c:878:14 #13 0x8f9d61 in builtin_compile /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/clinic/bltinmodule.c.h:177 #14 0x58c722 in _PyMethodDef_RawFastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:544:18 #15 0x58784c in _PyCFunction_FastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:586:14 #16 0x9193df in do_call_core /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4641:9 #17 0x9193df in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3191 #18 0x953711 in _PyEval_EvalCodeWithName /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3930:14 #19 0x588f5e in _PyFunction_FastCallKeywords /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:433:12 #20 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #21 0x91670e in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3139:19 #22 0x953711 in _PyEval_EvalCodeWithName /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3930:14 #23 0x588f5e in _PyFunction_FastCallKeywords /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:433:12 #24 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #25 0x91e6eb in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3110:23 #26 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #27 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #28 0x91e6eb in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3110:23 #29 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #30 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #31 0x91e6eb in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3110:23 #32 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #33 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 Direct leak of 64 byte(s) in 1 object(s) allocated from: #0 0x4f5ac0 in malloc (/tmp/python-build.20191217041116.18861/Python-3.7.5/python+0x4f5ac0) #1 0xaf2362 in _PyObject_GC_Alloc /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/gcmodule.c:1696:26 #2 0xaf2a4b in _PyObject_GC_Malloc /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/gcmodule.c:1718:12 #3 0xaf2a4b in _PyObject_GC_NewVar /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/gcmodule.c:1747 #4 0x70ff55 in PyTuple_New /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/tupleobject.c:117:14 #5 0x7fd6eba3727c in module_init /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/_asynciomodule.c:3237:22 #6 0x7fd6eba3727c in PyInit__asyncio /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/_asynciomodule.c:3333 #7 0x9f9e72 in _PyImport_LoadDynamicModuleWithSpec /tmp/python-build.20191217041116.18861/Python-3.7.5/./Python/importdl.c:159:9 #8 0x9f801b in _imp_create_dynamic_impl /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/import.c:2170:11 #9 0x9f801b in _imp_create_dynamic /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/clinic/import.c.h:289 #10 0x58cd25 in _PyMethodDef_RawFastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:530:18 #11 0x58784c in _PyCFunction_FastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:586:14 #12 0x9193df in do_call_core /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4641:9 #13 0x9193df in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3191 #14 0x953711 in _PyEval_EvalCodeWithName /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3930:14 #15 0x588f5e in _PyFunction_FastCallKeywords /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:433:12 #16 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #17 0x91e85d in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3093:23 #18 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #19 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #20 0x91e6eb in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3110:23 #21 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #22 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #23 0x90cbe2 in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3124:19 #24 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #25 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #26 0x90cbe2 in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3124:19 #27 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #28 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #29 0x90cbe2 in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3124:19 #30 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #31 0x586fe1 in _PyFunction_FastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:322:20 #32 0x5921ac in object_vacall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:1202:14 #33 0x59240d in _PyObject_CallMethodIdObjArgs /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:1252:14 Indirect leak of 168 byte(s) in 1 object(s) allocated from: #0 0x4f5ac0 in malloc (/tmp/python-build.20191217041116.18861/Python-3.7.5/python+0x4f5ac0) #1 0x64aa47 in new_keys_object /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/dictobject.c:534:14 #2 0x64a915 in PyDict_New /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/dictobject.c:674:30 #3 0xa7964a in ste_new /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:85:24 #4 0xa7964a in symtable_enter_block /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:943 #5 0xa7fa69 in symtable_visit_stmt /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:1348:14 #6 0xa7f90b in symtable_visit_stmt /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:1153:9 #7 0xa77bac in PySymtable_BuildObject /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/symtable.c:293:18 #8 0x95fbc5 in PyAST_CompileObject /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/compile.c:342:14 #9 0xa6ca51 in Py_CompileStringObject /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/pythonrun.c:1102:10 #10 0x8f9d61 in builtin_compile_impl /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/bltinmodule.c:878:14 #11 0x8f9d61 in builtin_compile /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/clinic/bltinmodule.c.h:177 #12 0x58c722 in _PyMethodDef_RawFastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:544:18 #13 0x58784c in _PyCFunction_FastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:586:14 #14 0x9193df in do_call_core /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4641:9 #15 0x9193df in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3191 #16 0x953711 in _PyEval_EvalCodeWithName /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3930:14 #17 0x588f5e in _PyFunction_FastCallKeywords /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:433:12 #18 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #19 0x91670e in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3139:19 #20 0x953711 in _PyEval_EvalCodeWithName /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3930:14 #21 0x588f5e in _PyFunction_FastCallKeywords /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:433:12 #22 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #23 0x91e6eb in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3110:23 #24 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #25 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #26 0x91e6eb in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3110:23 #27 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #28 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #29 0x91e6eb in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3110:23 #30 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #31 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #32 0x90cbe2 in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3124:19 Indirect leak of 56 byte(s) in 1 object(s) allocated from: #0 0x4f5ac0 in malloc (/tmp/python-build.20191217041116.18861/Python-3.7.5/python+0x4f5ac0) #1 0x7a567d in PyUnicode_New /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/unicodeobject.c:1322:24 #2 0x7eb1ba in _PyUnicodeWriter_PrepareInternal /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/unicodeobject.c:13552:26 #3 0x7b60a0 in PyUnicode_DecodeUTF8Stateful /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/unicodeobject.c:4856:9 #4 0x7fd6eba37298 in module_init /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/_asynciomodule.c:3241:29 #5 0x7fd6eba37298 in PyInit__asyncio /tmp/python-build.20191217041116.18861/Python-3.7.5/Modules/_asynciomodule.c:3333 #6 0x9f9e72 in _PyImport_LoadDynamicModuleWithSpec /tmp/python-build.20191217041116.18861/Python-3.7.5/./Python/importdl.c:159:9 #7 0x9f801b in _imp_create_dynamic_impl /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/import.c:2170:11 #8 0x9f801b in _imp_create_dynamic /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/clinic/import.c.h:289 #9 0x58cd25 in _PyMethodDef_RawFastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:530:18 #10 0x58784c in _PyCFunction_FastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:586:14 #11 0x9193df in do_call_core /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4641:9 #12 0x9193df in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3191 #13 0x953711 in _PyEval_EvalCodeWithName /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3930:14 #14 0x588f5e in _PyFunction_FastCallKeywords /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:433:12 #15 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #16 0x91e85d in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3093:23 #17 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #18 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #19 0x91e6eb in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3110:23 #20 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #21 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #22 0x90cbe2 in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3124:19 #23 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #24 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #25 0x90cbe2 in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3124:19 #26 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #27 0x94e195 in call_function /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:4616:17 #28 0x90cbe2 in _PyEval_EvalFrameDefault /tmp/python-build.20191217041116.18861/Python-3.7.5/Python/ceval.c:3124:19 #29 0x58b839 in function_code_fastcall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:283:14 #30 0x586fe1 in _PyFunction_FastCallDict /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:322:20 #31 0x5921ac in object_vacall /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:1202:14 #32 0x59240d in _PyObject_CallMethodIdObjArgs /tmp/python-build.20191217041116.18861/Python-3.7.5/Objects/call.c:1252:14 SUMMARY: AddressSanitizer: 368 byte(s) leaked in 4 allocation(s). ---------- nosy: +https403 type: -> compile error _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32343> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com