| "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. |
| ================================================================= |
| ==2758687==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x78ab8b909041 at pc 0x5e11f7950ded bp 0x78ab8cbffcf0 sp 0x78ab8cbff4b8 |
| READ of size 2 at 0x78ab8b909041 thread T24 |
| #0 0x5e11f7950dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x78ab920cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5e11f79d595e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x78abb689ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x78abb6929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x78ab8b909041 is located in stack of thread T24 at offset 65 in frame |
| #0 0x78ab920cb4df 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 T24 created by T0 here: |
| #0 0x5e11f79bd601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x78ab920c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x78ab920aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5e11f7a2019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x78ab920a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x78ab920b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5e11f7e0df8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5e11f7e0df8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5e11f7e0df8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5e11f7e129f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5e11f7e129f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5e11f7dc1cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5e11f7dc1cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5e11f7b681b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5e11f7ab7ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5e11f7df9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5e11f7ddfdfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5e11f7ddf8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5e11f7da73fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5e11f7da73fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5e11f7d969d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #21 0x5e11f7d969d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #22 0x5e11f7e17301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #23 0x5e11f7e17301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #24 0x5e11f7dc3a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #25 0x5e11f7dc3a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #26 0x5e11f7dc3a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #27 0x5e11f7dc3a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #28 0x5e11f7f74d35 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #29 0x5e11f7df9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #30 0x5e11f7d9e99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #31 0x5e11f7d9e99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #32 0x5e11f7d96617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #33 0x5e11f7e17301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #34 0x5e11f7e17301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #35 0x5e11f7dc3a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #36 0x5e11f7dc3a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #37 0x5e11f7dc3a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #38 0x5e11f7dc3a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #39 0x5e11f7f74d35 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #40 0x5e11f7df9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #41 0x5e11f7d9e99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #42 0x5e11f7d9e99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #43 0x5e11f7d969d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #44 0x5e11f7d969d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #45 0x5e11f7a1c49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #46 0x5e11f7a1c49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #47 0x5e11f7a15a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #48 0x5e11f7a15a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #49 0x78abb682a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #50 0x78abb682a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #51 0x5e11f79397e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x78ab8b908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ab8b908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ab8b908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ab8b908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ab8b908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x78ab8b909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x78ab8b909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x78ab8b909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ab8b909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ab8b909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78ab8b909280: 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 |
| ==2758687==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.fcz8nd: |
| * drwx------ 4 80 2024-11-12 09:37:29 +0000 test_rubygems_20241112-2758687-ehzuul/ |
| * drwxr-xr-x 9 180 2024-11-12 09:37:29 +0000 gemhome/ |
| * drwxr-xr-x 2 40 2024-11-12 09:37:29 +0000 build_info/ |
| * drwxr-xr-x 2 40 2024-11-12 09:37:29 +0000 cache/ |
| * drwxr-xr-x 2 40 2024-11-12 09:37:29 +0000 doc/ |
| * drwxr-xr-x 2 40 2024-11-12 09:37:29 +0000 extensions/ |
| * drwxr-xr-x 2 40 2024-11-12 09:37:29 +0000 gems/ |
| * drwxr-xr-x 2 40 2024-11-12 09:37:29 +0000 plugins/ |
| * drwxr-xr-x 3 60 2024-11-12 09:37:29 +0000 specifications/ |
| * drwxr-xr-x 2 40 2024-11-12 09:37:29 +0000 default/ |
| * drwxr-xr-x 2 40 2024-11-12 09:37:29 +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. |
| ================================================================= |
| ==2762708==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7165c9109041 at pc 0x5b8759c79ded bp 0x7165cadffcf0 sp 0x7165cadff4b8 |
| READ of size 2 at 0x7165c9109041 thread T43 |
| ================================================================= |
| ==2762706==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x727bf6b09041 at pc 0x5815db38dded bp 0x727bf87ffcf0 sp 0x727bf87ff4b8 |
| READ of size 2 at 0x727bf6b09041 thread T248 |
| ================================================================= |
| ==2762700==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x77d6fef09041 at pc 0x5780a2b54ded bp 0x77d7025ffcf0 sp 0x77d7025ff4b8 |
| READ of size 2 at 0x77d6fef09041 thread T103 |
| ================================================================= |
| ==2762696==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x75acf0f09041 at pc 0x617bc0771ded bp 0x75acf21ffcf0 sp 0x75acf21ff4b8 |
| READ of size 2 at 0x75acf0f09041 thread T37 |
| #0 0x5b8759c79dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x7165d9fcd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5b8759cfe95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7165fd09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7165fd129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7165c9109041 is located in stack of thread T43 at offset 65 in frame |
| #0 0x7165d9fcd4df 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 T43 created by T0 here: |
| #0 0x5780a2b54dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x77d70bfcd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5780a2bd995e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x77d72d89ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x77d72d929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x77d6fef09041 is located in stack of thread T103 at offset 65 in frame |
| #0 0x5815db38ddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x727c0cbc98dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5815db41295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x727c2e09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x727c2e129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x727bf6b09041 is located in stack of thread T248 #0 0x77d70bfcd4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| at offset 65 in frame |
| 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 |
| #0 0x727c0cbc94df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| 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) |
| This frame has 2 object(s): |
| Thread T103 created by T0 here: |
| [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 T248 created by T0 here: |
| #0 0x617bc0771dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x75acf64858dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x617bc07f695e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x75ad1969ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x75ad19729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x75acf0f09041 is located in stack of thread T37 at offset 65 in frame |
| #0 0x75acf64854df 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 T37 created by T0 here: |
| #0 0x5b8759ce6601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x7165d9fc60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7165d9fac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5b8759d4919f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7165d9fab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7165d9fb331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5b875a136f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5b875a136f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5b875a136f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5b875a13b9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5b875a13b9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5b875a0eacf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5b875a0eacf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5b8759e911b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5b8759de0ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5b875a122d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5b875a108dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5b875a1088b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5b875a0d03fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5b875a0d03fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5b875a0bf617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5b875a140301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5b875a140301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5b875a0f339a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5b875a0f339a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5b875a122d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5b875a0c799a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5b875a0c799a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5b875a0bf617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5b875a140301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5b875a140301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5b875a0eca05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5b875a0eca05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5b875a0eca05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5b875a0eca05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5b875a2ab81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5b875a122d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5b875a0c799a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5b875a0c799a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5b875a0bf617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5b875a140301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5b875a140301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5b875a0eca05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5b875a0eca05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5b875a0eca05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5b875a0eca05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5b875a290fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5b875a122d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5b875a0c799a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5b875a0c799a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5b875a0bf617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5b8759e4217b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5b8759e3a2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5b8759e3f889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5b875a122d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5b875a0d03fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5b875a0d03fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5b875a0bf617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5b875a140301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5b875a140301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5b875a0f339a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5b875a0f339a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5b875a122d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5b875a0c799a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5b875a0c799a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5b875a0bf9d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5b875a0bf9d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5b8759d4549a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5b8759d4549a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5b8759d3ea06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5b8759d3ea06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7165fd02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7165fd02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5b8759c627e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x7165c9108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7165c9108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7165c9108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7165c9108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7165c9108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7165c9109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7165c9109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7165c9109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7165c9109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7165c9109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7165c9109280: 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 |
| ==2762708==ABORTING |
| #0 0x5780a2bc1601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x77d70bfc60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x77d70bfac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5780a2c2419f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x77d70bfab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x77d70bfb331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5780a3011f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5780a3011f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5780a3011f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5780a30169f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5780a30169f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5780a2fc5cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5780a2fc5cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5780a2d6c1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5780a2cbbddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5780a2ffdd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5780a2fe3dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5780a2fe38b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5780a2fab3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5780a2fab3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5780a2f9a617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5780a301b301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5780a301b301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5780a2fce39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5780a2fce39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5780a2ffdd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5780a2fa299a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5780a2fa299a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5780a2f9a617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5780a301b301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5780a301b301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5780a2fc7a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5780a2fc7a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5780a2fc7a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5780a2fc7a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5780a318681d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5780a2ffdd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5780a2fa299a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5780a2fa299a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5780a2f9a617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5780a301b301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5780a301b301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5780a2fc7a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5780a2fc7a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5780a2fc7a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5780a2fc7a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5780a316bfb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5780a2ffdd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5780a2fa299a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5780a2fa299a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5780a2f9a617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5780a2d1d17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5780a2d152af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5780a2d1a889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5780a2ffdd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5780a2fab3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5780a2fab3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5780a2f9a617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5780a301b301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5780a301b301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5780a2fce39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5780a2fce39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5780a2ffdd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5780a2fa299a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5780a2fa299a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5780a2f9a9d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5780a2f9a9d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5780a2c2049a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5780a2c2049a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5780a2c19a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5780a2c19a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x77d72d82a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x77d72d82a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5780a2b3d7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #0 0x5815db3fa601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x727c0cbc20bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x727c0cba815c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5815db45d19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x727c0cba727d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x727c0cbaf31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5815db84af8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5815db84af8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5815db84af8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5815db84f9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5815db84f9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5815db7fecf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5815db7fecf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5815db5a51b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5815db4f4ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5815db836d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5815db81cdfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5815db81c8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5815db7e43fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5815db7e43fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5815db7d3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5815db854301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5815db854301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5815db80739a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5815db80739a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5815db836d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5815db7db99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5815db7db99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5815db7d3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5815db854301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5815db854301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5815db800a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5815db800a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5815db800a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5815db800a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5815db9bf81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5815db836d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5815db7db99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5815db7db99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5815db7d3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5815db854301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5815db854301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5815db800a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5815db800a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5815db800a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5815db800a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5815db9a4fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5815db836d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5815db7db99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5815db7db99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5815db7d3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5815db55617b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5815db54e2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5815db553889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5815db836d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5815db7e43fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5815db7e43fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5815db7d3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5815db854301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5815db854301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5815db80739a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5815db80739a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5815db836d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5815db7db99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5815db7db99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5815db7d39d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5815db7d39d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5815db45949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5815db45949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5815db452a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5815db452a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x727c2e02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x727c2e02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5815db3767e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) in strlen |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x77d6fef08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77d6fef08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77d6fef08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77d6fef08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77d6fef08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x77d6fef09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x77d6fef09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x77d6fef09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77d6fef09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77d6fef09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77d6fef09280: 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 |
| Shadow bytes around the buggy address: |
| 0x727bf6b08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x727bf6b08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x727bf6b08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x727bf6b08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x727bf6b08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x727bf6b09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x727bf6b09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x727bf6b09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x727bf6b09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x727bf6b09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x727bf6b09280: 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 |
| ==2762700==ABORTING |
| ==2762706==ABORTING |
| #0 0x617bc07de601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x75acf647e0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x75acf646415c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x617bc084119f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x75acf646327d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x75acf646b31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x617bc0c2ef8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x617bc0c2ef8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x617bc0c2ef8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x617bc0c339f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x617bc0c339f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x617bc0be2cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x617bc0be2cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x617bc09891b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x617bc08d8ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x617bc0c1ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x617bc0c00dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x617bc0c008b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x617bc0bc83fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x617bc0bc83fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x617bc0bb7617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x617bc0c38301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x617bc0c38301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x617bc0beb39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x617bc0beb39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x617bc0c1ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x617bc0bbf99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x617bc0bbf99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x617bc0bb7617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x617bc0c38301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x617bc0c38301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x617bc0be4a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x617bc0be4a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x617bc0be4a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x617bc0be4a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x617bc0da381d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x617bc0c1ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x617bc0bbf99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x617bc0bbf99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x617bc0bb7617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x617bc0c38301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x617bc0c38301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x617bc0be4a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x617bc0be4a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x617bc0be4a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x617bc0be4a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x617bc0d88fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x617bc0c1ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x617bc0bbf99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x617bc0bbf99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x617bc0bb7617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x617bc0c38301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x617bc0c38301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x617bc0be4a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x617bc0be4a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x617bc0be4a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x617bc0be4a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x617bc0d88fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x617bc0c1ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x617bc0bbf99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x617bc0bbf99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x617bc0bb7617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x617bc093a17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x617bc09322af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x617bc0937889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x617bc0c1ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x617bc0bc83fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x617bc0bc83fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x617bc0bb7617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x617bc0c38301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x617bc0c38301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x617bc0beb39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x617bc0beb39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x617bc0c1ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x617bc0bbf99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x617bc0bbf99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x617bc0bb79d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x617bc0bb79d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x617bc083d49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x617bc083d49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x617bc0836a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x617bc0836a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x75ad1962a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x75ad1962a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x617bc075a7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x75acf0f08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75acf0f08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75acf0f08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75acf0f08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75acf0f08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x75acf0f09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x75acf0f09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x75acf0f09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75acf0f09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75acf0f09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x75acf0f09280: 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 |
| ==2762696==ABORTING |
| ================================================================= |
| ==2762702==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x78321a909041 at pc 0x5a02bd653ded bp 0x78321bbffcf0 sp 0x78321bbff4b8 |
| READ of size 2 at 0x78321a909041 thread T50 |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/active_spec.rb |
| #0 0x5a02bd653dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x7832241ed8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5a02bd6d895e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x783245e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x783245f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x78321a909041 is located in stack of thread T50 at offset 65 in frame |
| #0 0x7832241ed4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T50 created by T0 here: |
| #0 0x5a02bd6c0601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| #1 0x7832241e60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7832241cc15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5a02bd72319f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7832241cb27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7832241d331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5a02bdb10f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5a02bdb10f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5a02bdb10f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5a02bdb159f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5a02bdb159f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5a02bdac4cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5a02bdac4cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5a02bd86b1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5a02bd7baddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5a02bdafcd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5a02bdae2dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5a02bdae28b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5a02bdaaa3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5a02bdaaa3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5a02bda99617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5a02bdb1a301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5a02bdb1a301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5a02bdacd39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5a02bdacd39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5a02bdafcd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5a02bdaa199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5a02bdaa199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5a02bda99617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5a02bdb1a301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5a02bdb1a301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5a02bdac6a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5a02bdac6a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5a02bdac6a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5a02bdac6a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5a02bdc8581d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5a02bdafcd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5a02bdaa199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5a02bdaa199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5a02bda99617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5a02bdb1a301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5a02bdb1a301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5a02bdac6a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5a02bdac6a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5a02bdac6a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5a02bdac6a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5a02bdc6afb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5a02bdafcd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5a02bdaa199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5a02bdaa199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5a02bda99617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5a02bdb1a301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5a02bdb1a301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5a02bdac6a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5a02bdac6a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5a02bdac6a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5a02bdac6a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5a02bdc6afb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5a02bdafcd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5a02bdaa199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5a02bdaa199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5a02bda99617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5a02bd81c17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5a02bd8142af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5a02bd819889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5a02bdafcd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5a02bdaaa3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5a02bdaaa3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5a02bda99617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5a02bdb1a301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5a02bdb1a301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5a02bdacd39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5a02bdacd39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5a02bdafcd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5a02bdaa199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5a02bdaa199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5a02bda999d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5a02bda999d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5a02bd71f49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5a02bd71f49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5a02bd718a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5a02bd718a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x783245e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x783245e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5a02bd63c7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 250744d0992baf39a339d2cda32ab19481a5e6d7) in strlen |
| Shadow bytes around the buggy address: |
| 0x78321a908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78321a908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78321a908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78321a908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78321a908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x78321a909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x78321a909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x78321a909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78321a909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78321a909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78321a909280: 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 |
| ==2762702==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |