Message393321
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.
Author | pablogsal |
---|---|
Recipients | Guido.van.Rossum, Mark.Shannon, Yonatan Goldschmidt, chris.jerdonek, corona10, erlendaasland, gvanrossum, hauntsaninja, pablogsal, rhettinger, serhiy.storchaka |
Date | 2021-05-09.14:54:45 |
SpamBayes Score | -1.0 |
Marked as misclassified | Yes |
Message-id | <1620572087.87.0.200677230601.issue40222@roundup.psfhosted.org> |
In-reply-to |
Content | |
---|---|
This seems to have broken the address sanitizer buildbot: https://buildbot.python.org/all/#/builders/582/builds/116/steps/5/logs/stdio Example error: ================================================================ ==28597==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x604000011cbd at pc 0x55e7e3cceedc bp 0x7ffc74448490 sp 0x7ffc74448480 READ of size 1 at 0x604000011cbd thread T0 #0 0x55e7e3cceedb in skip_to_next_entry Python/ceval.c:4798 #1 0x55e7e3cceedb in get_exception_handler Python/ceval.c:4866 #2 0x55e7e3cceedb in _PyEval_EvalFrameDefault Python/ceval.c:4465 #3 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #4 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #5 0x55e7e3d1922e in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #6 0x55e7e3d1922e in object_vacall Objects/call.c:734 #7 0x55e7e3d1ec50 in _PyObject_CallMethodIdObjArgs Objects/call.c:825 #8 0x55e7e3f49dd7 in import_find_and_load Python/import.c:1499 #9 0x55e7e3f49dd7 in PyImport_ImportModuleLevelObject Python/import.c:1600 #10 0x55e7e3cd839b in import_name Python/ceval.c:6101 #11 0x55e7e3cd839b in _PyEval_EvalFrameDefault Python/ceval.c:3693 #12 0x55e7e3ed09ea in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #13 0x55e7e3ed09ea in _PyEval_Vector Python/ceval.c:5160 #14 0x55e7e3ed09ea in PyEval_EvalCode Python/ceval.c:1136 #15 0x55e7e420b908 in builtin_exec_impl Python/bltinmodule.c:1065 #16 0x55e7e420b908 in builtin_exec Python/clinic/bltinmodule.c.h:371 #17 0x55e7e4196590 in cfunction_vectorcall_FASTCALL Objects/methodobject.c:426 #18 0x55e7e3d1a592 in PyVectorcall_Call Objects/call.c:255 #19 0x55e7e3cd15f4 in do_call_core Python/ceval.c:6028 #20 0x55e7e3cd15f4 in _PyEval_EvalFrameDefault Python/ceval.c:4283 #21 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #22 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #23 0x55e7e3cd424e in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #24 0x55e7e3cd424e in PyObject_Vectorcall Include/cpython/abstract.h:123 #25 0x55e7e3cd424e in call_function Python/ceval.c:5976 #26 0x55e7e3cd424e in _PyEval_EvalFrameDefault Python/ceval.c:4187 #27 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #28 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #29 0x55e7e3cd4384 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #30 0x55e7e3cd4384 in PyObject_Vectorcall Include/cpython/abstract.h:123 #31 0x55e7e3cd4384 in call_function Python/ceval.c:5976 #32 0x55e7e3cd4384 in _PyEval_EvalFrameDefault Python/ceval.c:4204 #33 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #34 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #35 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #36 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #37 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #38 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #39 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #40 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #41 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #42 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #43 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #44 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #45 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #46 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #47 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #48 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #49 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #50 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #51 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #52 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #53 0x55e7e3cd424e in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #54 0x55e7e3cd424e in PyObject_Vectorcall Include/cpython/abstract.h:123 #55 0x55e7e3cd424e in call_function Python/ceval.c:5976 #56 0x55e7e3cd424e in _PyEval_EvalFrameDefault Python/ceval.c:4187 #57 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #58 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #59 0x55e7e3cd424e in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #60 0x55e7e3cd424e in PyObject_Vectorcall Include/cpython/abstract.h:123 #61 0x55e7e3cd424e in call_function Python/ceval.c:5976 #62 0x55e7e3cd424e in _PyEval_EvalFrameDefault Python/ceval.c:4187 #63 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #64 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #65 0x55e7e3cd71ad in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #66 0x55e7e3cd71ad in PyObject_Vectorcall Include/cpython/abstract.h:123 #67 0x55e7e3cd71ad in call_function Python/ceval.c:5976 #68 0x55e7e3cd71ad in _PyEval_EvalFrameDefault Python/ceval.c:4237 #69 0x55e7e3ed09ea in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #70 0x55e7e3ed09ea in _PyEval_Vector Python/ceval.c:5160 #71 0x55e7e3ed09ea in PyEval_EvalCode Python/ceval.c:1136 #72 0x55e7e420b908 in builtin_exec_impl Python/bltinmodule.c:1065 #73 0x55e7e420b908 in builtin_exec Python/clinic/bltinmodule.c.h:371 #74 0x55e7e4196590 in cfunction_vectorcall_FASTCALL Objects/methodobject.c:426 #75 0x55e7e3d1a592 in PyVectorcall_Call Objects/call.c:255 #76 0x55e7e3cd15f4 in do_call_core Python/ceval.c:6028 #77 0x55e7e3cd15f4 in _PyEval_EvalFrameDefault Python/ceval.c:4283 #78 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #79 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #80 0x55e7e3cd424e in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #81 0x55e7e3cd424e in PyObject_Vectorcall Include/cpython/abstract.h:123 #82 0x55e7e3cd424e in call_function Python/ceval.c:5976 #83 0x55e7e3cd424e in _PyEval_EvalFrameDefault Python/ceval.c:4187 #84 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #85 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #86 0x55e7e3cd4384 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #87 0x55e7e3cd4384 in PyObject_Vectorcall Include/cpython/abstract.h:123 #88 0x55e7e3cd4384 in call_function Python/ceval.c:5976 #89 0x55e7e3cd4384 in _PyEval_EvalFrameDefault Python/ceval.c:4204 #90 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #91 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #92 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #93 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #94 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #95 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #96 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #97 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #98 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #99 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #100 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #101 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #102 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #103 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #104 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #105 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #106 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #107 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #108 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #109 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #110 0x55e7e3cd424e in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #111 0x55e7e3cd424e in PyObject_Vectorcall Include/cpython/abstract.h:123 #112 0x55e7e3cd424e in call_function Python/ceval.c:5976 #113 0x55e7e3cd424e in _PyEval_EvalFrameDefault Python/ceval.c:4187 #114 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #115 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #116 0x55e7e3cd424e in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #117 0x55e7e3cd424e in PyObject_Vectorcall Include/cpython/abstract.h:123 #118 0x55e7e3cd424e in call_function Python/ceval.c:5976 #119 0x55e7e3cd424e in _PyEval_EvalFrameDefault Python/ceval.c:4187 #120 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #121 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #122 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #123 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #124 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #125 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #126 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #127 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #128 0x55e7e3cd71ad in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #129 0x55e7e3cd71ad in PyObject_Vectorcall Include/cpython/abstract.h:123 #130 0x55e7e3cd71ad in call_function Python/ceval.c:5976 #131 0x55e7e3cd71ad in _PyEval_EvalFrameDefault Python/ceval.c:4237 #132 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #133 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #134 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #135 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #136 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #137 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #138 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #139 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #140 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #141 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #142 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #143 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #144 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #145 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #146 0x55e7e3cd4384 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #147 0x55e7e3cd4384 in PyObject_Vectorcall Include/cpython/abstract.h:123 #148 0x55e7e3cd4384 in call_function Python/ceval.c:5976 #149 0x55e7e3cd4384 in _PyEval_EvalFrameDefault Python/ceval.c:4204 #150 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #151 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #152 0x55e7e3cd4384 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #153 0x55e7e3cd4384 in PyObject_Vectorcall Include/cpython/abstract.h:123 #154 0x55e7e3cd4384 in call_function Python/ceval.c:5976 #155 0x55e7e3cd4384 in _PyEval_EvalFrameDefault Python/ceval.c:4204 #156 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #157 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #158 0x55e7e4150719 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #159 0x55e7e4150719 in method_vectorcall Objects/classobject.c:53 #160 0x55e7e3d1a663 in PyVectorcall_Call Objects/call.c:267 #161 0x55e7e3cd15f4 in do_call_core Python/ceval.c:6028 #162 0x55e7e3cd15f4 in _PyEval_EvalFrameDefault Python/ceval.c:4283 #163 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #164 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #165 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #166 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #167 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #168 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #169 0x55e7e3ed09ea in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #170 0x55e7e3ed09ea in _PyEval_Vector Python/ceval.c:5160 #171 0x55e7e3ed09ea in PyEval_EvalCode Python/ceval.c:1136 #172 0x55e7e420b908 in builtin_exec_impl Python/bltinmodule.c:1065 #173 0x55e7e420b908 in builtin_exec Python/clinic/bltinmodule.c.h:371 #174 0x55e7e4196590 in cfunction_vectorcall_FASTCALL Objects/methodobject.c:426 #175 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #176 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #177 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #178 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #179 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #180 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #181 0x55e7e3ce0934 in _PyObject_VectorcallTstate Include/cpython/abstract.h:114 #182 0x55e7e3ce0934 in PyObject_Vectorcall Include/cpython/abstract.h:123 #183 0x55e7e3ce0934 in call_function Python/ceval.c:5976 #184 0x55e7e3ce0934 in _PyEval_EvalFrameDefault Python/ceval.c:4219 #185 0x55e7e3ed10d7 in _PyEval_EvalFrame Include/internal/pycore_ceval.h:46 #186 0x55e7e3ed10d7 in _PyEval_Vector Python/ceval.c:5160 #187 0x55e7e3d1a592 in PyVectorcall_Call Objects/call.c:255 #188 0x55e7e3ceddf2 in pymain_run_module Modules/main.c:293 #189 0x55e7e3cef08b in pymain_run_python Modules/main.c:581 #190 0x55e7e3cf10c4 in Py_RunMain Modules/main.c:666 #191 0x55e7e3cf10c4 in pymain_main Modules/main.c:696 #192 0x55e7e3cf10c4 in Py_BytesMain Modules/main.c:720 #193 0x7f9d8dd5ab24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24) #194 0x55e7e3ced49d in _start (/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/python+0x17649d) 0x604000011cbd is located 0 bytes to the right of 45-byte region [0x604000011c90,0x604000011cbd) allocated by thread T0 here: #0 0x7f9d8e124459 in __interceptor_malloc /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x55e7e3cf7770 in _PyBytes_FromSize Objects/bytesobject.c:126 #2 0x55e7e3cf7770 in PyBytes_FromStringAndSize Objects/bytesobject.c:159 #3 0x55e7e3f686f1 in r_object Python/marshal.c:1066 #4 0x55e7e3f6960d in r_object Python/marshal.c:1375 #5 0x55e7e3f67ee0 in r_object Python/marshal.c:1171 #6 0x55e7e3f694c3 in r_object Python/marshal.c:1348 #7 0x55e7e3f6efca in PyMarshal_ReadObjectFromString Python/marshal.c:1562 #8 0x55e7e3f48b1d in PyImport_ImportFrozenModuleObject Python/import.c:1140 #9 0x55e7e3f490cc in PyImport_ImportFrozenModule Python/import.c:1194 #10 0x55e7e3f7e1e6 in init_importlib Python/pylifecycle.c:141 #11 0x55e7e3f7e1e6 in pycore_interp_init Python/pylifecycle.c:811 #12 0x55e7e3f84536 in pyinit_config Python/pylifecycle.c:840 #13 0x55e7e3f84536 in pyinit_core Python/pylifecycle.c:1003 #14 0x55e7e3f855fc in Py_InitializeFromConfig Python/pylifecycle.c:1188 #15 0x55e7e3ced749 in pymain_init Modules/main.c:66 #16 0x55e7e3cf107a in pymain_main Modules/main.c:687 #17 0x55e7e3cf107a in Py_BytesMain Modules/main.c:720 #18 0x7f9d8dd5ab24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24) SUMMARY: AddressSanitizer: heap-buffer-overflow Python/ceval.c:4798 in skip_to_next_entry Shadow bytes around the buggy address: 0x0c087fffa340: fa fa 00 00 00 00 00 03 fa fa 00 00 00 00 00 00 0x0c087fffa350: fa fa 00 00 00 00 03 fa fa fa 00 00 00 00 00 03 0x0c087fffa360: fa fa 00 00 00 00 03 fa fa fa 00 00 00 00 00 05 0x0c087fffa370: fa fa 00 00 00 00 03 fa fa fa fd fd fd fd fd fd 0x0c087fffa380: fa fa 00 00 00 00 00 03 fa fa 00 00 00 00 00 05 =>0x0c087fffa390: fa fa 00 00 00 00 00[05]fa fa 00 00 00 00 00 01 0x0c087fffa3a0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00 0x0c087fffa3b0: fa fa 00 00 00 00 00 01 fa fa 00 00 00 00 07 fa 0x0c087fffa3c0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 07 fa 0x0c087fffa3d0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00 0x0c087fffa3e0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==28597==ABORTING make: *** [Makefile:1249: buildbottest] Error 1 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2021-05-09 14:54:47 | pablogsal | set | recipients: + pablogsal, gvanrossum, rhettinger, chris.jerdonek, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, corona10, erlendaasland, Yonatan Goldschmidt, hauntsaninja |
2021-05-09 14:54:47 | pablogsal | set | messageid: <1620572087.87.0.200677230601.issue40222@roundup.psfhosted.org> |
2021-05-09 14:54:47 | pablogsal | link | issue40222 messages |
2021-05-09 14:54:45 | pablogsal | create |