-- Test started at 2021-04-30 12:59:09 PDT -- ----------------------------------------------------------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.13, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 cachedir: /build/work/2e666eac78024b980799720f0ff8f079edd8/google3/tmp rootdir: /build/work/2e666eac78024b980799720f0ff8f079edd8/google3/runfiles/google3/third_party/pybind11/tests, inifile: pytest.ini collected 22 items test_iostream.py ..................... ================================================================= ==9635==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6190008f7a7f at pc 0x7f937e026111 bp 0x7f9374f748b0 sp 0x7f9374f748a8 READ of size 1 at 0x6190008f7a7f thread T15 #0 0x7f937e026110 in utf8_remainder third_party/pybind11/include/pybind11/iostream.h:63:22 #1 0x7f937e026110 in pybind11::detail::pythonbuf::_sync() third_party/pybind11/include/pybind11/iostream.h:98:36 #2 0x7f937e026338 in pybind11::detail::pythonbuf::sync() third_party/pybind11/include/pybind11/iostream.h:120:16 #3 0x55cbc123ee1b in std::__u::basic_streambuf >::pubsync() third_party/llvm/llvm-project/libcxx/include/streambuf:167:28 #4 0x55cbc123ee1b in std::__u::basic_ostream >::flush() third_party/llvm/llvm-project/libcxx/include/ostream:951:36 #5 0x7f937e02ef67 in flush > third_party/crosstool/v18/stable/toolchain/bin/../include/c++/v1/ostream:1024:10 #6 0x7f937e02ef67 in operator<< third_party/crosstool/v18/stable/toolchain/bin/../include/c++/v1/ostream:195:14 #7 0x7f937e02ef67 in operator() third_party/pybind11/tests/test_iostream.cpp:40:34 #8 0x7f937e02ef67 in __invoke<(lambda at third_party/pybind11/tests/test_iostream.cpp:38:25)> third_party/crosstool/v18/stable/toolchain/bin/../include/c++/v1/type_traits:3916:1 #9 0x7f937e02ef67 in __thread_execute, (lambda at third_party/pybind11/tests/test_iostream.cpp:38:25)> third_party/crosstool/v18/stable/toolchain/bin/../include/c++/v1/thread:280:5 #10 0x7f937e02ef67 in void* std::__u::__thread_proxy >, TestThread::TestThread()::'lambda'()> >(void*) third_party/crosstool/v18/stable/toolchain/bin/../include/c++/v1/thread:291:5 #11 0x7f9386d9e4e7 in start_thread (/usr/grte/v4/lib64/libpthread.so.0+0x74e7) #12 0x7f9386bd522c in clone (/usr/grte/v4/lib64/libc.so.6+0x3722c) 0x6190008f7a7f is located 1 bytes to the left of 1024-byte region [0x6190008f7a80,0x6190008f7e80) allocated by thread T0 here: #0 0x55cbbe1ab2dd in operator new[](unsigned long) third_party/llvm/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:102:3 #1 0x7f937e028632 in pybind11::detail::pythonbuf::pythonbuf(pybind11::object, unsigned long) third_party/pybind11/include/pybind11/iostream.h:127:20 #2 0x7f937e027fc4 in pybind11::scoped_ostream_redirect::scoped_ostream_redirect(std::__u::basic_ostream >&, pybind11::object) third_party/pybind11/include/pybind11/iostream.h:178:31 #3 0x7f937e023898 in pybind11::detail::OstreamRedirect::enter() third_party/pybind11/include/pybind11/iostream.h:228:39 #4 0x7f937e027d66 in operator() third_party/pybind11/include/pybind11/pybind11.h:55:66 #5 0x7f937e027d66 in call_impl third_party/pybind11/include/pybind11/cast.h:1191:16 #6 0x7f937e027d66 in call third_party/pybind11/include/pybind11/cast.h:1168:35 #7 0x7f937e027d66 in void pybind11::cpp_function::initialize(void (pybind11::detail::OstreamRedirect::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::OstreamRedirect*), void, pybind11::detail::OstreamRedirect*, pybind11::name, pybind11::is_method, pybind11::sibling>(void&&, pybind11::detail::OstreamRedirect (*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::operator()(pybind11::detail::function_call&) const third_party/pybind11/include/pybind11/pybind11.h:164:52 #8 0x7f937e027b5b in void pybind11::cpp_function::initialize(void (pybind11::detail::OstreamRedirect::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::OstreamRedirect*), void, pybind11::detail::OstreamRedirect*, pybind11::name, pybind11::is_method, pybind11::sibling>(void&&, pybind11::detail::OstreamRedirect (*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::__invoke(pybind11::detail::function_call&) third_party/pybind11/include/pybind11/pybind11.h:141:21 #9 0x7f937daeb0b1 in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) third_party/pybind11/include/pybind11/pybind11.h:738:30 #10 0x55cbc0d01aa9 in _PyCFunction_FastCallDict third_party/python_runtime/v3_6/Objects/methodobject.c:231:22 #11 0x55cbc0c9989a in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2313:18 #12 0x55cbc0c99b5a in _PyObject_Call_Prepend third_party/python_runtime/v3_6/Objects/abstract.c:2373:14 #13 0x55cbc0c997fd in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2331:18 #14 0x55cbc0c9387b in PyObject_CallFunctionObjArgs third_party/python_runtime/v3_6/Objects/abstract.c:2827:14 #15 0x55cbc0db75ff in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3208:19 #16 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #17 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #18 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #19 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #20 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #21 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #22 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #23 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #24 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #25 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #26 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #27 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #28 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #29 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #30 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #31 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #32 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #33 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #34 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 Thread T15 created by T0 here: #0 0x55cbbe17df5c in pthread_create third_party/llvm/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp:207:3 #1 0x7f937e02ec4e in __libcpp_thread_create third_party/crosstool/v18/stable/toolchain/bin/../include/c++/v1/__threading_support:513:10 #2 0x7f937e02ec4e in std::__u::thread::thread(TestThread::TestThread()::'lambda'()&&) third_party/crosstool/v18/stable/toolchain/bin/../include/c++/v1/thread:307:16 #3 0x7f937e02e91a in TestThread third_party/pybind11/tests/test_iostream.cpp:43:18 #4 0x7f937e02e91a in construct_or_initialize third_party/pybind11/include/pybind11/detail/init.h:63:68 #5 0x7f937e02e91a in operator() third_party/pybind11/include/pybind11/detail/init.h:240:31 #6 0x7f937e02e91a in call_impl third_party/pybind11/include/pybind11/cast.h:1191:16 #7 0x7f937e02e91a in call third_party/pybind11/include/pybind11/cast.h:1168:35 #8 0x7f937e02e91a in void pybind11::cpp_function::initialize::execute, 0>(pybind11::class_&)::'lambda'(pybind11::detail::value_and_holder&), void, pybind11::detail::value_and_holder&, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_&&, (*)(0...), void pybind11::detail::initimpl::constructor<>::execute, 0>(pybind11::class_&)::'lambda'(pybind11::detail::value_and_holder&) const&...)::'lambda'(pybind11::detail::function_call&)::operator()(pybind11::detail::function_call&) const third_party/pybind11/include/pybind11/pybind11.h:164:52 #9 0x7f937e02e75b in void pybind11::cpp_function::initialize::execute, 0>(pybind11::class_&)::'lambda'(pybind11::detail::value_and_holder&), void, pybind11::detail::value_and_holder&, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_&&, (*)(0...), void pybind11::detail::initimpl::constructor<>::execute, 0>(pybind11::class_&)::'lambda'(pybind11::detail::value_and_holder&) const&...)::'lambda'(pybind11::detail::function_call&)::__invoke(pybind11::detail::function_call&) third_party/pybind11/include/pybind11/pybind11.h:141:21 #10 0x7f937daeb0b1 in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) third_party/pybind11/include/pybind11/pybind11.h:738:30 #11 0x55cbc0d01aa9 in _PyCFunction_FastCallDict third_party/python_runtime/v3_6/Objects/methodobject.c:231:22 #12 0x55cbc0c9989a in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2313:18 #13 0x55cbc0c99b5a in _PyObject_Call_Prepend third_party/python_runtime/v3_6/Objects/abstract.c:2373:14 #14 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #15 0x55cbc0d249b2 in slot_tp_init third_party/python_runtime/v3_6/Objects/typeobject.c:6420:11 #16 0x55cbc0d1f3d9 in type_call third_party/python_runtime/v3_6/Objects/typeobject.c:915:19 #17 0x7f937dada102 in pybind11_meta_call third_party/pybind11/include/pybind11/detail/class.h:175:22 #18 0x55cbc0c997fd in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2331:18 #19 0x55cbc0dbe8d5 in call_function third_party/python_runtime/v3_6/Python/ceval.c:4875:17 #20 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #21 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #22 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #23 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #24 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #25 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #26 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #27 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #28 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #29 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #30 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #31 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #32 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #33 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #34 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #35 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #36 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #37 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #38 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #39 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #40 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #41 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #42 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #43 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #44 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #45 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #46 0x55cbc0dc056a in _PyFunction_FastCallDict third_party/python_runtime/v3_6/Python/ceval.c:5084:14 #47 0x55cbc0c99884 in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2310:18 #48 0x55cbc0c99b5a in _PyObject_Call_Prepend third_party/python_runtime/v3_6/Objects/abstract.c:2373:14 #49 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #50 0x55cbc0d2387c in slot_tp_call third_party/python_runtime/v3_6/Objects/typeobject.c:6207:11 #51 0x55cbc0c997fd in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2331:18 #52 0x55cbc0c9a0b2 in _PyObject_FastCallKeywords third_party/python_runtime/v3_6/Objects/abstract.c:2496:14 #53 0x55cbc0dbe8d5 in call_function third_party/python_runtime/v3_6/Python/ceval.c:4875:17 #54 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #55 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #56 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #57 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #58 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #59 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #60 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #61 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #62 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #63 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #64 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #65 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #66 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #67 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #68 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #69 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #70 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #71 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #72 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #73 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #74 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #75 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #76 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #77 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #78 0x55cbc0dc056a in _PyFunction_FastCallDict third_party/python_runtime/v3_6/Python/ceval.c:5084:14 #79 0x55cbc0c99884 in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2310:18 #80 0x55cbc0c99b5a in _PyObject_Call_Prepend third_party/python_runtime/v3_6/Objects/abstract.c:2373:14 #81 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #82 0x55cbc0d2387c in slot_tp_call third_party/python_runtime/v3_6/Objects/typeobject.c:6207:11 #83 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #84 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #85 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #86 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #87 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #88 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #89 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #90 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #91 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #92 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #93 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #94 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #95 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #96 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #97 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #98 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #99 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #100 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #101 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #102 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #103 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #104 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #105 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #106 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #107 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #108 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #109 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #110 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #111 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #112 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #113 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #114 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #115 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #116 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #117 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #118 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #119 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #120 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #121 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #122 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #123 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #124 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #125 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #126 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #127 0x55cbc0dc056a in _PyFunction_FastCallDict third_party/python_runtime/v3_6/Python/ceval.c:5084:14 #128 0x55cbc0c99884 in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2310:18 #129 0x55cbc0c99b5a in _PyObject_Call_Prepend third_party/python_runtime/v3_6/Objects/abstract.c:2373:14 #130 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #131 0x55cbc0d2387c in slot_tp_call third_party/python_runtime/v3_6/Objects/typeobject.c:6207:11 #132 0x55cbc0c997fd in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2331:18 #133 0x55cbc0c9a0b2 in _PyObject_FastCallKeywords third_party/python_runtime/v3_6/Objects/abstract.c:2496:14 #134 0x55cbc0dbe8d5 in call_function third_party/python_runtime/v3_6/Python/ceval.c:4875:17 #135 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #136 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #137 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #138 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #139 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #140 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #141 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #142 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #143 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #144 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #145 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #146 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #147 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #148 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #149 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #150 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #151 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #152 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #153 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #154 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #155 0x55cbc0dc056a in _PyFunction_FastCallDict third_party/python_runtime/v3_6/Python/ceval.c:5084:14 #156 0x55cbc0c99884 in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2310:18 #157 0x55cbc0c99b5a in _PyObject_Call_Prepend third_party/python_runtime/v3_6/Objects/abstract.c:2373:14 #158 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #159 0x55cbc0d2387c in slot_tp_call third_party/python_runtime/v3_6/Objects/typeobject.c:6207:11 #160 0x55cbc0c997fd in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2331:18 #161 0x55cbc0c9a0b2 in _PyObject_FastCallKeywords third_party/python_runtime/v3_6/Objects/abstract.c:2496:14 #162 0x55cbc0dbe8d5 in call_function third_party/python_runtime/v3_6/Python/ceval.c:4875:17 #163 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #164 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #165 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #166 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #167 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #168 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #169 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #170 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #171 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #172 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #173 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #174 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #175 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #176 0x55cbc0db73af in do_call_core third_party/python_runtime/v3_6/Python/ceval.c:5120:16 #177 0x55cbc0db73af in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3404:22 #178 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #179 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #180 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #181 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #182 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #183 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #184 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #185 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #186 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #187 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #188 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #189 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #190 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #191 0x55cbc0dc056a in _PyFunction_FastCallDict third_party/python_runtime/v3_6/Python/ceval.c:5084:14 #192 0x55cbc0c99884 in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2310:18 #193 0x55cbc0c99b5a in _PyObject_Call_Prepend third_party/python_runtime/v3_6/Objects/abstract.c:2373:14 #194 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #195 0x55cbc0d2387c in slot_tp_call third_party/python_runtime/v3_6/Objects/typeobject.c:6207:11 #196 0x55cbc0c997fd in _PyObject_FastCallDict third_party/python_runtime/v3_6/Objects/abstract.c:2331:18 #197 0x55cbc0c9a0b2 in _PyObject_FastCallKeywords third_party/python_runtime/v3_6/Objects/abstract.c:2496:14 #198 0x55cbc0dbe8d5 in call_function third_party/python_runtime/v3_6/Python/ceval.c:4875:17 #199 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #200 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #201 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #202 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #203 0x55cbc0db79d4 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3351:19 #204 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #205 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #206 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #207 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #208 0x55cbc0dc0790 in PyEval_EvalFrameEx third_party/python_runtime/v3_6/Python/ceval.c:754:12 #209 0x55cbc0dc0790 in _PyFunction_FastCall third_party/python_runtime/v3_6/Python/ceval.c:4933:14 #210 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #211 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #212 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #213 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #214 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #215 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #216 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #217 0x55cbc0daf1b2 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #218 0x55cbc0daf1b2 in PyEval_EvalCode third_party/python_runtime/v3_6/Python/ceval.c:731:12 #219 0x55cbc0daba63 in builtin_exec_impl third_party/python_runtime/v3_6/Python/bltinmodule.c:983:13 #220 0x55cbc0daba63 in builtin_exec third_party/python_runtime/v3_6/Python/clinic/bltinmodule.c.h:283:20 #221 0x55cbc0d019c1 in _PyCFunction_FastCallDict third_party/python_runtime/v3_6/Objects/methodobject.c:234:22 #222 0x55cbc0dbe90b in call_function third_party/python_runtime/v3_6/Python/ceval.c:4851:9 #223 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #224 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #225 0x55cbc0dc0239 in fast_function third_party/python_runtime/v3_6/Python/ceval.c:4992:12 #226 0x55cbc0dbe8dc in call_function third_party/python_runtime/v3_6/Python/ceval.c:4872:17 #227 0x55cbc0db76f2 in _PyEval_EvalFrameDefault third_party/python_runtime/v3_6/Python/ceval.c:3335:19 #228 0x55cbc0dbf473 in _PyEval_EvalCodeWithName third_party/python_runtime/v3_6/Python/ceval.c:4166:14 #229 0x55cbc0daf213 in PyEval_EvalCodeEx third_party/python_runtime/v3_6/Python/ceval.c:4187:12 #230 0x55cbc0cde98d in function_call third_party/python_runtime/v3_6/Objects/funcobject.c:604:14 #231 0x55cbc0c99424 in PyObject_Call third_party/python_runtime/v3_6/Objects/abstract.c:2261:14 #232 0x55cbc0c9a68c in call_function_tail third_party/python_runtime/v3_6/Objects/abstract.c:2512:18 #233 0x55cbc0c9a68c in callmethod third_party/python_runtime/v3_6/Objects/abstract.c:2596:14 #234 0x55cbc0c9a54b in PyObject_CallMethod third_party/python_runtime/v3_6/Objects/abstract.c:2617:14 #235 0x55cbc0501991 in devtools::python_launcher::RunFileAsMain(char const*, _object*) devtools/python/launcher/launcher_common.cc:113:12 #236 0x55cbc05013c0 in devtools::python_launcher::RunMainFromImporter(char const*, int (*)(char const*)) devtools/python/launcher/launcher_common.cc:346:11 #237 0x55cbc04ffd66 in devtools::python_launcher::Launcher_Main(int, char**, int (*)(int*, char**), int (*)(int*, char**), int (*)(char const*)) devtools/python/launcher/launcher_common.cc:594:14 #238 0x55cbc04fed2d in devtools::python_launcher::HermeticLauncherMain(int, char**) devtools/python/launcher/hermetic_launcher_lib.cc:127:10 #239 0x55cbbe1ada98 in main devtools/python/launcher/hermetic_launcher.cc:4:10 #240 0x7f9386bd6bbc in __libc_start_main (/usr/grte/v4/lib64/libc.so.6+0x38bbc) #241 0x55cbbe0f7168 in _start /usr/grte/v4/debug-src/src/csu/../sysdeps/x86_64/start.S:108 SUMMARY: AddressSanitizer: heap-buffer-overflow third_party/pybind11/include/pybind11/iostream.h:63:22 in utf8_remainder Shadow bytes around the buggy address: 0x0c3280116ef0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3280116f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3280116f10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3280116f20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3280116f30: 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa =>0x0c3280116f40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa[fa] 0x0c3280116f50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3280116f60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3280116f70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3280116f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c3280116f90: 00 00 00 00 00 00 00 00 00 00 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 ==9635==ABORTING