| "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. |
| ================================================================= |
| ==3191358==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x70f845d09041 at pc 0x619ab453aded bp 0x70f8487ffcf0 sp 0x70f8487ff4b8 |
| READ of size 2 at 0x70f845d09041 thread T3240 |
| #0 0x619ab453adec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x70f84d5c983d in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x619ab45bf95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x70f870a9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x70f870b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x70f845d09041 is located in stack of thread T3240 at offset 65 in frame |
| #0 0x70f84d5c943f 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 T3240 created by T0 here: |
| #0 0x619ab45a7601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x70f84d5c201f in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x70f84d5a811d in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:697:17 |
| #3 0x619ab460a19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x70f84d5a727d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1289:20 |
| #5 0x70f84d5af27d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x619ab49f7b4b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x619ab49f7b4b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x619ab49f7b4b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x619ab49fc5b5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x619ab49fc5b5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x619ab49abb75 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x619ab49abb75 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x619ab4752568 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x619ab49e3907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #15 0x619ab49c9c3c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #16 0x619ab49c96f4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #17 0x619ab499127c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #18 0x619ab499127c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #19 0x619ab4980497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #20 0x619ab4a00ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #21 0x619ab4a00ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #22 0x619ab49ad885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #23 0x619ab49ad885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #24 0x619ab49ad885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #25 0x619ab49ad885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #26 0x619ab4b5f335 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #27 0x619ab49e3907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #28 0x619ab498881a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #29 0x619ab498881a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #30 0x619ab4980497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #31 0x619ab4a00ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #32 0x619ab4a00ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #33 0x619ab49ad885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #34 0x619ab49ad885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #35 0x619ab49ad885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #36 0x619ab49ad885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #37 0x619ab4b5f335 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #38 0x619ab49e3907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #39 0x619ab498881a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #40 0x619ab498881a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #41 0x619ab4980850 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #42 0x619ab4980850 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #43 0x619ab460649a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #44 0x619ab460649a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #45 0x619ab45ffa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #46 0x619ab45ffa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #47 0x70f870a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #48 0x70f870a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #49 0x619ab45237e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x70f845d08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70f845d08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70f845d08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70f845d08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70f845d08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x70f845d09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x70f845d09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x70f845d09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70f845d09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70f845d09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70f845d09280: 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 |
| ==3191358==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. |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==3196583==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7d1d8a309041 at pc 0x6091ea793ded bp 0x7d1d8c1ffcf0 sp 0x7d1d8c1ff4b8 |
| READ of size 2 at 0x7d1d8a309041 thread T172 |
| ================================================================= |
| ==3196570==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7acd0cf09041 at pc 0x5acaaa860ded bp 0x7acd103ffcf0 sp 0x7acd103ff4b8 |
| READ of size 2 at 0x7acd0cf09041 thread T121 |
| ================================================================= |
| ==3196577==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x70d34b709041 at pc 0x64c799176ded bp 0x70d34f9ffcf0 sp 0x70d34f9ff4b8 |
| READ of size 2 at 0x70d34b709041 thread T115 |
| ================================================================= |
| ==3196582==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7b30fcd09041 at pc 0x63bdc95efded bp 0x7b30febffcf0 sp 0x7b30febff4b8 |
| READ of size 2 at 0x7b30fcd09041 thread T156 |
| #0 0x6091ea793dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x7d1d97cc983d in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6091ea81895e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7d1db8e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7d1db8f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7d1d8a309041 is located in stack of thread T172 at offset 65 in frame |
| #0 0x7d1d97cc943f 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 T172 created by T0 here: |
| #0 0x6091ea800601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x7d1d97cc201f in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7d1d97ca811d in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:697:17 |
| #3 0x6091ea86319f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7d1d97ca727d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1289:20 |
| #5 0x7d1d97caf27d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6091eac50b4b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6091eac50b4b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6091eac50b4b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6091eac555b5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6091eac555b5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x6091eac04b75 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x6091eac04b75 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6091ea9ab568 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x6091ea8faf0c in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6091eac3c907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6091eac22c3c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6091eac226f4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6091eabea27c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6091eabea27c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6091eabd9497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6091eac59ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6091eac59ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x6091eac0d21a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x6091eac0d21a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x6091eac3c907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x6091eabe181a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x6091eabe181a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x6091eabd9497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6091eac59ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6091eac59ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x6091eac06885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x6091eac06885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x6091eac06885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x6091eac06885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x6091eadc5e2d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x6091eac3c907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x6091eabe181a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x6091eabe181a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x6091eabd9497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6091eac59ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6091eac59ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x6091eac06885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x6091eac06885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x6091eac06885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x6091eac06885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x6091eadab5a9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x6091eac3c907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x6091eabe181a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x6091eabe181a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x6091eabd9497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x6091ea95c32b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x6091ea95445f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x6091ea959a39 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x6091eac3c907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x6091eabea27c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x6091eabea27c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x6091eabd9497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x6091eac59ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x6091eac59ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x6091eac0d21a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x6091eac0d21a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x6091eac3c907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x6091eabe181a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x6091eabe181a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x6091eabd9850 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x6091eabd9850 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x6091ea85f49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x6091ea85f49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x6091ea858a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x6091ea858a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7d1db8e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7d1db8e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x6091ea77c7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #0 0x5acaaa860dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x7acd1e58b83d in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5acaaa8e595e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7acd3bc9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7acd3bd29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7acd0cf09041 is located in stack of thread T121 at offset 65 in frame |
| #0 0x7acd1e58b43f 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 T121 created by T0 here: |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x7d1d8a308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d1d8a308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d1d8a308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d1d8a308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d1d8a308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7d1d8a309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7d1d8a309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7d1d8a309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d1d8a309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d1d8a309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d1d8a309280: 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 |
| ==3196583==ABORTING |
| #0 0x64c799176dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x70d35867583d in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x64c7991fb95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x70d37a09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x70d37a129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x70d34b709041 is located in stack of thread T115 at offset 65 in frame |
| #0 0x70d35867543f 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 T115 created by T0 here: |
| ================================================================= |
| ==3196578==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7096efd09041 at pc 0x5cec1919cded bp 0x7096f1dffcf0 sp 0x7096f1dff4b8 |
| READ of size 2 at 0x7096efd09041 thread T132 |
| #0 0x5acaaa8cd601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x7acd1e58401f in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7acd1e56a11d in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:697:17 |
| #3 0x5acaaa93019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7acd1e56927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1289:20 |
| #5 0x7acd1e57127d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5acaaad1db4b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5acaaad1db4b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5acaaad1db4b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5acaaad225b5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5acaaad225b5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5acaaacd1b75 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5acaaacd1b75 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5acaaaa78568 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5acaaa9c7f0c in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5acaaad09907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5acaaacefc3c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5acaaacef6f4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5acaaacb727c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5acaaacb727c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5acaaaca6497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5acaaad26ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5acaaad26ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5acaaacda21a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5acaaacda21a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5acaaad09907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5acaaacae81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5acaaacae81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5acaaaca6497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5acaaad26ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5acaaad26ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5acaaacd3885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5acaaacd3885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5acaaacd3885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5acaaacd3885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5acaaae92e2d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x5acaaad09907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5acaaacae81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5acaaacae81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5acaaaca6497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5acaaad26ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5acaaad26ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5acaaacd3885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5acaaacd3885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5acaaacd3885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5acaaacd3885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5acaaae785a9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5acaaad09907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5acaaacae81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5acaaacae81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5acaaaca6497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5acaaaa2932b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5acaaaa2145f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5acaaaa26a39 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5acaaad09907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5acaaacb727c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5acaaacb727c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5acaaaca6497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5acaaad26ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5acaaad26ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5acaaacda21a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5acaaacda21a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5acaaad09907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5acaaacae81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5acaaacae81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5acaaaca6850 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5acaaaca6850 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5acaaa92c49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5acaaa92c49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5acaaa925a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5acaaa925a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7acd3bc2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7acd3bc2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5acaaa8497e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x7acd0cf08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7acd0cf08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7acd0cf08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7acd0cf08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7acd0cf08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7acd0cf09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7acd0cf09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7acd0cf09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7acd0cf09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7acd0cf09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7acd0cf09280: 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 |
| ==3196570==ABORTING |
| #0 0x63bdc95efdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x7b3115ccd83d in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x63bdc967495e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7b3131e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7b3131f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7b30fcd09041 is located in stack of thread T156 at offset 65 in frame |
| #0 0x7b3115ccd43f 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 T156 created by T0 here: |
| #0 0x64c7991e3601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x70d35866e01f in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x70d35865411d in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:697:17 |
| #3 0x64c79924619f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x70d35865327d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1289:20 |
| #5 0x70d35865b27d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x64c799633b4b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x64c799633b4b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x64c799633b4b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x64c7996385b5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x64c7996385b5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x64c7995e7b75 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x64c7995e7b75 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x64c79938e568 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x64c7992ddf0c in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x64c79961f907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x64c799605c3c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x64c7996056f4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x64c7995cd27c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x64c7995cd27c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x64c7995bc497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x64c79963cec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x64c79963cec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x64c7995f021a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x64c7995f021a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x64c79961f907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x64c7995c481a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x64c7995c481a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x64c7995bc497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x64c79963cec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x64c79963cec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x64c7995e9885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x64c7995e9885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x64c7995e9885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x64c7995e9885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x64c7997a8e2d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x64c79961f907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x64c7995c481a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x64c7995c481a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x64c7995bc497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x64c79963cec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x64c79963cec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x64c7995e9885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x64c7995e9885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x64c7995e9885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x64c7995e9885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x64c79978e5a9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x64c79961f907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x64c7995c481a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x64c7995c481a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x64c7995bc497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x64c79933f32b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x64c79933745f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x64c79933ca39 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x64c79961f907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x64c7995cd27c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x64c7995cd27c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x64c7995bc497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x64c79963cec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x64c79963cec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x64c7995f021a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x64c7995f021a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x64c79961f907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x64c7995c481a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x64c7995c481a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x64c7995bc850 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x64c7995bc850 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x64c79924249a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x64c79924249a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x64c79923ba06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x64c79923ba06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x70d37a02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x70d37a02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x64c79915f7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x70d34b708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d34b708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d34b708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d34b708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d34b708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x70d34b709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x70d34b709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x70d34b709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d34b709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d34b709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d34b709280: 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 |
| ==3196577==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 0x63bdc965c601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x7b3115cc601f in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7b3115cac11d in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:697:17 |
| #3 0x63bdc96bf19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7b3115cab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1289:20 |
| #5 0x7b3115cb327d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x63bdc9aacb4b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x63bdc9aacb4b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x63bdc9aacb4b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x63bdc9ab15b5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x63bdc9ab15b5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x63bdc9a60b75 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x63bdc9a60b75 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x63bdc9807568 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x63bdc9756f0c in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x63bdc9a98907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x63bdc9a7ec3c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x63bdc9a7e6f4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x63bdc9a4627c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x63bdc9a4627c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x63bdc9a35497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x63bdc9ab5ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x63bdc9ab5ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x63bdc9a6921a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x63bdc9a6921a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x63bdc9a98907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x63bdc9a3d81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x63bdc9a3d81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x63bdc9a35497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x63bdc9ab5ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x63bdc9ab5ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x63bdc9a62885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x63bdc9a62885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x63bdc9a62885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x63bdc9a62885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x63bdc9c21e2d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x63bdc9a98907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x63bdc9a3d81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x63bdc9a3d81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x63bdc9a35497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x63bdc9ab5ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x63bdc9ab5ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x63bdc9a62885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x63bdc9a62885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x63bdc9a62885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x63bdc9a62885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x63bdc9c075a9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x63bdc9a98907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x63bdc9a3d81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x63bdc9a3d81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x63bdc9a35497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x63bdc9ab5ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x63bdc9ab5ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x63bdc9a62885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x63bdc9a62885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x63bdc9a62885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x63bdc9a62885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x63bdc9c075a9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x63bdc9a98907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x63bdc9a3d81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x63bdc9a3d81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x63bdc9a35497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x63bdc97b832b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x63bdc97b045f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x63bdc97b5a39 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x63bdc9a98907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x63bdc9a4627c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x63bdc9a4627c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x63bdc9a35497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x63bdc9ab5ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x63bdc9ab5ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x63bdc9a6921a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x63bdc9a6921a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x63bdc9a98907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x63bdc9a3d81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x63bdc9a3d81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x63bdc9a35850 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x63bdc9a35850 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x63bdc96bb49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x63bdc96bb49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x63bdc96b4a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x63bdc96b4a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7b3131e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7b3131e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x63bdc95d87e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x7b30fcd08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b30fcd08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b30fcd08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b30fcd08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b30fcd08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7b30fcd09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7b30fcd09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7b30fcd09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b30fcd09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b30fcd09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b30fcd09280: 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 |
| ==3196582==ABORTING |
| #0 0x5cec1919cdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x7096f64c383d in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5cec1922195e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x70971b89ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x70971b929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7096efd09041 is located in stack of thread T132 at offset 65 in frame |
| #0 0x7096f64c343f 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: |
| #0 0x5cec19209601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| #1 0x7096f64bc01f in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7096f64a211d in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:697:17 |
| #3 0x5cec1926c19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7096f64a127d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1289:20 |
| #5 0x7096f64a927d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5cec19659b4b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5cec19659b4b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5cec19659b4b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5cec1965e5b5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5cec1965e5b5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5cec1960db75 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5cec1960db75 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5cec193b4568 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5cec19303f0c in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5cec19645907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5cec1962bc3c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5cec1962b6f4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5cec195f327c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5cec195f327c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5cec195e2497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5cec19662ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5cec19662ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5cec1961621a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5cec1961621a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5cec19645907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5cec195ea81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5cec195ea81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5cec195e2497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5cec19662ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5cec19662ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5cec1960f885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5cec1960f885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5cec1960f885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5cec1960f885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5cec197cee2d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x5cec19645907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5cec195ea81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5cec195ea81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5cec195e2497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5cec19662ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5cec19662ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5cec1960f885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5cec1960f885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5cec1960f885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5cec1960f885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5cec197b45a9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5cec19645907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5cec195ea81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5cec195ea81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5cec195e2497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5cec19662ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5cec19662ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5cec1960f885 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5cec1960f885 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5cec1960f885 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5cec1960f885 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5cec197b45a9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5cec19645907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5cec195ea81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5cec195ea81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5cec195e2497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5cec1936532b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5cec1935d45f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5cec19362a39 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5cec19645907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5cec195f327c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5cec195f327c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5cec195e2497 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5cec19662ec1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5cec19662ec1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5cec1961621a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5cec1961621a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5cec19645907 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5cec195ea81a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5cec195ea81a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5cec195e2850 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5cec195e2850 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5cec1926849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5cec1926849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5cec19261a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5cec19261a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x70971b82a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x70971b82a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5cec191857e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 32f76955e643467b87daaec12b470a71a47db3d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x7096efd08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7096efd08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7096efd08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7096efd08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7096efd08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7096efd09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7096efd09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7096efd09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7096efd09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7096efd09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7096efd09280: 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 |
| ==3196578==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |