| "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. |
| ================================================================= |
| ==3127272==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x77e238909041 at pc 0x6409d4a2cded bp 0x77e23a7ffcf0 sp 0x77e23a7ff4b8 |
| READ of size 2 at 0x77e238909041 thread T25 |
| #0 0x6409d4a2cdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x77e241fcd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6409d4ab195e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x77e26529ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x77e265329c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x77e238909041 is located in stack of thread T25 at offset 65 in frame |
| #0 0x77e241fcd4df 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 T25 created by T0 here: |
| #0 0x6409d4a99601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x77e241fc60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x77e241fac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6409d4afc19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x77e241fab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x77e241fb331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6409d4ee9a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6409d4ee9a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6409d4ee9a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6409d4eee4a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6409d4eee4a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x6409d4e9da65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x6409d4e9da65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6409d4c44458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x6409d4b93dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6409d4ed57f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6409d4ebbb2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6409d4ebb5e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6409d4e8316c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6409d4e8316c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6409d4e72740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #21 0x6409d4e72740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #22 0x6409d4ef2db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #23 0x6409d4ef2db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #24 0x6409d4e9f775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #25 0x6409d4e9f775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #26 0x6409d4e9f775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #27 0x6409d4e9f775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #28 0x6409d5050e25 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #29 0x6409d4ed57f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #30 0x6409d4e7a70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #31 0x6409d4e7a70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #32 0x6409d4e72387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #33 0x6409d4ef2db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #34 0x6409d4ef2db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #35 0x6409d4e9f775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #36 0x6409d4e9f775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #37 0x6409d4e9f775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #38 0x6409d4e9f775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #39 0x6409d5050e25 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #40 0x6409d4ed57f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #41 0x6409d4e7a70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #42 0x6409d4e7a70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #43 0x6409d4e72740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #44 0x6409d4e72740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #45 0x6409d4af849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #46 0x6409d4af849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #47 0x6409d4af1a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #48 0x6409d4af1a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #49 0x77e26522a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #50 0x77e26522a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #51 0x6409d4a157e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) in strlen |
| Shadow bytes around the buggy address: |
| 0x77e238908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e238908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e238908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e238908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e238908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x77e238909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x77e238909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x77e238909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e238909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e238909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77e238909280: 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 |
| ==3127272==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.kzb6j9: |
| * drwx------ 4 100 2024-11-14 08:34:52 +0000 test_rubygems_20241114-3127272-31wt93/ |
| * drwxr-xr-x 9 180 2024-11-14 08:34:52 +0000 gemhome/ |
| * drwxr-xr-x 2 40 2024-11-14 08:34:52 +0000 build_info/ |
| * drwxr-xr-x 2 40 2024-11-14 08:34:52 +0000 cache/ |
| * drwxr-xr-x 2 40 2024-11-14 08:34:52 +0000 doc/ |
| * drwxr-xr-x 2 40 2024-11-14 08:34:52 +0000 extensions/ |
| * drwxr-xr-x 2 40 2024-11-14 08:34:52 +0000 gems/ |
| * drwxr-xr-x 2 40 2024-11-14 08:34:52 +0000 plugins/ |
| * drwxr-xr-x 3 60 2024-11-14 08:34:52 +0000 specifications/ |
| * drwxr-xr-x 2 40 2024-11-14 08:34:52 +0000 default/ |
| * drwxr-xr-x 2 40 2024-11-14 08:34:52 +0000 userhome/ |
| * -rw-r--r-- 1 65 2024-11-14 08:34:52 +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. |
| ================================================================= |
| ==3128918==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x790ff0309041 at pc 0x568dd7a6aded bp 0x790ff21ffcf0 sp 0x790ff21ff4b8 |
| READ of size 2 at 0x790ff0309041 thread T45 |
| ================================================================= |
| ================================================================= |
| ==3128914==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x746095d09041 at pc 0x5bb607abdded bp 0x7460985ffcf0 sp 0x7460985ff4b8 |
| READ of size 2 at 0x746095d09041 thread T75 |
| ==3128912==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x77fd93f09041 at pc 0x56850b030ded bp 0x77fd973ffcf0 sp 0x77fd973ff4b8 |
| READ of size 2 at 0x77fd93f09041 thread T222 |
| ================================================================= |
| ==3128923==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f708d509041 at pc 0x65046f917ded bp 0x7f7095fffcf0 sp 0x7f7095fff4b8 |
| READ of size 2 at 0x7f708d509041 thread T60 |
| #0 0x568dd7a6adec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x790ff73cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x568dd7aef95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x79101969ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x791019729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x790ff0309041 is located in stack of thread T45 at offset 65 in frame |
| #0 0x790ff73cb4df 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 T45 created by T0 here: |
| ================================================================= |
| ==3128919==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7a9b29309041 at pc 0x560ab3c70ded bp 0x7a9b2c9ffcf0 sp 0x7a9b2c9ff4b8 |
| READ of size 2 at 0x7a9b29309041 thread T63 |
| #0 0x56850b030dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x77fda86cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x56850b0b595e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x77fdc529ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x77fdc5329c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x77fd93f09041 is located in stack of thread T222 at offset 65 in frame |
| #0 0x77fda86cd4df 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 T222 created by T0 here: |
| #0 0x5bb607abddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x7460acbad8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5bb607b4295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7460ce49ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7460ce529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x746095d09041 is located in stack of thread T75 at offset 65 in frame |
| #0 0x7460acbad4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T75 created by T0 here: |
| #0 0x65046f917dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x7f70a22898dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x65046f99c95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7f70c1e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7f70c1f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7f708d509041 is located in stack of thread T60 at offset 65 in frame |
| #0 0x7f70a22894df 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 T60 created by T0 here: |
| #0 0x568dd7ad7601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x790ff73c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x790ff73aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x568dd7b3a19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x790ff73a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x790ff73b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x568dd7f27a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x568dd7f27a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x568dd7f27a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x568dd7f2c4a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x568dd7f2c4a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x568dd7edba65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x568dd7edba65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x568dd7c82458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x568dd7bd1dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x568dd7f137f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x568dd7ef9b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x568dd7ef95e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x568dd7ec116c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x568dd7ec116c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x568dd7eb0387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x568dd7f30db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x568dd7f30db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x568dd7ee410a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x568dd7ee410a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x568dd7f137f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x568dd7eb870a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x568dd7eb870a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x568dd7eb0387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x568dd7f30db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x568dd7f30db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x568dd7edd775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x568dd7edd775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x568dd7edd775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x568dd7edd775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x568dd809c91d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x568dd7f137f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x568dd7eb870a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x568dd7eb870a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x568dd7eb0387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x568dd7f30db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x568dd7f30db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x568dd7edd775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x568dd7edd775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x568dd7edd775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x568dd7edd775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x568dd8082099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x568dd7f137f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x568dd7eb870a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x568dd7eb870a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x568dd7eb0387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x568dd7c3321b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x568dd7c2b34f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x568dd7c30929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x568dd7f137f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x568dd7ec116c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x568dd7ec116c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x568dd7eb0387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x568dd7f30db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x568dd7f30db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x568dd7ee410a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x568dd7ee410a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x568dd7f137f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x568dd7eb870a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x568dd7eb870a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x568dd7eb0740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x568dd7eb0740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x568dd7b3649a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x568dd7b3649a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x568dd7b2fa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x568dd7b2fa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x79101962a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x79101962a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x568dd7a537e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) in strlen |
| Shadow bytes around the buggy address: |
| 0x790ff0308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x790ff0308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x790ff0308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x790ff0308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x790ff0308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x790ff0309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x790ff0309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x790ff0309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x790ff0309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x790ff0309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x790ff0309280: 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 |
| ==3128918==ABORTING |
| #0 0x56850b09d601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x77fda86c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x77fda86ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x56850b10019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x77fda86ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x77fda86b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x56850b4eda3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x56850b4eda3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x56850b4eda3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x56850b4f24a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x56850b4f24a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x56850b4a1a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x56850b4a1a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x56850b248458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x56850b197dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x56850b4d97f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x56850b4bfb2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x56850b4bf5e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x56850b48716c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x56850b48716c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x56850b476387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x56850b4f6db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x56850b4f6db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x56850b4aa10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x56850b4aa10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x56850b4d97f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x56850b47e70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x56850b47e70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x56850b476387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x56850b4f6db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x56850b4f6db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x56850b4a3775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x56850b4a3775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x56850b4a3775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x56850b4a3775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x56850b66291d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x56850b4d97f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x56850b47e70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x56850b47e70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x56850b476387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x56850b4f6db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x56850b4f6db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x56850b4a3775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x56850b4a3775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x56850b4a3775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x56850b4a3775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x56850b648099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x56850b4d97f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x56850b47e70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x56850b47e70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x56850b476387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x56850b1f921b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x56850b1f134f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x56850b1f6929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x56850b4d97f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x56850b48716c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x56850b48716c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x56850b476387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x56850b4f6db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x56850b4f6db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x56850b4aa10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x56850b4aa10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x56850b4d97f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x56850b47e70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x56850b47e70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x56850b476740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x56850b476740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x56850b0fc49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x56850b0fc49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x56850b0f5a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x56850b0f5a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x77fdc522a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x77fdc522a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x56850b0197e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) in strlen |
| Shadow bytes around the buggy address: |
| 0x77fd93f08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77fd93f08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77fd93f08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77fd93f08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77fd93f08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x77fd93f09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x77fd93f09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x77fd93f09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77fd93f09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77fd93f09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77fd93f09280: 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 |
| ==3128912==ABORTING |
| #0 0x5bb607b2a601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x7460acba60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7460acb8c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5bb607b8d19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7460acb8b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7460acb9331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5bb607f7aa3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5bb607f7aa3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5bb607f7aa3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5bb607f7f4a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5bb607f7f4a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5bb607f2ea65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5bb607f2ea65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5bb607cd5458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5bb607c24dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5bb607f667f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5bb607f4cb2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5bb607f4c5e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5bb607f1416c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5bb607f1416c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5bb607f03387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5bb607f83db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5bb607f83db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5bb607f3710a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5bb607f3710a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5bb607f667f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5bb607f0b70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5bb607f0b70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5bb607f03387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5bb607f83db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5bb607f83db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5bb607f30775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5bb607f30775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5bb607f30775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5bb607f30775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5bb6080ef91d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x5bb607f667f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5bb607f0b70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5bb607f0b70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5bb607f03387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5bb607f83db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5bb607f83db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5bb607f30775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5bb607f30775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5bb607f30775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5bb607f30775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5bb6080d5099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5bb607f667f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5bb607f0b70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5bb607f0b70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5bb607f03387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5bb607c8621b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5bb607c7e34f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5bb607c83929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5bb607f667f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5bb607f1416c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5bb607f1416c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5bb607f03387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5bb607f83db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5bb607f83db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5bb607f3710a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5bb607f3710a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5bb607f667f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5bb607f0b70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5bb607f0b70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5bb607f03740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5bb607f03740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5bb607b8949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5bb607b8949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5bb607b82a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5bb607b82a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7460ce42a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7460ce42a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5bb607aa67e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) in strlen |
| Shadow bytes around the buggy address: |
| 0x746095d08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x746095d08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x746095d08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x746095d08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x746095d08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x746095d09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x746095d09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x746095d09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x746095d09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x746095d09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x746095d09280: 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 |
| ==3128914==ABORTING |
| #0 0x65046f984601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x7f70a22820bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7f70a226815c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x65046f9e719f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7f70a226727d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7f70a226f31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x65046fdd4a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x65046fdd4a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x65046fdd4a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x65046fdd94a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x65046fdd94a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x65046fd88a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x65046fd88a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x65046fb2f458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x65046fa7edfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x65046fdc07f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x65046fda6b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x65046fda65e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x65046fd6e16c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x65046fd6e16c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x65046fd5d387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x65046fddddb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x65046fddddb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x65046fd9110a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x65046fd9110a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x65046fdc07f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x65046fd6570a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x65046fd6570a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x65046fd5d387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x65046fddddb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x65046fddddb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x65046fd8a775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x65046fd8a775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x65046fd8a775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x65046fd8a775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x65046ff4991d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x65046fdc07f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x65046fd6570a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x65046fd6570a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x65046fd5d387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x65046fddddb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x65046fddddb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x65046fd8a775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x65046fd8a775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x65046fd8a775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x65046fd8a775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x65046ff2f099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x65046fdc07f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x65046fd6570a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x65046fd6570a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x65046fd5d387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x65046fddddb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x65046fddddb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x65046fd8a775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x65046fd8a775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x65046fd8a775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x65046fd8a775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x65046ff2f099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x65046fdc07f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x65046fd6570a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x65046fd6570a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x65046fd5d387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x65046fae021b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x65046fad834f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x65046fadd929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x65046fdc07f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x65046fd6e16c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x65046fd6e16c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x65046fd5d387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x65046fddddb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x65046fddddb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x65046fd9110a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x65046fd9110a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x65046fdc07f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x65046fd6570a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x65046fd6570a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x65046fd5d740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x65046fd5d740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x65046f9e349a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x65046f9e349a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x65046f9dca06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x65046f9dca06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7f70c1e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7f70c1e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x65046f9007e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) in strlen |
| Shadow bytes around the buggy address: |
| 0x7f708d508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f708d508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f708d508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f708d508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f708d508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7f708d509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7f708d509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7f708d509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f708d509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f708d509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f708d509280: 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 |
| ==3128923==ABORTING |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/active_spec.rb |
| #0 0x560ab3c70dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x7a9b352cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x560ab3cf595e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7a9b52a9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7a9b52b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7a9b29309041 is located in stack of thread T63 at offset 65 in frame |
| #0 0x7a9b352cb4df 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 T63 created by T0 here: |
| #0 0x560ab3cdd601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| #1 0x7a9b352c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7a9b352aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x560ab3d4019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7a9b352a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7a9b352b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x560ab412da3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x560ab412da3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x560ab412da3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x560ab41324a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x560ab41324a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x560ab40e1a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x560ab40e1a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x560ab3e88458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x560ab3dd7dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x560ab41197f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x560ab40ffb2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x560ab40ff5e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x560ab40c716c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x560ab40c716c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x560ab40b6387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x560ab4136db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x560ab4136db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x560ab40ea10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x560ab40ea10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x560ab41197f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x560ab40be70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x560ab40be70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x560ab40b6387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x560ab4136db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x560ab4136db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x560ab40e3775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x560ab40e3775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x560ab40e3775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x560ab40e3775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x560ab42a291d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x560ab41197f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x560ab40be70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x560ab40be70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x560ab40b6387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x560ab4136db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x560ab4136db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x560ab40e3775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x560ab40e3775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x560ab40e3775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x560ab40e3775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x560ab4288099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x560ab41197f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x560ab40be70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x560ab40be70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x560ab40b6387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x560ab4136db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x560ab4136db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x560ab40e3775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x560ab40e3775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x560ab40e3775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x560ab40e3775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x560ab4288099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x560ab41197f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x560ab40be70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x560ab40be70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x560ab40b6387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x560ab3e3921b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x560ab3e3134f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x560ab3e36929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x560ab41197f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x560ab40c716c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x560ab40c716c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x560ab40b6387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x560ab4136db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x560ab4136db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x560ab40ea10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x560ab40ea10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x560ab41197f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x560ab40be70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x560ab40be70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x560ab40b6740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x560ab40b6740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x560ab3d3c49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x560ab3d3c49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x560ab3d35a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x560ab3d35a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7a9b52a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7a9b52a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x560ab3c597e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: f593fa0cdb8afb76b5fa26f19086384c22bc86ae) in strlen |
| Shadow bytes around the buggy address: |
| 0x7a9b29308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7a9b29308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7a9b29308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7a9b29308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7a9b29308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7a9b29309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7a9b29309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7a9b29309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7a9b29309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7a9b29309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7a9b29309280: 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 |
| ==3128919==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |