This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Leak Sanitizer reports memory leaks while building using ASAN
Type: compile error Stage: resolved
Components: Build Versions: Python 3.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: https403, iritkatriel, kirit1193
Priority: normal Keywords:

Created on 2017-12-16 04:48 by kirit1193, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg308452 - (view) Author: Kirit Sankar Gupta (kirit1193) Date: 2017-12-16 04:48
./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
        echo "generate-posix-vars failed" ; \
        rm -f ./pybuilddir.txt ; \
        exit 1 ; \
fi

=================================================================
==12061==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 287665 byte(s) in 116 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x6411a9 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x6411a9 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x6462c7 in PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:616:12

Direct leak of 5096 byte(s) in 9 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x6411a9 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x6411a9 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x6462c7 in PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:616:12
    #4 0x9786dd in _PyObject_GC_Malloc /home/ksg/cpython/Modules/gcmodule.c:1713:12
    #5 0x9786dd in _PyObject_GC_NewVar /home/ksg/cpython/Modules/gcmodule.c:1742

Direct leak of 2746 byte(s) in 3 object(s) allocated from:
    #0 0x4efdd5 in realloc (/home/ksg/cpython/python+0x4efdd5)
    #1 0x641828 in PyMem_RawRealloc /home/ksg/cpython/Objects/obmalloc.c:521:12
    #2 0x641828 in _PyObject_Realloc /home/ksg/cpython/Objects/obmalloc.c:1905
    #3 0x6463fd in PyObject_Realloc /home/ksg/cpython/Objects/obmalloc.c:634:12

Direct leak of 591 byte(s) in 1 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x6411a9 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x6411a9 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x6462c7 in PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:616:12
    #4 0x8dace5 in r_object /home/ksg/cpython/Python/marshal.c:1392:20
    #5 0x8d8780 in r_object /home/ksg/cpython/Python/marshal.c:1224:18
    #6 0x8dad1c in r_object /home/ksg/cpython/Python/marshal.c:1395:22
    #7 0x8d8780 in r_object /home/ksg/cpython/Python/marshal.c:1224:18
    #8 0x8dad1c in r_object /home/ksg/cpython/Python/marshal.c:1395:22
    #9 0x8d3e1d in PyMarshal_ReadObjectFromString /home/ksg/cpython/Python/marshal.c:1598:14
    #10 0x8bffa6 in get_frozen_object /home/ksg/cpython/Python/import.c:1258:12
    #11 0x8bffa6 in _imp_get_frozen_object_impl /home/ksg/cpython/Python/import.c:2018
    #12 0x8bffa6 in _imp_get_frozen_object /home/ksg/cpython/Python/clinic/import.c.h:176
    #13 0x568e15 in _PyMethodDef_RawFastCallDict /home/ksg/cpython/Objects/call.c:497:18
    #14 0x56772b in _PyCFunction_FastCallDict /home/ksg/cpython/Objects/call.c:582:14
    #15 0x56772b in PyCFunction_Call /home/ksg/cpython/Objects/call.c:787

Direct leak of 560 byte(s) in 1 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x641900 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x641900 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x641900 in pymalloc_realloc /home/ksg/cpython/Objects/obmalloc.c:1882
    #4 0x641900 in _PyObject_Realloc /home/ksg/cpython/Objects/obmalloc.c:1901
    #5 0x6463fd in PyObject_Realloc /home/ksg/cpython/Objects/obmalloc.c:634:12

Direct leak of 2 byte(s) in 2 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x6411a9 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x6411a9 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x645e07 in PyMem_Malloc /home/ksg/cpython/Objects/obmalloc.c:536:12

Indirect leak of 28768 byte(s) in 31 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x6411a9 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x6411a9 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x6462c7 in PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:616:12
    #4 0x67ab2a in PyType_GenericAlloc /home/ksg/cpython/Objects/typeobject.c:969:15

Indirect leak of 8028 byte(s) in 8 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x6411a9 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x6411a9 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x6462c7 in PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:616:12

Indirect leak of 2571 byte(s) in 2 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x6411a9 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x6411a9 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x6462c7 in PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:616:12
    #4 0x68d0b6 in type_call /home/ksg/cpython/Objects/typeobject.c:928:11
    #5 0x569c86 in _PyMethodDef_RawFastCallKeywords /home/ksg/cpython/Objects/call.c:656:18

Indirect leak of 2096 byte(s) in 3 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x6411a9 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x6411a9 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x6462c7 in PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:616:12
    #4 0x9786dd in _PyObject_GC_Malloc /home/ksg/cpython/Modules/gcmodule.c:1713:12
    #5 0x9786dd in _PyObject_GC_NewVar /home/ksg/cpython/Modules/gcmodule.c:1742

Indirect leak of 632 byte(s) in 1 object(s) allocated from:
    #0 0x4ef9b0 in malloc (/home/ksg/cpython/python+0x4ef9b0)
    #1 0x641900 in PyMem_RawMalloc /home/ksg/cpython/Objects/obmalloc.c:503:12
    #2 0x641900 in _PyObject_Malloc /home/ksg/cpython/Objects/obmalloc.c:1560
    #3 0x641900 in pymalloc_realloc /home/ksg/cpython/Objects/obmalloc.c:1882
    #4 0x641900 in _PyObject_Realloc /home/ksg/cpython/Objects/obmalloc.c:1901
    #5 0x6463fd in PyObject_Realloc /home/ksg/cpython/Objects/obmalloc.c:634:12

SUMMARY: AddressSanitizer: 338755 byte(s) leaked in 177 allocation(s).
generate-posix-vars failed
Makefile:589: recipe for target 'pybuilddir.txt' failed
make: *** [pybuilddir.txt] Error 1
msg358532 - (view) Author: (https403) Date: 2019-12-17 04:51
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).
msg411408 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-01-23 19:18
Python 3.7 is not longer maintained, so it is unlikely that anyone will look at these. Please create a new issue if you are seeing this problem on a current version.
History
Date User Action Args
2022-04-11 14:58:55adminsetgithub: 76524
2022-01-23 19:18:36iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg411408

resolution: out of date
stage: resolved
2019-12-17 04:51:50https403settype: compile error

messages: + msg358532
nosy: + https403
2017-12-16 04:48:19kirit1193create