| "git clone --depth 1 https://github.com/ruby/ruby.git trunk_asan" exit with 0. |
| Cloning into 'trunk_asan'... |
| "./autogen.sh" exit with 0. |
| "autoconf" exit with 0. |
| "/tmp/ruby/src/trunk_asan/configure --prefix=/tmp/ruby/install/trunk_asan --disable-install-doc 'CC=clang-17' 'cflags=-fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0'" exit with 0. |
| "make update-download -j16" exit with 0. |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/typeprof'... |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/debug'... |
| From https://github.com/ruby/typeprof |
| * branch 167263ca3a634b61df0445f1a6b3e259a5d47f94 -> FETCH_HEAD |
| HEAD is now at 167263c Add typeprof.gemspec |
| "make update-src -j16" exit with 0. |
| "make after-update -j16" exit with 0. |
| + cp /tmp/ruby/src/trunk_asan/enc/jis/props.h.blt /tmp/ruby/src/trunk_asan/enc/jis/props.h |
| "make miniruby -j16" exit with 0. |
| "make ruby -j16" exit with 0. |
| "make all -j16" exit with 0. |
| libffi_version: 3.4.6 |
| "make install -j16" exit with 0. |
| "make yes-test-basic TESTS='-j16'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==3015553==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x77e317109041 at pc 0x60f922a29ded bp 0x77e3183ffcf0 sp 0x77e3183ff4b8 |
| READ of size 2 at 0x77e317109041 thread T44 |
| #0 0x60f922a29dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x77e344ccb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x60f922aae95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x77e34789ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x77e347929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x77e317109041 is located in stack of thread T44 at offset 65 in frame |
| #0 0x77e344ccb4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T44 created by T42 here: |
| #0 0x60f922a96601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x77e344cc40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x77e344caa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x60f922af919f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x77e344ca927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x77e344cb131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x60f922ee67db in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x60f922ee67db in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x60f922ee67db in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x60f922eeb245 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x60f922eeb245 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x60f922e9a805 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x60f922e9a805 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x60f922c411f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x60f922b90dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x60f922ed2597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x60f922e7ff0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #17 0x60f922e7ff0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #18 0x60f922e6f127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #19 0x60f922eac3ea in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #20 0x60f922eac3ea in invoke_block_from_c_proc /tmp/ruby/src/trunk_asan/vm.c:1709:16 |
| #21 0x60f922eac3ea in vm_invoke_proc /tmp/ruby/src/trunk_asan/vm.c:1739:12 |
| #22 0x60f922eaa675 in rb_vm_invoke_proc /tmp/ruby/src/trunk_asan/vm.c:1760:16 |
| #23 0x60f922e017f8 in thread_do_start_proc /tmp/ruby/src/trunk_asan/thread.c:608:16 |
| #24 0x60f922dff429 in thread_do_start /tmp/ruby/src/trunk_asan/thread.c:625:18 |
| #25 0x60f922dff429 in thread_start_func_2 /tmp/ruby/src/trunk_asan/thread.c:680:18 |
| #26 0x60f922dfe6ed in call_thread_start_func_2 /tmp/ruby/src/trunk_asan/thread_pthread.c:2180:5 |
| #27 0x60f922dfe6ed in nt_start /tmp/ruby/src/trunk_asan/thread_pthread.c:2225:13 |
| #28 0x60f922aae95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| Thread T42 created by T0 here: |
| #0 0x60f922a96601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x60f922de1e44 in native_thread_create0 /tmp/ruby/src/trunk_asan/thread_pthread.c:2097:11 |
| #2 0x60f922de1e44 in native_thread_create_dedicated /tmp/ruby/src/trunk_asan/thread_pthread.c:2164:12 |
| #3 0x60f922de1e44 in native_thread_create /tmp/ruby/src/trunk_asan/thread_pthread.c:2344:16 |
| #4 0x60f922de1e44 in thread_create_core /tmp/ruby/src/trunk_asan/thread.c:873:11 |
| #5 0x60f922df5f10 in thread_initialize /tmp/ruby/src/trunk_asan/thread.c:981:16 |
| #6 0x60f922ee67db in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x60f922ee67db in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x60f922ee67db in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x60f922eeb245 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x60f922eeb245 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x60f922e9a805 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x60f922e9a805 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x60f922df42d6 in thread_s_new /tmp/ruby/src/trunk_asan/thread.c:914:5 |
| #14 0x60f922ed2597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #15 0x60f922e774aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #16 0x60f922e774aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #17 0x60f922e6f127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #18 0x60f922eefb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #19 0x60f922eefb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #20 0x60f922e9c515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #21 0x60f922e9c515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #22 0x60f922e9c515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #23 0x60f922e9c515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #24 0x60f922af919f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #25 0x60f922ed2597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x60f922eb88cc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #27 0x60f922eb8384 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #28 0x60f922e774aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #29 0x60f922e774aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #30 0x60f922e6f127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #31 0x60f922eefb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #32 0x60f922eefb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #33 0x60f922e9c515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #34 0x60f922e9c515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #35 0x60f922e9c515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #36 0x60f922e9c515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #37 0x60f92304cc15 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #38 0x60f922ed2597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #39 0x60f922e774aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #40 0x60f922e774aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #41 0x60f922e6f127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #42 0x60f922eefb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #43 0x60f922eefb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #44 0x60f922e9c515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #45 0x60f922e9c515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #46 0x60f922e9c515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #47 0x60f922e9c515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #48 0x60f92304cc15 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #49 0x60f922ed2597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #50 0x60f922e774aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #51 0x60f922e774aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #52 0x60f922e6f4e0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #53 0x60f922e6f4e0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #54 0x60f922af549a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #55 0x60f922af549a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #56 0x60f922aeea06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #57 0x60f922aeea06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #58 0x77e34782a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #59 0x77e34782a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #60 0x60f922a127e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) in strlen |
| Shadow bytes around the buggy address: |
| 0x77e317108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e317108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e317108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e317108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e317108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x77e317109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x77e317109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x77e317109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e317109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e317109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e317109280: 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 |
| ==3015553==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/net/http/test_http.rb |
| A test worker crashed. It might be an interpreter bug or |
| a bug in test/unit/parallel.rb. Try again without the -j |
| option. |
| ================================================================= |
| ==3015545==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x738ea4709041 at pc 0x642f2dc8eded bp 0x738ea65ffcf0 sp 0x738ea65ff4b8 |
| READ of size 2 at 0x738ea4709041 thread T12 |
| #0 0x642f2dc8edec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x738eb22cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x642f2dd1395e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x738ece49ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x738ece529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x738ea4709041 is located in stack of thread T12 at offset 65 in frame |
| #0 0x738eb22cb4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T12 created by T0 here: |
| #0 0x642f2dcfb601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x738eb22c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x738eb22aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x642f2dd5e19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x738eb22a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x738eb22b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x642f2e14b7db in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x642f2e14b7db in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x642f2e14b7db in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x642f2e150245 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x642f2e150245 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x642f2e0ff805 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x642f2e0ff805 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x642f2dea61f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x642f2ddf5dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x642f2e137597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x642f2e11d8cc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x642f2e11d384 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x642f2e0e4f0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x642f2e0e4f0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x642f2e0d4127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x642f2e154b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x642f2e154b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x642f2e101515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x642f2e101515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #25 0x642f2e101515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #26 0x642f2e101515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #27 0x642f2e2b1c15 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #28 0x642f2e137597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #29 0x642f2e0dc4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #30 0x642f2e0dc4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #31 0x642f2e0d4127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #32 0x642f2e154b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #33 0x642f2e154b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #34 0x642f2e101515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #35 0x642f2e101515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #36 0x642f2e101515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #37 0x642f2e101515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #38 0x642f2e2b1c15 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #39 0x642f2e137597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #40 0x642f2e0dc4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #41 0x642f2e0dc4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #42 0x642f2e0d44e0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #43 0x642f2e0d44e0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #44 0x642f2dd5a49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #45 0x642f2dd5a49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #46 0x642f2dd53a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #47 0x642f2dd53a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #48 0x738ece42a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #49 0x738ece42a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #50 0x642f2dc777e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) in strlen |
| Shadow bytes around the buggy address: |
| 0x738ea4708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x738ea4708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x738ea4708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x738ea4708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x738ea4708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x738ea4709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x738ea4709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x738ea4709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x738ea4709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x738ea4709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x738ea4709280: 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 |
| ==3015545==ABORTING |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ================================================================= |
| ==3031961==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x78d67bb09041 at pc 0x64b4a7f28ded bp 0x78d67cdffcf0 sp 0x78d67cdff4b8 |
| READ of size 2 at 0x78d67bb09041 thread T55 |
| ==3031967==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7c76a7d09041 at pc 0x6200be9d3ded bp 0x7c76a8fffcf0 sp 0x7c76a8fff4b8 |
| READ of size 2 at 0x7c76a7d09041 thread T99 |
| ================================================================= |
| ================================================================= |
| ==3031969==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x716d7a509041 at pc 0x61fd2e006ded bp 0x716d7cfffcf0 sp 0x716d7cfff4b8 |
| READ of size 2 at 0x716d7a509041 thread T132 |
| ==3031960==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x76a678309041 at pc 0x57492af31ded bp 0x76a67abffcf0 sp 0x76a67abff4b8 |
| READ of size 2 at 0x76a678309041 thread T9 |
| #0 0x6200be9d3dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x7c76b26c38dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6200bea5895e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7c76d3e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7c76d3f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7c76a7d09041 is located in stack of thread T99 at offset 65 in frame |
| #0 0x7c76b26c34df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T99 created by T0 here: |
| #0 0x64b4a7f28dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x78d6836e18dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x64b4a7fad95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x78d6a8c9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x78d6a8d29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x78d67bb09041 is located in stack of thread T55 at offset 65 in frame |
| #0 0x78d6836e14df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T55 created by T0 here: |
| #0 0x57492af31dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x76a6830ad8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x57492afb695e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x76a69fc9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x76a69fd29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x76a678309041 is located in stack of thread T9 at offset 65 in frame |
| #0 0x76a6830ad4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T9 created by T0 here: |
| #0 0x61fd2e006dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x716da257d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x61fd2e08b95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x716dbf09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x716dbf129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x716d7a509041 is located in stack of thread T132 at offset 65 in frame |
| #0 0x716da257d4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T132 created by T0 here: |
| ================================================================= |
| ==3031963==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x75d85a909041 at pc 0x64a35de4fded bp 0x75d85c7ffcf0 sp 0x75d85c7ff4b8 |
| READ of size 2 at 0x75d85a909041 thread T21 |
| #0 0x6200bea40601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x7c76b26bc0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7c76b26a215c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6200beaa319f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7c76b26a127d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7c76b26a931d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6200bee907db in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6200bee907db in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6200bee907db in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6200bee95245 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6200bee95245 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x6200bee44805 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x6200bee44805 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6200bebeb1f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x6200beb3adfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6200bee7c597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6200bee628cc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6200bee62384 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6200bee29f0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6200bee29f0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6200bee19127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6200bee99b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6200bee99b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x6200bee4ceaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x6200bee4ceaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x6200bee7c597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x6200bee214aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x6200bee214aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x6200bee19127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6200bee99b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6200bee99b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x6200bee46515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x6200bee46515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x6200bee46515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x6200bee46515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x6200bf00470d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x6200bee7c597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x6200bee214aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x6200bee214aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x6200bee19127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6200bee99b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6200bee99b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x6200bee46515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x6200bee46515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x6200bee46515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x6200bee46515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x6200befe9e89 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x6200bee7c597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x6200bee214aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x6200bee214aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x6200bee19127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x6200beb9c1bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x6200beb942ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x6200beb998c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x6200bee7c597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x6200bee29f0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x6200bee29f0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x6200bee19127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x6200bee99b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x6200bee99b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x6200bee4ceaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x6200bee4ceaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x6200bee7c597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x6200bee214aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x6200bee214aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x6200bee194e0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x6200bee194e0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x6200bea9f49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x6200bea9f49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x6200bea98a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x6200bea98a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7c76d3e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7c76d3e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x6200be9bc7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) in strlen |
| Shadow bytes around the buggy address: |
| 0x7c76a7d08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c76a7d08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c76a7d08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c76a7d08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c76a7d08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7c76a7d09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7c76a7d09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7c76a7d09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c76a7d09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c76a7d09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c76a7d09280: 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 |
| ==3031967==ABORTING |
| #0 0x64b4a7f95601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x78d6836da0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x78d6836c015c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x64b4a7ff819f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x78d6836bf27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x78d6836c731d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x64b4a83e57db in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x64b4a83e57db in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x64b4a83e57db in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x64b4a83ea245 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x64b4a83ea245 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x64b4a8399805 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x64b4a8399805 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x64b4a81401f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x64b4a808fdfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x64b4a83d1597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x64b4a83b78cc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x64b4a83b7384 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x64b4a837ef0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x64b4a837ef0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x64b4a836e127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x64b4a83eeb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x64b4a83eeb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x64b4a83a1eaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x64b4a83a1eaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x64b4a83d1597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x64b4a83764aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x64b4a83764aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x64b4a836e127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x64b4a83eeb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x64b4a83eeb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x64b4a839b515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x64b4a839b515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x64b4a839b515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x64b4a839b515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x64b4a855970d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x64b4a83d1597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x64b4a83764aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x64b4a83764aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x64b4a836e127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x64b4a83eeb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x64b4a83eeb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x64b4a839b515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x64b4a839b515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x64b4a839b515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x64b4a839b515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x64b4a853ee89 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x64b4a83d1597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x64b4a83764aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x64b4a83764aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x64b4a836e127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x64b4a80f11bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x64b4a80e92ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x64b4a80ee8c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x64b4a83d1597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x64b4a837ef0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x64b4a837ef0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x64b4a836e127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x64b4a83eeb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x64b4a83eeb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x64b4a83a1eaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x64b4a83a1eaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x64b4a83d1597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x64b4a83764aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x64b4a83764aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x64b4a836e4e0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x64b4a836e4e0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x64b4a7ff449a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x64b4a7ff449a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x64b4a7feda06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x64b4a7feda06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x78d6a8c2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x78d6a8c2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x64b4a7f117e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) in strlen |
| Shadow bytes around the buggy address: |
| 0x78d67bb08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d67bb08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d67bb08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d67bb08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d67bb08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x78d67bb09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x78d67bb09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x78d67bb09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d67bb09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d67bb09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d67bb09280: 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 |
| ==3031961==ABORTING |
| #0 0x57492af9e601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x76a6830a60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x76a68308c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x57492b00119f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x76a68308b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x76a68309331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x57492b3ee7db in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x57492b3ee7db in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x57492b3ee7db in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x57492b3f3245 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x57492b3f3245 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x57492b3a2805 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x57492b3a2805 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x57492b1491f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x57492b098dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x57492b3da597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x57492b3c08cc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x57492b3c0384 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x57492b387f0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x57492b387f0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x57492b377127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x57492b3f7b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x57492b3f7b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x57492b3aaeaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x57492b3aaeaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x57492b3da597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x57492b37f4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x57492b37f4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x57492b377127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x57492b3f7b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x57492b3f7b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x57492b3a4515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x57492b3a4515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x57492b3a4515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x57492b3a4515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x57492b56270d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x57492b3da597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x57492b37f4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x57492b37f4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x57492b377127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x57492b3f7b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x57492b3f7b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x57492b3a4515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x57492b3a4515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x57492b3a4515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x57492b3a4515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x57492b547e89 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x57492b3da597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x57492b37f4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x57492b37f4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x57492b377127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x57492b0fa1bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x57492b0f22ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x57492b0f78c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x57492b3da597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x57492b387f0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x57492b387f0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x57492b377127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x57492b3f7b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x57492b3f7b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x57492b3aaeaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x57492b3aaeaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x57492b3da597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x57492b37f4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x57492b37f4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x57492b3774e0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x57492b3774e0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x57492affd49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x57492affd49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x57492aff6a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x57492aff6a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x76a69fc2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x76a69fc2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x57492af1a7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) in strlen |
| Shadow bytes around the buggy address: |
| 0x76a678308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76a678308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76a678308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76a678308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76a678308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x76a678309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x76a678309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x76a678309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76a678309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76a678309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76a678309280: 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 |
| ==3031960==ABORTING |
| #0 0x61fd2e073601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x716da25760bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x716da255c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x61fd2e0d619f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x716da255b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x716da256331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x61fd2e4c37db in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x61fd2e4c37db in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x61fd2e4c37db in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x61fd2e4c8245 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x61fd2e4c8245 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x61fd2e477805 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x61fd2e477805 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x61fd2e21e1f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x61fd2e16ddfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x61fd2e4af597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x61fd2e4958cc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x61fd2e495384 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x61fd2e45cf0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x61fd2e45cf0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x61fd2e44c127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x61fd2e4ccb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x61fd2e4ccb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x61fd2e47feaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x61fd2e47feaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x61fd2e4af597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x61fd2e4544aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x61fd2e4544aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x61fd2e44c127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x61fd2e4ccb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x61fd2e4ccb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x61fd2e479515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x61fd2e479515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x61fd2e479515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x61fd2e479515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x61fd2e63770d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x61fd2e4af597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x61fd2e4544aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x61fd2e4544aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x61fd2e44c127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x61fd2e4ccb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x61fd2e4ccb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x61fd2e479515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x61fd2e479515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x61fd2e479515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x61fd2e479515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x61fd2e61ce89 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x61fd2e4af597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x61fd2e4544aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x61fd2e4544aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x61fd2e44c127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x61fd2e4ccb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x61fd2e4ccb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x61fd2e479515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x61fd2e479515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x61fd2e479515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x61fd2e479515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x61fd2e61ce89 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x61fd2e4af597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x61fd2e4544aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x61fd2e4544aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x61fd2e44c127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x61fd2e1cf1bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x61fd2e1c72ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x61fd2e1cc8c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x61fd2e4af597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x61fd2e45cf0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x61fd2e45cf0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x61fd2e44c127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x61fd2e4ccb51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x61fd2e4ccb51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x61fd2e47feaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x61fd2e47feaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x61fd2e4af597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x61fd2e4544aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x61fd2e4544aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x61fd2e44c4e0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x61fd2e44c4e0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x61fd2e0d249a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x61fd2e0d249a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x61fd2e0cba06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x61fd2e0cba06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x716dbf02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x716dbf02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x61fd2dfef7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) in strlen |
| Shadow bytes around the buggy address: |
| 0x716d7a508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x716d7a508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x716d7a508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x716d7a508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x716d7a508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x716d7a509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x716d7a509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x716d7a509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x716d7a509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x716d7a509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x716d7a509280: 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 |
| ==3031969==ABORTING |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/copy_spec.rb |
| #0 0x64a35de4fdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x75d869ac78dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x64a35ded495e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x75d88969ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x75d889729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x75d85a909041 is located in stack of thread T21 at offset 65 in frame |
| #0 0x75d869ac74df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T21 created by T0 here: |
| #0 0x64a35debc601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| #1 0x75d869ac00bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x75d869aa615c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x64a35df1f19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x75d869aa527d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x75d869aad31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x64a35e30c7db in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x64a35e30c7db in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x64a35e30c7db in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x64a35e311245 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x64a35e311245 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x64a35e2c0805 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x64a35e2c0805 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x64a35e0671f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x64a35dfb6dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x64a35e2f8597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x64a35e2de8cc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x64a35e2de384 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x64a35e2a5f0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x64a35e2a5f0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x64a35e295127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x64a35e315b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x64a35e315b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x64a35e2c8eaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x64a35e2c8eaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x64a35e2f8597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x64a35e29d4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x64a35e29d4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x64a35e295127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x64a35e315b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x64a35e315b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x64a35e2c2515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x64a35e2c2515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x64a35e2c2515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x64a35e2c2515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x64a35e48070d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x64a35e2f8597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x64a35e29d4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x64a35e29d4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x64a35e295127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x64a35e315b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x64a35e315b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x64a35e2c2515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x64a35e2c2515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x64a35e2c2515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x64a35e2c2515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x64a35e465e89 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x64a35e2f8597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x64a35e29d4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x64a35e29d4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x64a35e295127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x64a35e315b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x64a35e315b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x64a35e2c2515 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x64a35e2c2515 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x64a35e2c2515 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x64a35e2c2515 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x64a35e465e89 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x64a35e2f8597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x64a35e29d4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x64a35e29d4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x64a35e295127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x64a35e0181bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x64a35e0102ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x64a35e0158c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x64a35e2f8597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x64a35e2a5f0c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x64a35e2a5f0c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x64a35e295127 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x64a35e315b51 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x64a35e315b51 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x64a35e2c8eaa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x64a35e2c8eaa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x64a35e2f8597 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x64a35e29d4aa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x64a35e29d4aa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x64a35e2954e0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x64a35e2954e0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x64a35df1b49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x64a35df1b49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x64a35df14a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x64a35df14a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x75d88962a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x75d88962a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x64a35de387e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 80b241147e28e06a73c127a1fe848cec85230add) in strlen |
| Shadow bytes around the buggy address: |
| 0x75d85a908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75d85a908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75d85a908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75d85a908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75d85a908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x75d85a909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x75d85a909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x75d85a909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75d85a909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75d85a909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75d85a909280: 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 |
| ==3031963==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |