| "git clone --depth 1 https://github.com/ruby/ruby.git trunk_asan" exit with 0. |
| Cloning into 'trunk_asan'... |
| "./autogen.sh" exit with 0. |
| "autoconf" exit with 0. |
| "/tmp/ruby/src/trunk_asan/configure --prefix=/tmp/ruby/install/trunk_asan --disable-install-doc 'CC=clang-17' 'cflags=-fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0'" exit with 0. |
| "make update-download -j16" exit with 0. |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/typeprof'... |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/debug'... |
| From https://github.com/ruby/typeprof |
| * branch 167263ca3a634b61df0445f1a6b3e259a5d47f94 -> FETCH_HEAD |
| HEAD is now at 167263c Add typeprof.gemspec |
| "make update-src -j16" exit with 0. |
| "make after-update -j16" exit with 0. |
| + cp /tmp/ruby/src/trunk_asan/enc/jis/props.h.blt /tmp/ruby/src/trunk_asan/enc/jis/props.h |
| "make miniruby -j16" exit with 0. |
| "make ruby -j16" exit with 0. |
| "make all -j16" exit with 0. |
| libffi_version: 3.4.6 |
| "make install -j16" exit with 0. |
| "make yes-test-basic TESTS='-j16'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==3095494==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7b029cb09041 at pc 0x5c7f8d8d4ded bp 0x7b029f3ffcf0 sp 0x7b029f3ff4b8 |
| READ of size 2 at 0x7b029cb09041 thread T5 |
| #0 0x5c7f8d8d4dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7b02a83cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5c7f8d95995e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7b02c4e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7b02c4f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7b029cb09041 is located in stack of thread T5 at offset 65 in frame |
| #0 0x7b02a83cd4df 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 T5 created by T0 here: |
| #0 0x5c7f8d941601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7b02a83c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7b02a83ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5c7f8d9a419f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7b02a83ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7b02a83b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5c7f8dd91a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5c7f8dd91a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5c7f8dd91a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5c7f8dd964a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5c7f8dd964a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5c7f8dd45a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5c7f8dd45a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5c7f8daec458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5c7f8da3bdfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5c7f8dd7d7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5c7f8dd63b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5c7f8dd635e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5c7f8dd2b16c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5c7f8dd2b16c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5c7f8dd1a740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #21 0x5c7f8dd1a740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #22 0x5c7f8dd9adb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #23 0x5c7f8dd9adb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #24 0x5c7f8dd47775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #25 0x5c7f8dd47775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #26 0x5c7f8dd47775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #27 0x5c7f8dd47775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #28 0x5c7f8def8e25 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #29 0x5c7f8dd7d7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #30 0x5c7f8dd2270a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #31 0x5c7f8dd2270a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #32 0x5c7f8dd1a387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #33 0x5c7f8dd9adb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #34 0x5c7f8dd9adb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #35 0x5c7f8dd47775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #36 0x5c7f8dd47775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #37 0x5c7f8dd47775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #38 0x5c7f8dd47775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #39 0x5c7f8def8e25 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #40 0x5c7f8dd7d7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #41 0x5c7f8dd2270a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #42 0x5c7f8dd2270a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #43 0x5c7f8dd1a740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #44 0x5c7f8dd1a740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #45 0x5c7f8d9a049a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #46 0x5c7f8d9a049a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #47 0x5c7f8d999a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #48 0x5c7f8d999a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #49 0x7b02c4e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #50 0x7b02c4e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #51 0x5c7f8d8bd7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) in strlen |
| Shadow bytes around the buggy address: |
| 0x7b029cb08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b029cb08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b029cb08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b029cb08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b029cb08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7b029cb09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7b029cb09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7b029cb09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b029cb09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b029cb09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b029cb09280: 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 |
| ==3095494==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.17qqd2: |
| * drwx------ 4 80 2024-11-14 04:18:53 +0000 test_rubygems_20241114-3095494-gkpi09/ |
| * drwxr-xr-x 9 180 2024-11-14 04:18:53 +0000 gemhome/ |
| * drwxr-xr-x 2 40 2024-11-14 04:18:53 +0000 build_info/ |
| * drwxr-xr-x 2 40 2024-11-14 04:18:53 +0000 cache/ |
| * drwxr-xr-x 2 40 2024-11-14 04:18:53 +0000 doc/ |
| * drwxr-xr-x 2 40 2024-11-14 04:18:53 +0000 extensions/ |
| * drwxr-xr-x 2 40 2024-11-14 04:18:53 +0000 gems/ |
| * drwxr-xr-x 2 40 2024-11-14 04:18:53 +0000 plugins/ |
| * drwxr-xr-x 3 60 2024-11-14 04:18:53 +0000 specifications/ |
| * drwxr-xr-x 2 40 2024-11-14 04:18:53 +0000 default/ |
| * drwxr-xr-x 2 40 2024-11-14 04:18:53 +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. |
| ================================================================= |
| ==3096441==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7c860e509041 at pc 0x5cb19d7e6ded bp 0x7c8612dffcf0 sp 0x7c8612dff4b8 |
| READ of size 2 at 0x7c860e509041 thread T205 |
| ================================================================= |
| ==3096436==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7bc3cff09041 at pc 0x644aa7001ded bp 0x7bc3d1dffcf0 sp 0x7bc3d1dff4b8 |
| READ of size 2 at 0x7bc3cff09041 thread T294 |
| ================================================================= |
| ==3096439==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7cbe65709041 at pc 0x60bb1be2aded bp 0x7cbe675ffcf0 sp 0x7cbe675ff4b8 |
| READ of size 2 at 0x7cbe65709041 thread T97 |
| ================================================================= |
| ==3096444==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x78ef03909041 at pc 0x5fe59223bded bp 0x78ef04bffcf0 sp 0x78ef04bff4b8 |
| READ of size 2 at 0x78ef03909041 thread T11 |
| #0 0x5cb19d7e6dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7c86208c38dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5cb19d86b95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7c8641a9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7c8641b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7c860e509041 is located in stack of thread T205 at offset 65 in frame |
| #0 0x7c86208c34df 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 T205 created by T0 here: |
| #0 0x644aa7001dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7bc3e239d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x644aa708695e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7bc40149ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7bc401529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7bc3cff09041 is located in stack of thread T294 at offset 65 in frame |
| #0 0x7bc3e239d4df 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 T294 created by T0 here: |
| #0 0x5cb19d853601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7c86208bc0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7c86208a215c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5cb19d8b619f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7c86208a127d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7c86208a931d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5cb19dca3a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5cb19dca3a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5cb19dca3a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5cb19dca84a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5cb19dca84a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5cb19dc57a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5cb19dc57a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5cb19d9fe458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5cb19d94ddfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5cb19dc8f7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5cb19dc75b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5cb19dc755e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5cb19dc3d16c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5cb19dc3d16c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5cb19dc2c387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5cb19dcacdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5cb19dcacdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5cb19dc6010a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5cb19dc6010a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5cb19dc8f7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5cb19dc3470a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5cb19dc3470a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5cb19dc2c387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5cb19dcacdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5cb19dcacdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5cb19dc59775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5cb19dc59775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5cb19dc59775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5cb19dc59775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5cb19de1891d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x5cb19dc8f7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5cb19dc3470a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5cb19dc3470a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5cb19dc2c387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5cb19dcacdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5cb19dcacdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5cb19dc59775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5cb19dc59775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5cb19dc59775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5cb19dc59775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5cb19ddfe099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5cb19dc8f7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5cb19dc3470a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5cb19dc3470a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5cb19dc2c387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5cb19d9af21b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5cb19d9a734f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5cb19d9ac929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5cb19dc8f7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5cb19dc3d16c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5cb19dc3d16c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5cb19dc2c387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5cb19dcacdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5cb19dcacdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5cb19dc6010a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5cb19dc6010a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5cb19dc8f7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5cb19dc3470a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5cb19dc3470a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5cb19dc2c740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5cb19dc2c740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5cb19d8b249a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5cb19d8b249a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5cb19d8aba06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5cb19d8aba06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7c8641a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7c8641a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5cb19d7cf7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) in strlen |
| Shadow bytes around the buggy address: |
| 0x7c860e508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c860e508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c860e508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c860e508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c860e508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7c860e509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7c860e509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7c860e509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c860e509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c860e509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c860e509280: 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 |
| ==3096441==ABORTING |
| #0 0x644aa706e601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7bc3e23960bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7bc3e237c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x644aa70d119f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7bc3e237b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7bc3e238331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x644aa74bea3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x644aa74bea3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x644aa74bea3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x644aa74c34a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x644aa74c34a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x644aa7472a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x644aa7472a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x644aa7219458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x644aa7168dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x644aa74aa7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x644aa7490b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x644aa74905e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x644aa745816c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x644aa745816c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x644aa7447387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x644aa74c7db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x644aa74c7db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x644aa747b10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x644aa747b10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x644aa74aa7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x644aa744f70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x644aa744f70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x644aa7447387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x644aa74c7db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x644aa74c7db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x644aa7474775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x644aa7474775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x644aa7474775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x644aa7474775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x644aa763391d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x644aa74aa7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x644aa744f70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x644aa744f70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x644aa7447387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x644aa74c7db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x644aa74c7db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x644aa7474775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x644aa7474775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x644aa7474775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x644aa7474775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x644aa7619099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x644aa74aa7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x644aa744f70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x644aa744f70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x644aa7447387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x644aa71ca21b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x644aa71c234f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x644aa71c7929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x644aa74aa7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x644aa745816c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x644aa745816c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x644aa7447387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x644aa74c7db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x644aa74c7db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x644aa747b10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x644aa747b10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x644aa74aa7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x644aa744f70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x644aa744f70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x644aa7447740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x644aa7447740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x644aa70cd49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x644aa70cd49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x644aa70c6a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x644aa70c6a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7bc40142a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7bc40142a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x644aa6fea7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) in strlen |
| Shadow bytes around the buggy address: |
| 0x7bc3cff08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7bc3cff08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7bc3cff08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7bc3cff08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7bc3cff08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7bc3cff09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7bc3cff09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7bc3cff09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7bc3cff09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7bc3cff09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7bc3cff09280: 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 |
| ==3096436==ABORTING |
| #0 0x60bb1be2adec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7cbe798218dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x60bb1beaf95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7cbe9669ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7cbe96729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7cbe65709041 is located in stack of thread T97 at offset 65 in frame |
| #0 0x7cbe798214df 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 T97 created by T0 here: |
| #0 0x5fe59223bdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x78ef0bd1d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5fe5922c095e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x78ef2b09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x78ef2b129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x78ef03909041 is located in stack of thread T11 at offset 65 in frame |
| #0 0x78ef0bd1d4df 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 T11 created by T0 here: |
| #0 0x60bb1be97601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7cbe7981a0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7cbe7980015c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x60bb1befa19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7cbe797ff27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7cbe7980731d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x60bb1c2e7a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x60bb1c2e7a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x60bb1c2e7a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x60bb1c2ec4a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x60bb1c2ec4a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x60bb1c29ba65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x60bb1c29ba65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x60bb1c042458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x60bb1bf91dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x60bb1c2d37f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x60bb1c2b9b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x60bb1c2b95e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x60bb1c28116c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x60bb1c28116c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x60bb1c270387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x60bb1c2f0db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x60bb1c2f0db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x60bb1c2a410a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x60bb1c2a410a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x60bb1c2d37f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x60bb1c27870a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x60bb1c27870a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x60bb1c270387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x60bb1c2f0db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x60bb1c2f0db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x60bb1c29d775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x60bb1c29d775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x60bb1c29d775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x60bb1c29d775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x60bb1c45c91d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x60bb1c2d37f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x60bb1c27870a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x60bb1c27870a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x60bb1c270387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x60bb1c2f0db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x60bb1c2f0db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x60bb1c29d775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x60bb1c29d775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x60bb1c29d775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x60bb1c29d775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x60bb1c442099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x60bb1c2d37f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x60bb1c27870a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x60bb1c27870a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x60bb1c270387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x60bb1bff321b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x60bb1bfeb34f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x60bb1bff0929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x60bb1c2d37f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x60bb1c28116c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x60bb1c28116c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x60bb1c270387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x60bb1c2f0db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x60bb1c2f0db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x60bb1c2a410a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x60bb1c2a410a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x60bb1c2d37f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x60bb1c27870a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x60bb1c27870a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x60bb1c270740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x60bb1c270740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x60bb1bef649a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x60bb1bef649a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x60bb1beefa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x60bb1beefa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7cbe9662a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7cbe9662a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x60bb1be137e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) in strlen |
| Shadow bytes around the buggy address: |
| 0x7cbe65708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cbe65708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cbe65708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cbe65708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cbe65708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7cbe65709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7cbe65709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7cbe65709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cbe65709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cbe65709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cbe65709280: 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 |
| ==3096439==ABORTING |
| ================================================================= |
| ==3096431==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ad823109041 at pc 0x6225887f2ded bp 0x7ad824fffcf0 sp 0x7ad824fff4b8 |
| READ of size 2 at 0x7ad823109041 thread T33 |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/active_spec.rb |
| #0 0x5fe5922a8601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x78ef0bd160bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x78ef0bcfc15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5fe59230b19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x78ef0bcfb27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x78ef0bd0331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5fe5926f8a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5fe5926f8a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5fe5926f8a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5fe5926fd4a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5fe5926fd4a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5fe5926aca65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5fe5926aca65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5fe592453458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5fe5923a2dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5fe5926e47f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5fe5926cab2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5fe5926ca5e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5fe59269216c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5fe59269216c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5fe592681387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5fe592701db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5fe592701db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5fe5926b510a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5fe5926b510a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5fe5926e47f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5fe59268970a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5fe59268970a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5fe592681387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5fe592701db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5fe592701db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5fe5926ae775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5fe5926ae775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5fe5926ae775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5fe5926ae775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5fe59286d91d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x5fe5926e47f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5fe59268970a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5fe59268970a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5fe592681387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5fe592701db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5fe592701db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5fe5926ae775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5fe5926ae775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5fe5926ae775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5fe5926ae775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5fe592853099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5fe5926e47f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5fe59268970a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5fe59268970a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5fe592681387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5fe592701db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5fe592701db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5fe5926ae775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5fe5926ae775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5fe5926ae775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5fe5926ae775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5fe592853099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5fe5926e47f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5fe59268970a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5fe59268970a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5fe592681387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5fe59240421b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5fe5923fc34f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5fe592401929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5fe5926e47f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5fe59269216c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5fe59269216c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5fe592681387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5fe592701db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5fe592701db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5fe5926b510a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5fe5926b510a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5fe5926e47f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5fe59268970a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5fe59268970a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5fe592681740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5fe592681740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5fe59230749a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5fe59230749a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5fe592300a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5fe592300a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x78ef2b02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x78ef2b02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5fe5922247e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) in strlen |
| Shadow bytes around the buggy address: |
| 0x78ef03908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ef03908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ef03908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ef03908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ef03908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x78ef03909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x78ef03909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x78ef03909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ef03909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ef03909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ef03909280: 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 |
| ==3096444==ABORTING |
| #0 0x6225887f2dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7ad8371a78dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x62258887795e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7ad85889ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7ad858929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7ad823109041 is located in stack of thread T33 at offset 65 in frame |
| #0 0x7ad8371a74df 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 T33 created by T0 here: |
| #0 0x62258885f601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| #1 0x7ad8371a00bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7ad83718615c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6225888c219f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7ad83718527d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7ad83718d31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x622588cafa3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x622588cafa3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x622588cafa3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x622588cb44a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x622588cb44a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x622588c63a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x622588c63a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x622588a0a458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x622588959dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x622588c9b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x622588c81b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x622588c815e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x622588c4916c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x622588c4916c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x622588c38387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x622588cb8db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x622588cb8db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x622588c6c10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x622588c6c10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x622588c9b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x622588c4070a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x622588c4070a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x622588c38387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x622588cb8db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x622588cb8db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x622588c65775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x622588c65775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x622588c65775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x622588c65775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x622588e2491d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x622588c9b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x622588c4070a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x622588c4070a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x622588c38387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x622588cb8db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x622588cb8db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x622588c65775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x622588c65775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x622588c65775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x622588c65775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x622588e0a099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x622588c9b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x622588c4070a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x622588c4070a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x622588c38387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x622588cb8db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x622588cb8db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x622588c65775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x622588c65775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x622588c65775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x622588c65775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x622588e0a099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x622588c9b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x622588c4070a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x622588c4070a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x622588c38387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x6225889bb21b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x6225889b334f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x6225889b8929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x622588c9b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x622588c4916c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x622588c4916c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x622588c38387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x622588cb8db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x622588cb8db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x622588c6c10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x622588c6c10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x622588c9b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x622588c4070a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x622588c4070a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x622588c38740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x622588c38740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x6225888be49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x6225888be49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x6225888b7a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x6225888b7a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7ad85882a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7ad85882a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x6225887db7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 427c2bbb2c70540740f6d9c619d7930d05a3b8f4) in strlen |
| Shadow bytes around the buggy address: |
| 0x7ad823108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ad823108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ad823108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ad823108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ad823108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7ad823109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7ad823109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7ad823109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ad823109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ad823109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ad823109280: 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 |
| ==3096431==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |