| "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. |
| ================================================================= |
| ==2651600==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x701c24909041 at pc 0x5f74528aaded bp 0x701c265ffcf0 sp 0x701c265ff4b8 |
| READ of size 2 at 0x701c24909041 thread T9 |
| #0 0x5f74528aadec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x701c2abcd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5f745292f95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x701c4ce9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x701c4cf29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x701c24909041 is located in stack of thread T9 at offset 65 in frame |
| #0 0x701c2abcd4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T9 created by T0 here: |
| #0 0x5f7452917601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x701c2abc60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x701c2abac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5f745297a19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x701c2abab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x701c2abb331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5f7452d67f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5f7452d67f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5f7452d67f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5f7452d6c9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5f7452d6c9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5f7452d1bca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5f7452d1bca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5f7452ac21b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5f7452a11ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5f7452d53cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5f7452d39dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5f7452d39864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5f7452d013ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5f7452d013ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5f7452cf0980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #21 0x5f7452cf0980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #22 0x5f7452d712b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #23 0x5f7452d712b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #24 0x5f7452d1d9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #25 0x5f7452d1d9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #26 0x5f7452d1d9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #27 0x5f7452d1d9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #28 0x5f7452ecece5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #29 0x5f7452d53cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #30 0x5f7452cf894a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #31 0x5f7452cf894a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #32 0x5f7452cf05c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #33 0x5f7452d712b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #34 0x5f7452d712b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #35 0x5f7452d1d9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #36 0x5f7452d1d9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #37 0x5f7452d1d9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #38 0x5f7452d1d9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #39 0x5f7452ecece5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #40 0x5f7452d53cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #41 0x5f7452cf894a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #42 0x5f7452cf894a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #43 0x5f7452cf0980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #44 0x5f7452cf0980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #45 0x5f745297649a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #46 0x5f745297649a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #47 0x5f745296fa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #48 0x5f745296fa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #49 0x701c4ce2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #50 0x701c4ce2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #51 0x5f74528937e4 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: |
| 0x701c24908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x701c24908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x701c24908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x701c24908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x701c24908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x701c24909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x701c24909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x701c24909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x701c24909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x701c24909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x701c24909280: 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 |
| ==2651600==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/rubygems/test_bundled_ca.rb |
| A test worker crashed. It might be an interpreter bug or |
| a bug in test/unit/parallel.rb. Try again without the -j |
| option. |
| Children under /tmp/rubytest.ucf0yf: |
| * drwx------ 4 80 2024-11-12 01:38:02 +0000 test_rubygems_20241112-2651600-mntwua/ |
| * drwxr-xr-x 9 180 2024-11-12 01:38:02 +0000 gemhome/ |
| * drwxr-xr-x 2 40 2024-11-12 01:38:02 +0000 build_info/ |
| * drwxr-xr-x 2 40 2024-11-12 01:38:02 +0000 cache/ |
| * drwxr-xr-x 2 40 2024-11-12 01:38:02 +0000 doc/ |
| * drwxr-xr-x 2 40 2024-11-12 01:38:02 +0000 extensions/ |
| * drwxr-xr-x 2 40 2024-11-12 01:38:02 +0000 gems/ |
| * drwxr-xr-x 2 40 2024-11-12 01:38:02 +0000 plugins/ |
| * drwxr-xr-x 3 60 2024-11-12 01:38:02 +0000 specifications/ |
| * drwxr-xr-x 2 40 2024-11-12 01:38:02 +0000 default/ |
| * drwxr-xr-x 2 40 2024-11-12 01:38:02 +0000 userhome/ |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==2652728==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x71a4beb09041 at pc 0x602aa1d91ded bp 0x71a4bfdffcf0 sp 0x71a4bfdff4b8 |
| READ of size 2 at 0x71a4beb09041 thread T32 |
| ================================================================= |
| ==2652727==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x78d6b8b09041 at pc 0x5fa73e9c3ded bp 0x78d6be5ffcf0 sp 0x78d6be5ff4b8 |
| READ of size 2 at 0x78d6b8b09041 thread T142 |
| ================================================================= |
| ==2652723==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x799311b09041 at pc 0x60547a440ded bp 0x7993139ffcf0 sp 0x7993139ff4b8 |
| READ of size 2 at 0x799311b09041 thread T40 |
| ================================================================= |
| ==2652721==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7c9d9c709041 at pc 0x5c1c4a2dfded bp 0x7c9d9f9ffcf0 sp 0x7c9d9f9ff4b8 |
| READ of size 2 at 0x7c9d9c709041 thread T50 |
| #0 0x602aa1d91dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x71a4ca4cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x602aa1e1695e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x71a4e669ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x71a4e6729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x71a4beb09041 is located in stack of thread T32 at offset 65 in frame |
| #0 0x71a4ca4cb4df 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 T32 created by T0 here: |
| #0 0x5c1c4a2dfdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7c9da85cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5c1c4a36495e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7c9dce09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7c9dce129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7c9d9c709041 is located in stack of thread T50 at offset 65 in frame |
| #0 0x7c9da85cd4df 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 T50 created by T0 here: |
| #0 0x5fa73e9c3dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x78d6d220d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5fa73ea4895e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x78d6ef49ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x78d6ef529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x78d6b8b09041 is located in stack of thread T142 at offset 65 in frame |
| #0 0x78d6d220d4df 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 T142 created by T0 here: |
| #0 0x60547a440dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x79932638d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x60547a4c595e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x79934809ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x799348129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x799311b09041 is located in stack of thread T40 at offset 65 in frame |
| #0 0x79932638d4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T40 created by T0 here: |
| #0 0x602aa1dfe601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x71a4ca4c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x71a4ca4aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x602aa1e6119f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x71a4ca4a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x71a4ca4b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x602aa224ef3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x602aa224ef3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x602aa224ef3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x602aa22539a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x602aa22539a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x602aa2202ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x602aa2202ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x602aa1fa91b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x602aa1ef8ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x602aa223acb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x602aa2220dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x602aa2220864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x602aa21e83ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x602aa21e83ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x602aa21d75c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x602aa22582b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x602aa22582b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x602aa220b34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x602aa220b34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x602aa223acb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x602aa21df94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x602aa21df94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x602aa21d75c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x602aa22582b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x602aa22582b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x602aa22049b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x602aa22049b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x602aa22049b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x602aa22049b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x602aa23c37cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x602aa223acb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x602aa21df94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x602aa21df94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x602aa21d75c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x602aa22582b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x602aa22582b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x602aa22049b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x602aa22049b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x602aa22049b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x602aa22049b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x602aa23a8f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x602aa223acb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x602aa21df94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x602aa21df94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x602aa21d75c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x602aa1f5a17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x602aa1f522af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x602aa1f57889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x602aa223acb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x602aa21e83ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x602aa21e83ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x602aa21d75c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x602aa22582b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x602aa22582b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x602aa220b34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x602aa220b34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x602aa223acb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x602aa21df94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x602aa21df94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x602aa21d7980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x602aa21d7980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x602aa1e5d49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x602aa1e5d49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x602aa1e56a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x602aa1e56a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x71a4e662a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x71a4e662a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x602aa1d7a7e4 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: |
| 0x71a4beb08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71a4beb08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71a4beb08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71a4beb08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71a4beb08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x71a4beb09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x71a4beb09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x71a4beb09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71a4beb09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71a4beb09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71a4beb09280: 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 |
| ==2652728==ABORTING |
| ================================================================= |
| ==2652719==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7686c8709041 at pc 0x5d2710bbcded bp 0x7686cc7ffcf0 sp 0x7686cc7ff4b8 |
| READ of size 2 at 0x7686c8709041 thread T68 |
| #0 0x5c1c4a34c601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7c9da85c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7c9da85ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5c1c4a3af19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7c9da85ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7c9da85b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5c1c4a79cf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5c1c4a79cf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5c1c4a79cf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5c1c4a7a19a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5c1c4a7a19a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5c1c4a750ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5c1c4a750ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5c1c4a4f71b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5c1c4a446ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5c1c4a788cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5c1c4a76edac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5c1c4a76e864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5c1c4a7363ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5c1c4a7363ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5c1c4a7255c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5c1c4a7a62b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5c1c4a7a62b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5c1c4a75934a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5c1c4a75934a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5c1c4a788cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5c1c4a72d94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5c1c4a72d94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5c1c4a7255c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5c1c4a7a62b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5c1c4a7a62b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5c1c4a7529b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5c1c4a7529b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5c1c4a7529b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5c1c4a7529b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5c1c4a9117cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5c1c4a788cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5c1c4a72d94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5c1c4a72d94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5c1c4a7255c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5c1c4a7a62b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5c1c4a7a62b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5c1c4a7529b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5c1c4a7529b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5c1c4a7529b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5c1c4a7529b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5c1c4a8f6f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5c1c4a788cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5c1c4a72d94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5c1c4a72d94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5c1c4a7255c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5c1c4a7a62b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5c1c4a7a62b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5c1c4a7529b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5c1c4a7529b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5c1c4a7529b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5c1c4a7529b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5c1c4a8f6f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5c1c4a788cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5c1c4a72d94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5c1c4a72d94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5c1c4a7255c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5c1c4a4a817b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5c1c4a4a02af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5c1c4a4a5889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5c1c4a788cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5c1c4a7363ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5c1c4a7363ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5c1c4a7255c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5c1c4a7a62b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5c1c4a7a62b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5c1c4a75934a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5c1c4a75934a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5c1c4a788cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5c1c4a72d94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5c1c4a72d94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5c1c4a725980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5c1c4a725980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5c1c4a3ab49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5c1c4a3ab49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5c1c4a3a4a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5c1c4a3a4a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7c9dce02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7c9dce02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5c1c4a2c87e4 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: |
| 0x7c9d9c708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c9d9c708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c9d9c708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c9d9c708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c9d9c708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7c9d9c709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7c9d9c709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7c9d9c709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c9d9c709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c9d9c709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c9d9c709280: 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 |
| ==2652721==ABORTING |
| #0 0x5fa73ea30601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x78d6d22060bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x78d6d21ec15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5fa73ea9319f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x78d6d21eb27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x78d6d21f331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5fa73ee80f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5fa73ee80f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5fa73ee80f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5fa73ee859a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5fa73ee859a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5fa73ee34ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5fa73ee34ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5fa73ebdb1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5fa73eb2addc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5fa73ee6ccb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5fa73ee52dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5fa73ee52864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5fa73ee1a3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5fa73ee1a3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5fa73ee095c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5fa73ee8a2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5fa73ee8a2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5fa73ee3d34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5fa73ee3d34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5fa73ee6ccb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5fa73ee1194a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5fa73ee1194a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5fa73ee095c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5fa73ee8a2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5fa73ee8a2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5fa73ee369b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5fa73ee369b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5fa73ee369b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5fa73ee369b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5fa73eff57cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5fa73ee6ccb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5fa73ee1194a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5fa73ee1194a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5fa73ee095c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5fa73ee8a2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5fa73ee8a2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5fa73ee369b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5fa73ee369b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5fa73ee369b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5fa73ee369b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5fa73efdaf69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5fa73ee6ccb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5fa73ee1194a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5fa73ee1194a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5fa73ee095c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5fa73eb8c17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5fa73eb842af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5fa73eb89889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5fa73ee6ccb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5fa73ee1a3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5fa73ee1a3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5fa73ee095c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5fa73ee8a2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5fa73ee8a2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5fa73ee3d34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5fa73ee3d34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5fa73ee6ccb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5fa73ee1194a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5fa73ee1194a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5fa73ee09980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5fa73ee09980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5fa73ea8f49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5fa73ea8f49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5fa73ea88a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5fa73ea88a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x78d6ef42a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x78d6ef42a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5fa73e9ac7e4 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: |
| 0x78d6b8b08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d6b8b08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d6b8b08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d6b8b08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d6b8b08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x78d6b8b09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x78d6b8b09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x78d6b8b09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d6b8b09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d6b8b09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78d6b8b09280: 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 |
| ==2652727==ABORTING |
| #0 0x60547a4ad601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7993263860bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x79932636c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x60547a51019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x79932636b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x79932637331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x60547a8fdf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x60547a8fdf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x60547a8fdf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x60547a9029a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x60547a9029a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x60547a8b1ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x60547a8b1ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x60547a6581b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x60547a5a7ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x60547a8e9cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x60547a8cfdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x60547a8cf864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x60547a8973ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x60547a8973ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x60547a8865c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x60547a9072b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x60547a9072b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x60547a8ba34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x60547a8ba34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x60547a8e9cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x60547a88e94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x60547a88e94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x60547a8865c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x60547a9072b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x60547a9072b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x60547a8b39b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x60547a8b39b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x60547a8b39b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x60547a8b39b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x60547aa727cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x60547a8e9cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x60547a88e94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x60547a88e94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x60547a8865c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x60547a9072b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x60547a9072b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x60547a8b39b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x60547a8b39b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x60547a8b39b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x60547a8b39b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x60547aa57f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x60547a8e9cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x60547a88e94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x60547a88e94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x60547a8865c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x60547a60917b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x60547a6012af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x60547a606889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x60547a8e9cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x60547a8973ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x60547a8973ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x60547a8865c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x60547a9072b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x60547a9072b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x60547a8ba34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x60547a8ba34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x60547a8e9cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x60547a88e94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x60547a88e94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x60547a886980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x60547a886980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x60547a50c49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x60547a50c49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x60547a505a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x60547a505a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x79934802a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x79934802a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x60547a4297e4 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: |
| 0x799311b08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x799311b08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x799311b08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x799311b08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x799311b08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x799311b09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x799311b09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x799311b09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x799311b09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x799311b09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x799311b09280: 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 |
| ==2652723==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 0x5d2710bbcdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7686d1ccb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5d2710c4195e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7686f2a9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7686f2b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7686c8709041 is located in stack of thread T68 at offset 65 in frame |
| #0 0x7686d1ccb4df 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 T68 created by T0 here: |
| #0 0x5d2710c29601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7686d1cc40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7686d1caa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5d2710c8c19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7686d1ca927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7686d1cb131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5d2711079f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5d2711079f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5d2711079f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5d271107e9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5d271107e9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5d271102dca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5d271102dca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5d2710dd41b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5d2710d23ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5d2711065cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5d271104bdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5d271104b864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5d27110133ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5d27110133ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5d27110025c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5d27110832b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5d27110832b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5d271103634a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5d271103634a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5d2711065cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5d271100a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5d271100a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5d27110025c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5d27110832b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5d27110832b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5d271102f9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5d271102f9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5d271102f9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5d271102f9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5d27111ee7cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5d2711065cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5d271100a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5d271100a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5d27110025c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5d27110832b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5d27110832b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5d271102f9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5d271102f9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5d271102f9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5d271102f9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5d27111d3f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5d2711065cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5d271100a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5d271100a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5d27110025c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5d27110832b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5d27110832b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5d271102f9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5d271102f9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5d271102f9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5d271102f9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5d27111d3f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5d2711065cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5d271100a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5d271100a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5d27110025c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5d2710d8517b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5d2710d7d2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5d2710d82889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5d2711065cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5d27110133ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5d27110133ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5d27110025c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5d27110832b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5d27110832b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5d271103634a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5d271103634a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5d2711065cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5d271100a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5d271100a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5d2711002980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5d2711002980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5d2710c8849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5d2710c8849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5d2710c81a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5d2710c81a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7686f2a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7686f2a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5d2710ba57e4 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: |
| 0x7686c8708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7686c8708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7686c8708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7686c8708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7686c8708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7686c8709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7686c8709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7686c8709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7686c8709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7686c8709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7686c8709280: 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 |
| ==2652719==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |