| "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/debug'... |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/typeprof'... |
| 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. |
| ================================================================= |
| ==2668799==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x709fc2109041 at pc 0x58cc5fa4dded bp 0x709fc1dffcf0 sp 0x709fc1dff4b8 |
| READ of size 2 at 0x709fc2109041 thread T3660 |
| #0 0x58cc5fa4ddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x709feac6d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x58cc5fad295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x709fed89ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x709fed929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x709fc2109041 is located in stack of thread T3660 at offset 65 in frame |
| #0 0x709feac6d4df 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 T3660 created by T0 here: |
| #0 0x58cc5faba601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x709feac660bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x709feac4c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x58cc5fb1d19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x709feac4b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x709feac5331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x58cc5ff0af3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x58cc5ff0af3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x58cc5ff0af3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x58cc5ff0f9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x58cc5ff0f9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x58cc5febeca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x58cc5febeca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x58cc5fc651b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x58cc5fef6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #15 0x58cc5fea43ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #16 0x58cc5fea43ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #17 0x58cc5fe935c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #18 0x58cc5ff142b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #19 0x58cc5ff142b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #20 0x58cc5fec09b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #21 0x58cc5fec09b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #22 0x58cc5fec09b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #23 0x58cc5fec09b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #24 0x58cc60071ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #25 0x58cc5fef6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x58cc5fe9b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x58cc5fe9b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x58cc5fe935c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x58cc5ff142b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x58cc5ff142b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x58cc5fec09b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x58cc5fec09b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x58cc5fec09b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x58cc5fec09b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x58cc60071ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #36 0x58cc5fef6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x58cc5fe9b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x58cc5fe9b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x58cc5fe93980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #40 0x58cc5fe93980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #41 0x58cc5fb1949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #42 0x58cc5fb1949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #43 0x58cc5fb12a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #44 0x58cc5fb12a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #45 0x709fed82a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #46 0x709fed82a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #47 0x58cc5fa367e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x709fc2108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x709fc2108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x709fc2108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x709fc2108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x709fc2108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x709fc2109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x709fc2109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x709fc2109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x709fc2109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x709fc2109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x709fc2109280: 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 |
| ==2668799==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. |
| ================================================================= |
| ==2678195==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7c7bc6b09041 at pc 0x64827e409ded bp 0x7c7bc93ffcf0 sp 0x7c7bc93ff4b8 |
| READ of size 2 at 0x7c7bc6b09041 thread T66 |
| ================================================================= |
| ==2678204==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7034d4b09041 at pc 0x645dae982ded bp 0x7034d69ffcf0 sp 0x7034d69ff4b8 |
| READ of size 2 at 0x7034d4b09041 thread T72 |
| ================================================================= |
| ==2678202==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7d75e2109041 at pc 0x61043e567ded bp 0x7d75e3fffcf0 sp 0x7d75e3fff4b8 |
| READ of size 2 at 0x7d75e2109041 thread T80 |
| ================================================================= |
| ==2678191==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x78f149b09041 at pc 0x652345ee5ded bp 0x78f1507ffcf0 sp 0x78f1507ff4b8 |
| READ of size 2 at 0x78f149b09041 thread T75 |
| #0 0x64827e409dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7c7bd56748dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x64827e48e95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7c7bf4c9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7c7bf4d29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7c7bc6b09041 is located in stack of thread T66 at offset 65 in frame |
| #0 0x7c7bd56744df 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 T66 created by T0 here: |
| #0 0x645dae982dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7034ee4bd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x645daea0795e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x70350a69ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x70350a729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7034d4b09041 is located in stack of thread T72 at offset 65 in frame |
| #0 0x7034ee4bd4df 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 T72 created by T0 here: |
| #0 0x652345ee5dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x78f1562b78dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x652345f6a95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x78f17989ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x78f179929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x78f149b09041 is located in stack of thread T75 at offset 65 in frame |
| #0 0x78f1562b74df 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 T75 created by T0 here: |
| #0 0x64827e476601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7c7bd566d0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7c7bd565315c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x64827e4d919f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7c7bd565227d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7c7bd565a31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x64827e8c6f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x64827e8c6f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x64827e8c6f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x64827e8cb9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x64827e8cb9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x64827e87aca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x64827e87aca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x64827e6211b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x64827e570ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x64827e8b2cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x64827e898dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x64827e898864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x64827e8603ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x64827e8603ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x64827e84f5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x64827e8d02b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x64827e8d02b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x64827e88334a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x64827e88334a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x64827e8b2cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x64827e85794a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x64827e85794a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x64827e84f5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x64827e8d02b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x64827e8d02b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x64827e87c9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x64827e87c9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x64827e87c9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x64827e87c9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x64827ea3b7cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x64827e8b2cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x64827e85794a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x64827e85794a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x64827e84f5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x64827e8d02b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x64827e8d02b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x64827e87c9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x64827e87c9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x64827e87c9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x64827e87c9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x64827ea20f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x64827e8b2cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x64827e85794a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x64827e85794a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x64827e84f5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x64827e5d217b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x64827e5ca2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x64827e5cf889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x64827e8b2cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x64827e8603ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x64827e8603ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x64827e84f5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x64827e8d02b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x64827e8d02b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x64827e88334a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x64827e88334a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x64827e8b2cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x64827e85794a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x64827e85794a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x64827e84f980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x64827e84f980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x64827e4d549a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x64827e4d549a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x64827e4cea06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x64827e4cea06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7c7bf4c2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7c7bf4c2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x64827e3f27e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x7c7bc6b08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c7bc6b08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c7bc6b08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c7bc6b08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c7bc6b08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7c7bc6b09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7c7bc6b09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7c7bc6b09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c7bc6b09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c7bc6b09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c7bc6b09280: 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 |
| ==2678195==ABORTING |
| #0 0x61043e567dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7d75fe27a8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x61043e5ec95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7d761b89ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7d761b929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7d75e2109041 is located in stack of thread T80 at offset 65 in frame |
| #0 0x7d75fe27a4df 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 T80 created by T0 here: |
| #0 0x645dae9ef601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7034ee4b60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7034ee49c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x645daea5219f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7034ee49b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7034ee4a331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x645daee3ff3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x645daee3ff3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x645daee3ff3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x645daee449a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x645daee449a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x645daedf3ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x645daedf3ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x645daeb9a1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x645daeae9ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x645daee2bcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x645daee11dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x645daee11864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x645daedd93ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x645daedd93ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x645daedc85c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x645daee492b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x645daee492b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x645daedfc34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x645daedfc34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x645daee2bcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x645daedd094a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x645daedd094a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x645daedc85c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x645daee492b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x645daee492b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x645daedf59b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x645daedf59b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x645daedf59b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x645daedf59b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x645daefb47cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x645daee2bcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x645daedd094a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x645daedd094a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x645daedc85c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x645daee492b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x645daee492b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x645daedf59b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x645daedf59b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x645daedf59b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x645daedf59b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x645daef99f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x645daee2bcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x645daedd094a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x645daedd094a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x645daedc85c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x645daeb4b17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x645daeb432af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x645daeb48889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x645daee2bcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x645daedd93ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x645daedd93ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x645daedc85c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x645daee492b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x645daee492b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x645daedfc34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x645daedfc34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x645daee2bcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x645daedd094a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x645daedd094a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x645daedc8980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x645daedc8980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x645daea4e49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x645daea4e49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x645daea47a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x645daea47a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x70350a62a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x70350a62a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x645dae96b7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x7034d4b08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7034d4b08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7034d4b08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7034d4b08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7034d4b08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7034d4b09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7034d4b09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7034d4b09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7034d4b09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7034d4b09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7034d4b09280: 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 |
| ==2678204==ABORTING |
| ================================================================= |
| ==2678193==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7d9c8e709041 at pc 0x61dfac366ded bp 0x7d9c8f9ffcf0 sp 0x7d9c8f9ff4b8 |
| READ of size 2 at 0x7d9c8e709041 thread T188 |
| #0 0x652345f52601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x78f1562b00bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x78f15629615c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x652345fb519f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x78f15629527d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x78f15629d31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6523463a2f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6523463a2f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6523463a2f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6523463a79a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6523463a79a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x652346356ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x652346356ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6523460fd1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x65234604cddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x65234638ecb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x652346374dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x652346374864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x65234633c3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x65234633c3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x65234632b5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6523463ac2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6523463ac2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x65234635f34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x65234635f34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x65234638ecb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x65234633394a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x65234633394a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x65234632b5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6523463ac2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6523463ac2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x6523463589b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x6523463589b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x6523463589b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x6523463589b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x6523465177cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x65234638ecb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x65234633394a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x65234633394a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x65234632b5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6523463ac2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6523463ac2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x6523463589b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x6523463589b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x6523463589b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x6523463589b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x6523464fcf69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x65234638ecb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x65234633394a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x65234633394a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x65234632b5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x6523463ac2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x6523463ac2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x6523463589b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x6523463589b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x6523463589b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x6523463589b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x6523464fcf69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x65234638ecb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x65234633394a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x65234633394a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x65234632b5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x6523460ae17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x6523460a62af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x6523460ab889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x65234638ecb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x65234633c3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x65234633c3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x65234632b5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x6523463ac2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x6523463ac2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x65234635f34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x65234635f34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x65234638ecb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x65234633394a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x65234633394a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x65234632b980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x65234632b980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x652345fb149a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x652345fb149a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x652345faaa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x652345faaa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x78f17982a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x78f17982a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x652345ece7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x78f149b08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78f149b08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78f149b08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78f149b08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78f149b08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x78f149b09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x78f149b09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x78f149b09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78f149b09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78f149b09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78f149b09280: 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 |
| ==2678191==ABORTING |
| #0 0x61043e5d4601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7d75fe2730bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7d75fe25915c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x61043e63719f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7d75fe25827d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7d75fe26031d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x61043ea24f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x61043ea24f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x61043ea24f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x61043ea299a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x61043ea299a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x61043e9d8ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x61043e9d8ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x61043e77f1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x61043e6ceddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x61043ea10cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x61043e9f6dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x61043e9f6864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x61043e9be3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x61043e9be3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x61043e9ad5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x61043ea2e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x61043ea2e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x61043e9e134a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x61043e9e134a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x61043ea10cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x61043e9b594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x61043e9b594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x61043e9ad5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x61043ea2e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x61043ea2e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x61043e9da9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x61043e9da9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x61043e9da9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x61043e9da9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x61043eb997cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x61043ea10cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x61043e9b594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x61043e9b594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x61043e9ad5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x61043ea2e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x61043ea2e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x61043e9da9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x61043e9da9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x61043e9da9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x61043e9da9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x61043eb7ef69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x61043ea10cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x61043e9b594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x61043e9b594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x61043e9ad5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x61043e73017b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x61043e7282af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x61043e72d889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x61043ea10cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x61043e9be3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x61043e9be3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x61043e9ad5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x61043ea2e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x61043ea2e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x61043e9e134a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x61043e9e134a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x61043ea10cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x61043e9b594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x61043e9b594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x61043e9ad980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x61043e9ad980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x61043e63349a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x61043e63349a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x61043e62ca06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x61043e62ca06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7d761b82a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7d761b82a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x61043e5507e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x7d75e2108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d75e2108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d75e2108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d75e2108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d75e2108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7d75e2109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7d75e2109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7d75e2109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d75e2109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d75e2109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d75e2109280: 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 |
| ==2678202==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 0x61dfac366dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7d9ca36b98dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x61dfac3eb95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7d9cc029ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7d9cc0329c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7d9c8e709041 is located in stack of thread T188 at offset 65 in frame |
| #0 0x7d9ca36b94df 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 T188 created by T0 here: |
| #0 0x61dfac3d3601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7d9ca36b20bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7d9ca369815c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x61dfac43619f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7d9ca369727d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7d9ca369f31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x61dfac823f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x61dfac823f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x61dfac823f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x61dfac8289a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x61dfac8289a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x61dfac7d7ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x61dfac7d7ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x61dfac57e1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x61dfac4cdddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x61dfac80fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x61dfac7f5dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x61dfac7f5864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x61dfac7bd3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x61dfac7bd3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x61dfac7ac5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x61dfac82d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x61dfac82d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x61dfac7e034a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x61dfac7e034a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x61dfac80fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x61dfac7b494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x61dfac7b494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x61dfac7ac5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x61dfac82d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x61dfac82d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x61dfac7d99b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x61dfac7d99b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x61dfac7d99b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x61dfac7d99b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x61dfac9987cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x61dfac80fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x61dfac7b494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x61dfac7b494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x61dfac7ac5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x61dfac82d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x61dfac82d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x61dfac7d99b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x61dfac7d99b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x61dfac7d99b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x61dfac7d99b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x61dfac97df69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x61dfac80fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x61dfac7b494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x61dfac7b494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x61dfac7ac5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x61dfac82d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x61dfac82d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x61dfac7d99b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x61dfac7d99b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x61dfac7d99b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x61dfac7d99b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x61dfac97df69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x61dfac80fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x61dfac7b494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x61dfac7b494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x61dfac7ac5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x61dfac52f17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x61dfac5272af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x61dfac52c889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x61dfac80fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x61dfac7bd3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x61dfac7bd3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x61dfac7ac5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x61dfac82d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x61dfac82d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x61dfac7e034a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x61dfac7e034a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x61dfac80fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x61dfac7b494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x61dfac7b494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x61dfac7ac980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x61dfac7ac980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x61dfac43249a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x61dfac43249a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x61dfac42ba06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x61dfac42ba06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7d9cc022a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7d9cc022a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x61dfac34f7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x7d9c8e708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d9c8e708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d9c8e708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d9c8e708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d9c8e708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7d9c8e709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7d9c8e709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7d9c8e709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d9c8e709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d9c8e709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d9c8e709280: 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 |
| ==2678193==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |