| "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. |
| ================================================================= |
| ==2720418==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x73a61cd09041 at pc 0x55d3769ffded bp 0x73a61c9ffcf0 sp 0x73a61c9ff4b8 |
| READ of size 2 at 0x73a61cd09041 thread T3344 |
| #0 0x55d3769ffdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x73a62dccd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x55d376a8495e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x73a64f89ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x73a64f929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x73a61cd09041 is located in stack of thread T3344 at offset 65 in frame |
| #0 0x73a62dccd4df 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 T3344 created by T0 here: |
| #0 0x55d376a6c601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x73a62dcc60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x73a62dcac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x55d376acf19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x73a62dcab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x73a62dcb331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x55d376ebcf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x55d376ebcf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x55d376ebcf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x55d376ec19a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x55d376ec19a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x55d376e70ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x55d376e70ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x55d376c171b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x55d376ea8cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #15 0x55d376e8edac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #16 0x55d376e8e864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #17 0x55d376e563ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #18 0x55d376e563ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #19 0x55d376e455c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #20 0x55d376ec62b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #21 0x55d376ec62b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #22 0x55d376e729b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #23 0x55d376e729b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #24 0x55d376e729b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #25 0x55d376e729b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #26 0x55d377023ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #27 0x55d376ea8cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #28 0x55d376e4d94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #29 0x55d376e4d94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #30 0x55d376e455c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #31 0x55d376ec62b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #32 0x55d376ec62b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #33 0x55d376e729b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #34 0x55d376e729b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #35 0x55d376e729b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #36 0x55d376e729b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #37 0x55d377023ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #38 0x55d376ea8cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #39 0x55d376e4d94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #40 0x55d376e4d94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #41 0x55d376e45980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #42 0x55d376e45980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #43 0x55d376acb49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #44 0x55d376acb49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #45 0x55d376ac4a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #46 0x55d376ac4a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #47 0x73a64f82a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #48 0x73a64f82a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #49 0x55d3769e87e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) in strlen |
| Shadow bytes around the buggy address: |
| 0x73a61cd08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73a61cd08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73a61cd08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73a61cd08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73a61cd08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x73a61cd09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x73a61cd09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x73a61cd09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73a61cd09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73a61cd09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73a61cd09280: 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 |
| ==2720418==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/socket/test_socket.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. |
| Children under /tmp/rubytest.yvoxbl: |
| * drwx------ 3 60 2024-11-12 05:21:02 +0000 d20241112-2720416-6h95jt/ |
| * drwxr-xr-x 2 40 2024-11-12 05:21:02 +0000 テスト_ߡߊߝߌߟߍ߫/ |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==2727840==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7098bbb09041 at pc 0x60ad6b98eded bp 0x7098bd7ffcf0 sp 0x7098bd7ff4b8 |
| READ of size 2 at 0x7098bbb09041 thread T40 |
| ================================================================= |
| ==2727834==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x79afe5309041 at pc 0x55d198a51ded bp 0x79afe65ffcf0 sp 0x79afe65ff4b8 |
| READ of size 2 at 0x79afe5309041 thread T74 |
| ================================================================= |
| ==2727838==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x71acddf09041 at pc 0x5fa99918eded bp 0x71acdf1ffcf0 sp 0x71acdf1ff4b8 |
| READ of size 2 at 0x71acddf09041 thread T48 |
| ================================================================= |
| ==2727828==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7187adb09041 at pc 0x6222d73a9ded bp 0x7187aedffcf0 sp 0x7187aedff4b8 |
| READ of size 2 at 0x7187adb09041 thread T39 |
| ================================================================= |
| ==2727830==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x798419b09041 at pc 0x5699b4dedded bp 0x79841b9ffcf0 sp 0x79841b9ff4b8 |
| READ of size 2 at 0x798419b09041 thread T189 |
| #0 0x60ad6b98edec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x7098ca5cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x60ad6ba1395e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7098ebe9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7098ebf29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7098bbb09041 is located in stack of thread T40 at offset 65 in frame |
| #0 0x7098ca5cd4df 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 T40 created by T0 here: |
| #0 0x55d198a51dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x79aff0d7d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x55d198ad695e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x79b011a9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x79b011b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x79afe5309041 is located in stack of thread T74 at offset 65 in frame |
| #0 0x79aff0d7d4df 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 T74 created by T0 here: |
| #0 0x60ad6b9fb601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x7098ca5c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7098ca5ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x60ad6ba5e19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7098ca5ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7098ca5b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x60ad6be4bf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x60ad6be4bf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x60ad6be4bf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x60ad6be509a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x60ad6be509a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x60ad6bdffca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x60ad6bdffca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x60ad6bba61b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x60ad6baf5ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x60ad6be37cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x60ad6be1ddac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x60ad6be1d864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x60ad6bde53ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x60ad6bde53ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x60ad6bdd45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x60ad6be552b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x60ad6be552b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x60ad6be0834a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x60ad6be0834a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x60ad6be37cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x60ad6bddc94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x60ad6bddc94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x60ad6bdd45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x60ad6be552b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x60ad6be552b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x60ad6be019b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x60ad6be019b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x60ad6be019b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x60ad6be019b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x60ad6bfc07cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x60ad6be37cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x60ad6bddc94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x60ad6bddc94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x60ad6bdd45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x60ad6be552b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x60ad6be552b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x60ad6be019b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x60ad6be019b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x60ad6be019b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x60ad6be019b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x60ad6bfa5f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x60ad6be37cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x60ad6bddc94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x60ad6bddc94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x60ad6bdd45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x60ad6bb5717b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x60ad6bb4f2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x60ad6bb54889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x60ad6be37cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x60ad6bde53ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x60ad6bde53ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x60ad6bdd45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x60ad6be552b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x60ad6be552b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x60ad6be0834a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x60ad6be0834a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x60ad6be37cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x60ad6bddc94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x60ad6bddc94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x60ad6bdd4980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x60ad6bdd4980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x60ad6ba5a49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x60ad6ba5a49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x60ad6ba53a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x60ad6ba53a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7098ebe2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7098ebe2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x60ad6b9777e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) in strlen |
| Shadow bytes around the buggy address: |
| 0x7098bbb08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7098bbb08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7098bbb08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7098bbb08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7098bbb08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7098bbb09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7098bbb09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7098bbb09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7098bbb09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7098bbb09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7098bbb09280: 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 |
| ==2727840==ABORTING |
| #0 0x6222d73a9dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x7187beecb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6222d742e95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7187dc69ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7187dc729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| #0 0x5fa99918edec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x71acef6cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5fa99921395e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x71ad0b89ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x71ad0b929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x71acddf09041 is located in stack of thread T48Address 0x7187adb09041 is located in stack of thread T39 at offset 65 in frame |
| at offset 65 in frame |
| #0 0x7187beecb4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| #0 0x71acef6cb4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| [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 |
| 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) |
| (longjmp and C++ exceptions *are* supported) |
| Thread T39 created by T0 here: |
| Thread T48 created by T0 here: |
| #0 0x55d198abe601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x79aff0d760bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x79aff0d5c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x55d198b2119f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x79aff0d5b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x79aff0d6331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x55d198f0ef3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x55d198f0ef3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x55d198f0ef3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x55d198f139a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x55d198f139a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x55d198ec2ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x55d198ec2ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x55d198c691b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x55d198bb8ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x55d198efacb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x55d198ee0dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x55d198ee0864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x55d198ea83ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x55d198ea83ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x55d198e975c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x55d198f182b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x55d198f182b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x55d198ecb34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x55d198ecb34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x55d198efacb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x55d198e9f94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x55d198e9f94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x55d198e975c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x55d198f182b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x55d198f182b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x55d198ec49b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x55d198ec49b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x55d198ec49b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x55d198ec49b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x55d1990837cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x55d198efacb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x55d198e9f94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x55d198e9f94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x55d198e975c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x55d198f182b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x55d198f182b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x55d198ec49b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x55d198ec49b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x55d198ec49b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x55d198ec49b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x55d199068f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x55d198efacb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x55d198e9f94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x55d198e9f94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x55d198e975c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x55d198c1a17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x55d198c122af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x55d198c17889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x55d198efacb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x55d198ea83ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x55d198ea83ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x55d198e975c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x55d198f182b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x55d198f182b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x55d198ecb34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x55d198ecb34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x55d198efacb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x55d198e9f94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x55d198e9f94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x55d198e97980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x55d198e97980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x55d198b1d49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x55d198b1d49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x55d198b16a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x55d198b16a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x79b011a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x79b011a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x55d198a3a7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) in strlen |
| Shadow bytes around the buggy address: |
| 0x79afe5308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x79afe5308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x79afe5308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x79afe5308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x79afe5308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x79afe5309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x79afe5309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x79afe5309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x79afe5309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x79afe5309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x79afe5309280: 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 |
| ==2727834==ABORTING |
| #0 0x6222d7416601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x7187beec40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7187beeaa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6222d747919f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7187beea927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7187beeb131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6222d7866f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6222d7866f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6222d7866f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6222d786b9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6222d786b9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x6222d781aca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x6222d781aca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6222d75c11b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x6222d7510ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6222d7852cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6222d7838dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6222d7838864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6222d78003ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6222d78003ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6222d77ef5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6222d78702b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6222d78702b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x6222d782334a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x6222d782334a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x6222d7852cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x6222d77f794a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x6222d77f794a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x6222d77ef5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6222d78702b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6222d78702b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x6222d781c9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x6222d781c9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x6222d781c9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x6222d781c9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x6222d79db7cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x6222d7852cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x6222d77f794a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x6222d77f794a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x6222d77ef5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6222d78702b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6222d78702b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x6222d781c9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x6222d781c9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x6222d781c9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x6222d781c9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x6222d79c0f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x6222d7852cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x6222d77f794a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x6222d77f794a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x6222d77ef5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x6222d757217b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x6222d756a2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x6222d756f889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x6222d7852cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x6222d78003ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x6222d78003ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x6222d77ef5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x6222d78702b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x6222d78702b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x6222d782334a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x6222d782334a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x6222d7852cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x6222d77f794a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x6222d77f794a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x6222d77ef980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x6222d77ef980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x6222d747549a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x6222d747549a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x6222d746ea06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x6222d746ea06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7187dc62a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7187dc62a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x6222d73927e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) in strlen |
| #0 0x5fa9991fb601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x71acef6c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x71acef6aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5fa99925e19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x71acef6a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x71acef6b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5fa99964bf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5fa99964bf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5fa99964bf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5fa9996509a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5fa9996509a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5fa9995ffca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5fa9995ffca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5fa9993a61b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5fa9992f5ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5fa999637cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5fa99961ddac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5fa99961d864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5fa9995e53ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5fa9995e53ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5fa9995d45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5fa9996552b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5fa9996552b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5fa99960834a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5fa99960834a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5fa999637cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5fa9995dc94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5fa9995dc94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5fa9995d45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5fa9996552b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5fa9996552b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5fa9996019b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5fa9996019b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5fa9996019b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5fa9996019b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5fa9997c07cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5fa999637cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5fa9995dc94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5fa9995dc94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5fa9995d45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5fa9996552b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5fa9996552b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5fa9996019b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5fa9996019b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5fa9996019b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5fa9996019b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5fa9997a5f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5fa999637cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5fa9995dc94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5fa9995dc94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5fa9995d45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5fa9996552b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5fa9996552b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5fa9996019b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5fa9996019b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5fa9996019b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5fa9996019b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5fa9997a5f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5fa999637cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5fa9995dc94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5fa9995dc94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5fa9995d45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5fa99935717b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5fa99934f2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5fa999354889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5fa999637cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5fa9995e53ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5fa9995e53ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5fa9995d45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5fa9996552b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5fa9996552b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5fa99960834a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5fa99960834a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5fa999637cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5fa9995dc94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5fa9995dc94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5fa9995d4980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5fa9995d4980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5fa99925a49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5fa99925a49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5fa999253a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5fa999253a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x71ad0b82a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x71ad0b82a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5fa9991777e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) in strlen |
| Shadow bytes around the buggy address: |
| 0x7187adb08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7187adb08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7187adb08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7187adb08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7187adb08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7187adb09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7187adb09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7187adb09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7187adb09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7187adb09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7187adb09280: 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 |
| ==2727828==ABORTING |
| Shadow bytes around the buggy address: |
| 0x71acddf08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71acddf08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71acddf08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71acddf08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71acddf08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x71acddf09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x71acddf09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x71acddf09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71acddf09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71acddf09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71acddf09280: 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 |
| ==2727838==ABORTING |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/active_spec.rb |
| #0 0x5699b4deddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x7984316838dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5699b4e7295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x79845289ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x798452929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x798419b09041 is located in stack of thread T189 at offset 65 in frame |
| #0 0x7984316834df 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 T189 created by T0 here: |
| #0 0x5699b4e5a601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| #1 0x79843167c0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x79843166215c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5699b4ebd19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x79843166127d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x79843166931d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5699b52aaf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5699b52aaf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5699b52aaf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5699b52af9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5699b52af9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5699b525eca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5699b525eca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5699b50051b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5699b4f54ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5699b5296cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5699b527cdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5699b527c864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5699b52443ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5699b52443ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5699b52335c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5699b52b42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5699b52b42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5699b526734a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5699b526734a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5699b5296cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5699b523b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5699b523b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5699b52335c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5699b52b42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5699b52b42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5699b52609b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5699b52609b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5699b52609b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5699b52609b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5699b541f7cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5699b5296cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5699b523b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5699b523b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5699b52335c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5699b52b42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5699b52b42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5699b52609b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5699b52609b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5699b52609b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5699b52609b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5699b5404f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5699b5296cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5699b523b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5699b523b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5699b52335c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5699b52b42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5699b52b42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5699b52609b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5699b52609b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5699b52609b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5699b52609b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5699b5404f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5699b5296cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5699b523b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5699b523b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5699b52335c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5699b4fb617b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5699b4fae2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5699b4fb3889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5699b5296cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5699b52443ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5699b52443ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5699b52335c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5699b52b42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5699b52b42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5699b526734a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5699b526734a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5699b5296cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5699b523b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5699b523b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5699b5233980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5699b5233980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5699b4eb949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5699b4eb949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5699b4eb2a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5699b4eb2a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x79845282a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x79845282a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5699b4dd67e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0a48f74eb679f4e4c8d6baa5d54fc345939b1f08) in strlen |
| Shadow bytes around the buggy address: |
| 0x798419b08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798419b08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798419b08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798419b08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798419b08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x798419b09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x798419b09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x798419b09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798419b09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798419b09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798419b09280: 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 |
| ==2727830==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |