| "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. |
| ================================================================= |
| ==2982747==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x787c44709041 at pc 0x6524da4e6ded bp 0x787c465ffcf0 sp 0x787c465ff4b8 |
| READ of size 2 at 0x787c44709041 thread T15 |
| #0 0x6524da4e6dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x787c51fcd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6524da56b95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x787c6ea9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x787c6eb29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x787c44709041 is located in stack of thread T15 at offset 65 in frame |
| #0 0x787c51fcd4df 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 T15 created by T0 here: |
| #0 0x6524da553601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x787c51fc60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x787c51fac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6524da5b619f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x787c51fab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x787c51fb331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6524da9a36bb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6524da9a36bb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6524da9a36bb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6524da9a8125 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6524da9a8125 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x6524da9576e5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x6524da9576e5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6524da6fe1f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x6524da64ddfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6524da98f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6524da9757ac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6524da975264 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6524da93cdec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6524da93cdec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6524da92c3c0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #21 0x6524da92c3c0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #22 0x6524da9aca31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #23 0x6524da9aca31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #24 0x6524da9593f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #25 0x6524da9593f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #26 0x6524da9593f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #27 0x6524da9593f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #28 0x6524dab0a485 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #29 0x6524da98f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #30 0x6524da93438a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #31 0x6524da93438a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #32 0x6524da92c007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #33 0x6524da9aca31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #34 0x6524da9aca31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #35 0x6524da9593f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #36 0x6524da9593f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #37 0x6524da9593f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #38 0x6524da9593f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #39 0x6524dab0a485 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #40 0x6524da98f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #41 0x6524da93438a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #42 0x6524da93438a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #43 0x6524da92c3c0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #44 0x6524da92c3c0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #45 0x6524da5b249a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #46 0x6524da5b249a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #47 0x6524da5aba06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #48 0x6524da5aba06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #49 0x787c6ea2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #50 0x787c6ea2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #51 0x6524da4cf7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) in strlen |
| Shadow bytes around the buggy address: |
| 0x787c44708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x787c44708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x787c44708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x787c44708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x787c44708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x787c44709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x787c44709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x787c44709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x787c44709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x787c44709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x787c44709280: 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 |
| ==2982747==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/rubygems/test_gem_remote_fetcher_local_ssl_server.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.yqqqr9: |
| * drwx------ 4 100 2024-11-13 15:29:57 +0000 test_rubygems_20241113-2982747-w3zush/ |
| * drwxr-xr-x 9 180 2024-11-13 15:29:57 +0000 gemhome/ |
| * drwxr-xr-x 2 40 2024-11-13 15:29:57 +0000 build_info/ |
| * drwxr-xr-x 2 40 2024-11-13 15:29:57 +0000 cache/ |
| * drwxr-xr-x 2 40 2024-11-13 15:29:57 +0000 doc/ |
| * drwxr-xr-x 2 40 2024-11-13 15:29:57 +0000 extensions/ |
| * drwxr-xr-x 2 40 2024-11-13 15:29:57 +0000 gems/ |
| * drwxr-xr-x 2 40 2024-11-13 15:29:57 +0000 plugins/ |
| * drwxr-xr-x 3 60 2024-11-13 15:29:57 +0000 specifications/ |
| * drwxr-xr-x 2 40 2024-11-13 15:29:57 +0000 default/ |
| * drwxr-xr-x 2 40 2024-11-13 15:29:57 +0000 userhome/ |
| * -rw-r--r-- 1 65 2024-11-13 15:29:57 +0000 .gemrc |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==2984821==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7e53d1f09041 at pc 0x6071ed42eded bp 0x7e53d49ffcf0 sp 0x7e53d49ff4b8 |
| READ of size 2 at 0x7e53d1f09041 thread T164 |
| ================================================================= |
| ==2984822==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x72b970509041 at pc 0x60363f1cdded bp 0x72b9757ffcf0 sp 0x72b9757ff4b8 |
| READ of size 2 at 0x72b970509041 thread T131 |
| ================================================================= |
| ================================================================= |
| ==2984812==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x76aee2f09041 at pc 0x5aa061e4cded bp 0x76aee41ffcf0 sp 0x76aee41ff4b8 |
| ==2984815==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x792ed8d09041 at pc 0x6447cf8d6ded bp 0x792edb5ffcf0 sp 0x792edb5ff4b8 |
| READ of size 2 at 0x76aee2f09041 thread T57 |
| READ of size 2 at 0x792ed8d09041 thread T47 |
| #0 0x6071ed42edec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x7e53e249d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6071ed4b395e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7e53ffc9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7e53ffd29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7e53d1f09041 is located in stack of thread T164 at offset 65 in frame |
| #0 0x7e53e249d4df 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 T164 created by T0 here: |
| #0 0x6447cf8d6dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x792ef08cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6447cf95b95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x792f0e09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x792f0e129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x792ed8d09041 is located in stack of thread T47 at offset 65 in frame |
| #0 0x792ef08cb4df 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 T47 created by T0 here: |
| ================================================================= |
| ==2984817==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x758254909041 at pc 0x600430d9dded bp 0x758255bffcf0 sp 0x758255bff4b8 |
| READ of size 2 at 0x758254909041 thread T241 |
| #0 0x5aa061e4cdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x76aeec1998dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5aa061ed195e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x76af0de9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x76af0df29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x76aee2f09041 is located in stack of thread T57 at offset 65 in frame |
| #0 0x76aeec1994df 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 T57 created by T0 here: |
| #0 0x60363f1cddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x72b9847d98dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x60363f25295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x72b9a569ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x72b9a5729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x72b970509041 is located in stack of thread T131 at offset 65 in frame |
| #0 0x72b9847d94df 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 T131 created by T0 here: |
| #0 0x6071ed49b601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x7e53e24960bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7e53e247c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6071ed4fe19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7e53e247b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7e53e248331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6071ed8eb6bb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6071ed8eb6bb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6071ed8eb6bb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6071ed8f0125 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6071ed8f0125 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x6071ed89f6e5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x6071ed89f6e5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6071ed6461f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x6071ed595dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6071ed8d7477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6071ed8bd7ac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6071ed8bd264 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6071ed884dec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6071ed884dec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6071ed874007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6071ed8f4a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6071ed8f4a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x6071ed8a7d8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x6071ed8a7d8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x6071ed8d7477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x6071ed87c38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x6071ed87c38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x6071ed874007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6071ed8f4a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6071ed8f4a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x6071ed8a13f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x6071ed8a13f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x6071ed8a13f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x6071ed8a13f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x6071eda5ff7d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x6071ed8d7477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x6071ed87c38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x6071ed87c38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x6071ed874007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6071ed8f4a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6071ed8f4a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x6071ed8a13f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x6071ed8a13f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x6071ed8a13f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x6071ed8a13f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x6071eda456f9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x6071ed8d7477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x6071ed87c38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x6071ed87c38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x6071ed874007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x6071ed5f71bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x6071ed5ef2ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x6071ed5f48c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x6071ed8d7477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x6071ed884dec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x6071ed884dec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x6071ed874007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x6071ed8f4a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x6071ed8f4a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x6071ed8a7d8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x6071ed8a7d8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x6071ed8d7477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x6071ed87c38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x6071ed87c38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x6071ed8743c0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x6071ed8743c0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x6071ed4fa49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x6071ed4fa49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x6071ed4f3a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x6071ed4f3a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7e53ffc2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7e53ffc2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x6071ed4177e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) in strlen |
| Shadow bytes around the buggy address: |
| 0x7e53d1f08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e53d1f08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e53d1f08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e53d1f08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e53d1f08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7e53d1f09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7e53d1f09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7e53d1f09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e53d1f09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e53d1f09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e53d1f09280: 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 |
| ==2984821==ABORTING |
| #0 0x6447cf943601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x792ef08c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x792ef08aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6447cf9a619f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x792ef08a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x792ef08b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6447cfd936bb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6447cfd936bb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6447cfd936bb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6447cfd98125 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6447cfd98125 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x6447cfd476e5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x6447cfd476e5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6447cfaee1f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x6447cfa3ddfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6447cfd7f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6447cfd657ac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6447cfd65264 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6447cfd2cdec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6447cfd2cdec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6447cfd1c007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6447cfd9ca31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6447cfd9ca31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x6447cfd4fd8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x6447cfd4fd8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x6447cfd7f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x6447cfd2438a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x6447cfd2438a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x6447cfd1c007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6447cfd9ca31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6447cfd9ca31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x6447cfd493f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x6447cfd493f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x6447cfd493f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x6447cfd493f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x6447cff07f7d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x6447cfd7f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x6447cfd2438a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x6447cfd2438a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x6447cfd1c007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6447cfd9ca31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6447cfd9ca31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x6447cfd493f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x6447cfd493f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x6447cfd493f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x6447cfd493f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x6447cfeed6f9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x6447cfd7f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x6447cfd2438a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x6447cfd2438a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x6447cfd1c007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x6447cfd9ca31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x6447cfd9ca31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x6447cfd493f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x6447cfd493f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x6447cfd493f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x6447cfd493f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x6447cfeed6f9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x6447cfd7f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x6447cfd2438a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x6447cfd2438a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x6447cfd1c007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x6447cfa9f1bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x6447cfa972ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x6447cfa9c8c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x6447cfd7f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x6447cfd2cdec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x6447cfd2cdec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x6447cfd1c007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x6447cfd9ca31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x6447cfd9ca31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x6447cfd4fd8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x6447cfd4fd8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x6447cfd7f477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x6447cfd2438a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x6447cfd2438a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x6447cfd1c3c0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x6447cfd1c3c0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x6447cf9a249a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x6447cf9a249a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x6447cf99ba06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x6447cf99ba06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x792f0e02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x792f0e02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x6447cf8bf7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) in strlen |
| Shadow bytes around the buggy address: |
| 0x792ed8d08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x792ed8d08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x792ed8d08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x792ed8d08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x792ed8d08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x792ed8d09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x792ed8d09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x792ed8d09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x792ed8d09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x792ed8d09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x792ed8d09280: 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 |
| ==2984815==ABORTING |
| #0 0x60363f23a601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x72b9847d20bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x72b9847b815c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x60363f29d19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x72b9847b727d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x72b9847bf31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x60363f68a6bb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x60363f68a6bb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x60363f68a6bb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x60363f68f125 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x60363f68f125 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x60363f63e6e5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x60363f63e6e5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x60363f3e51f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x60363f334dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x60363f676477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x60363f65c7ac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x60363f65c264 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x60363f623dec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x60363f623dec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x60363f613007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x60363f693a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x60363f693a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x60363f646d8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x60363f646d8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x60363f676477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x60363f61b38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x60363f61b38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x60363f613007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x60363f693a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x60363f693a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x60363f6403f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x60363f6403f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x60363f6403f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x60363f6403f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x60363f7fef7d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x60363f676477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x60363f61b38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x60363f61b38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x60363f613007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x60363f693a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x60363f693a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x60363f6403f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x60363f6403f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x60363f6403f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x60363f6403f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x60363f7e46f9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x60363f676477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x60363f61b38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x60363f61b38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x60363f613007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x60363f3961bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x60363f38e2ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x60363f3938c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x60363f676477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x60363f623dec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x60363f623dec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x60363f613007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x60363f693a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x60363f693a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x60363f646d8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x60363f646d8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x60363f676477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x60363f61b38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x60363f61b38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x60363f6133c0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x60363f6133c0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x60363f29949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x60363f29949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x60363f292a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x60363f292a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x72b9a562a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x72b9a562a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x60363f1b67e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) in strlen |
| Shadow bytes around the buggy address: |
| 0x72b970508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72b970508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72b970508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72b970508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72b970508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x72b970509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x72b970509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x72b970509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72b970509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72b970509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72b970509280: 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 |
| ==2984822==ABORTING |
| #0 0x5aa061eb9601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x76aeec1920bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x76aeec17815c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5aa061f1c19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x76aeec17727d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x76aeec17f31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5aa0623096bb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5aa0623096bb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5aa0623096bb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5aa06230e125 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5aa06230e125 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5aa0622bd6e5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5aa0622bd6e5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5aa0620641f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5aa061fb3dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5aa0622f5477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5aa0622db7ac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5aa0622db264 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5aa0622a2dec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5aa0622a2dec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5aa062292007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5aa062312a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5aa062312a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5aa0622c5d8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5aa0622c5d8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5aa0622f5477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5aa06229a38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5aa06229a38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5aa062292007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5aa062312a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5aa062312a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5aa0622bf3f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5aa0622bf3f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5aa0622bf3f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5aa0622bf3f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5aa06247df7d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5aa0622f5477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5aa06229a38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5aa06229a38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5aa062292007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5aa062312a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5aa062312a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5aa0622bf3f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5aa0622bf3f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5aa0622bf3f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5aa0622bf3f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5aa0624636f9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5aa0622f5477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5aa06229a38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5aa06229a38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5aa062292007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5aa0620151bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5aa06200d2ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5aa0620128c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5aa0622f5477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5aa0622a2dec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5aa0622a2dec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5aa062292007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5aa062312a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5aa062312a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5aa0622c5d8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5aa0622c5d8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5aa0622f5477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5aa06229a38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5aa06229a38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5aa0622923c0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5aa0622923c0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5aa061f1849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5aa061f1849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5aa061f11a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5aa061f11a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x76af0de2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x76af0de2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5aa061e357e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) in strlen |
| Shadow bytes around the buggy address: |
| 0x76aee2f08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76aee2f08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76aee2f08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76aee2f08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76aee2f08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x76aee2f09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x76aee2f09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x76aee2f09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76aee2f09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76aee2f09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76aee2f09280: 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 |
| ==2984812==ABORTING |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/finish_spec.rb |
| #0 0x600430d9ddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x7582688cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x600430e2295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x75828549ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x758285529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x758254909041 is located in stack of thread T241 at offset 65 in frame |
| #0 0x7582688cb4df 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 T241 created by T0 here: |
| #0 0x600430e0a601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| #1 0x7582688c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7582688aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x600430e6d19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7582688a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7582688b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x60043125a6bb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x60043125a6bb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x60043125a6bb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x60043125f125 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x60043125f125 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x60043120e6e5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x60043120e6e5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x600430fb51f8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x600430f04dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x600431246477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x60043122c7ac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x60043122c264 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6004311f3dec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6004311f3dec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6004311e3007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x600431263a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x600431263a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x600431216d8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x600431216d8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x600431246477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x6004311eb38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x6004311eb38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x6004311e3007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x600431263a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x600431263a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x6004312103f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x6004312103f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x6004312103f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x6004312103f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x6004313cef7d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x600431246477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x6004311eb38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x6004311eb38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x6004311e3007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x600431263a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x600431263a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x6004312103f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x6004312103f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x6004312103f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x6004312103f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x6004313b46f9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x600431246477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x6004311eb38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x6004311eb38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x6004311e3007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x600431263a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x600431263a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x6004312103f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x6004312103f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x6004312103f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x6004312103f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x6004313b46f9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x600431246477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x6004311eb38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x6004311eb38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x6004311e3007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x600430f661bb in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x600430f5e2ef in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x600430f638c9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x600431246477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x6004311f3dec in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x6004311f3dec in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x6004311e3007 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x600431263a31 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x600431263a31 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x600431216d8a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x600431216d8a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x600431246477 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x6004311eb38a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x6004311eb38a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x6004311e33c0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x6004311e33c0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x600430e6949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x600430e6949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x600430e62a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x600430e62a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x75828542a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x75828542a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x600430d867e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 2e0c93aad2b917069edd2ed8508bb9f959c1b346) in strlen |
| Shadow bytes around the buggy address: |
| 0x758254908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x758254908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x758254908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x758254908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x758254908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x758254909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x758254909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x758254909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x758254909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x758254909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x758254909280: 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 |
| ==2984817==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |