| "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. |
| ================================================================= |
| ==2866290==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7cc6c1909041 at pc 0x5e5b1e66aded bp 0x7cc6be7ffcf0 sp 0x7cc6be7ff4b8 |
| READ of size 2 at 0x7cc6c1909041 thread T244 |
| #0 0x5e5b1e66adec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x7cc6ccb058dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5e5b1e6ef95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7cc6eea9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7cc6eeb29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7cc6c1909041 is located in stack of thread T244 at offset 65 in frame |
| #0 0x7cc6ccb054df 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 T244 created by T0 here: |
| #0 0x5e5b1e6d7601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x7cc6ccafe0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7cc6ccae415c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5e5b1e73a19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7cc6ccae327d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7cc6ccaeb31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5e5b1eb27f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5e5b1eb27f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5e5b1eb27f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5e5b1eb2c9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5e5b1eb2c9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5e5b1eadbcf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5e5b1eadbcf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5e5b1e8821b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5e5b1e7d1ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5e5b1eb13d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5e5b1eab899a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #17 0x5e5b1eab899a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #18 0x5e5b1eab0617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #19 0x5e5b1eb31301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #20 0x5e5b1eb31301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #21 0x5e5b1eadda05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #22 0x5e5b1eadda05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #23 0x5e5b1eadda05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #24 0x5e5b1eadda05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #25 0x5e5b1e73a19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #26 0x5e5b1eb13d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #27 0x5e5b1eab899a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #28 0x5e5b1eab899a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #29 0x5e5b1eab0617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #30 0x5e5b1eb31301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #31 0x5e5b1eb31301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #32 0x5e5b1eadda05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #33 0x5e5b1eadda05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #34 0x5e5b1eadda05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #35 0x5e5b1eadda05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #36 0x5e5b1ec8ed35 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #37 0x5e5b1eb13d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #38 0x5e5b1eab899a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #39 0x5e5b1eab899a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #40 0x5e5b1eab0617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #41 0x5e5b1eb31301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #42 0x5e5b1eb31301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #43 0x5e5b1eadda05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #44 0x5e5b1eadda05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #45 0x5e5b1eadda05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #46 0x5e5b1eadda05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #47 0x5e5b1ec8ed35 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #48 0x5e5b1eb13d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #49 0x5e5b1eab899a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #50 0x5e5b1eab899a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #51 0x5e5b1eab09d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #52 0x5e5b1eab09d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #53 0x5e5b1e73649a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #54 0x5e5b1e73649a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #55 0x5e5b1e72fa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #56 0x5e5b1e72fa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #57 0x7cc6eea2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #58 0x7cc6eea2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #59 0x5e5b1e6537e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) in strlen |
| Shadow bytes around the buggy address: |
| 0x7cc6c1908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cc6c1908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cc6c1908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cc6c1908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cc6c1908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7cc6c1909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7cc6c1909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7cc6c1909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cc6c1909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cc6c1909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cc6c1909280: 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 |
| ==2866290==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/socket/test_tcp.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. |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==2868594==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x70a45e309041 at pc 0x596bdd1c1ded bp 0x70a462fffcf0 sp 0x70a462fff4b8 |
| READ of size 2 at 0x70a45e309041 thread T151 |
| ================================================================= |
| ==2868600==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7812b4109041 at pc 0x5d6e3b0d5ded bp 0x7812b5fffcf0 sp 0x7812b5fff4b8 |
| READ of size 2 at 0x7812b4109041 thread T210 |
| ================================================================= |
| ==2868592==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7abca2f09041 at pc 0x5810bd36dded bp 0x7abca41ffcf0 sp 0x7abca41ff4b8 |
| READ of size 2 at 0x7abca2f09041 thread T75 |
| ================================================================= |
| ==2868586==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x73e866109041 at pc 0x55c297720ded bp 0x73e8673ffcf0 sp 0x73e8673ff4b8 |
| READ of size 2 at 0x73e866109041 thread T95 |
| #0 0x596bdd1c1dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x70a476cc78dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x596bdd24695e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x70a497c9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x70a497d29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x70a45e309041 is located in stack of thread T151 at offset 65 in frame |
| #0 0x70a476cc74df 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 T151 created by T0 here: |
| #0 0x5810bd36ddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x7abcc7ead8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5810bd3f295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7abce409ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7abce4129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7abca2f09041 is located in stack of thread T75 at offset 65 in frame |
| #0 0x5d6e3b0d5dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x7812c9d258dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5d6e3b15a95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7812e929ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7812e9329c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| #0 0x7abcc7ead4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| Address 0x7812b4109041 is located in stack of thread T210 at offset 65 in frame |
| [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 0x7812c9d254df 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 T210 created by T0 here: |
| ================================================================= |
| ==2868595==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x708169d09041 at pc 0x5a986f923ded bp 0x70816b9ffcf0 sp 0x70816b9ff4b8 |
| READ of size 2 at 0x708169d09041 thread T11 |
| #0 0x596bdd22e601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x70a476cc00bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x70a476ca615c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x596bdd29119f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x70a476ca527d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x70a476cad31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x596bdd67ef8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x596bdd67ef8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x596bdd67ef8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x596bdd6839f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x596bdd6839f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x596bdd632cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x596bdd632cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x596bdd3d91b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x596bdd328ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x596bdd66ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x596bdd650dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x596bdd6508b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x596bdd6183fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x596bdd6183fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x596bdd607617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x596bdd688301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x596bdd688301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x596bdd63b39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x596bdd63b39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x596bdd66ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x596bdd60f99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x596bdd60f99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x596bdd607617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x596bdd688301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x596bdd688301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x596bdd634a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x596bdd634a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x596bdd634a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x596bdd634a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x596bdd7f381d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x596bdd66ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x596bdd60f99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x596bdd60f99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x596bdd607617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x596bdd688301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x596bdd688301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x596bdd634a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x596bdd634a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x596bdd634a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x596bdd634a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x596bdd7d8fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x596bdd66ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x596bdd60f99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x596bdd60f99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x596bdd607617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x596bdd38a17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x596bdd3822af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x596bdd387889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x596bdd66ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x596bdd6183fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x596bdd6183fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x596bdd607617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x596bdd688301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x596bdd688301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x596bdd63b39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x596bdd63b39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x596bdd66ad07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x596bdd60f99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x596bdd60f99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x596bdd6079d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x596bdd6079d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x596bdd28d49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x596bdd28d49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x596bdd286a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x596bdd286a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x70a497c2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x70a497c2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x596bdd1aa7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) in strlen |
| Shadow bytes around the buggy address: |
| 0x70a45e308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70a45e308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70a45e308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70a45e308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70a45e308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x70a45e309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x70a45e309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x70a45e309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70a45e309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70a45e309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70a45e309280: 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 |
| ==2868594==ABORTING |
| #0 0x55c297720dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x73e8796538dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x55c2977a595e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x73e896a9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x73e896b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x73e866109041 is located in stack of thread T95 at offset 65 in frame |
| #0 0x73e8796534df 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 T95 created by T0 here: |
| #0 0x5810bd3da601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x7abcc7ea60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7abcc7e8c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5810bd43d19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7abcc7e8b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7abcc7e9331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5810bd82af8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5810bd82af8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5810bd82af8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5810bd82f9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5810bd82f9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5810bd7decf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5810bd7decf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5810bd5851b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5810bd4d4ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5810bd816d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5810bd7fcdfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5810bd7fc8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5810bd7c43fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5810bd7c43fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5810bd7b3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5810bd834301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5810bd834301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5810bd7e739a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5810bd7e739a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5810bd816d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5810bd7bb99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5810bd7bb99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5810bd7b3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5810bd834301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5810bd834301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5810bd7e0a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5810bd7e0a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5810bd7e0a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5810bd7e0a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5810bd99f81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5810bd816d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5810bd7bb99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5810bd7bb99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5810bd7b3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5810bd834301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5810bd834301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5810bd7e0a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5810bd7e0a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5810bd7e0a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5810bd7e0a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5810bd984fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5810bd816d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5810bd7bb99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5810bd7bb99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5810bd7b3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5810bd53617b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5810bd52e2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5810bd533889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5810bd816d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5810bd7c43fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5810bd7c43fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5810bd7b3617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5810bd834301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5810bd834301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5810bd7e739a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5810bd7e739a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5810bd816d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5810bd7bb99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5810bd7bb99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5810bd7b39d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5810bd7b39d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5810bd43949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5810bd43949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5810bd432a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5810bd432a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7abce402a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7abce402a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5810bd3567e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) in strlen |
| Shadow bytes around the buggy address: |
| 0x7abca2f08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7abca2f08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7abca2f08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7abca2f08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7abca2f08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7abca2f09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7abca2f09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7abca2f09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7abca2f09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7abca2f09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7abca2f09280: 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 |
| ==2868592==ABORTING |
| #0 0x5d6e3b142601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x7812c9d1e0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7812c9d0415c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5d6e3b1a519f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7812c9d0327d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7812c9d0b31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5d6e3b592f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5d6e3b592f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5d6e3b592f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5d6e3b5979f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5d6e3b5979f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5d6e3b546cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5d6e3b546cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5d6e3b2ed1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5d6e3b23cddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5d6e3b57ed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5d6e3b564dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5d6e3b5648b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5d6e3b52c3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5d6e3b52c3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5d6e3b51b617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5d6e3b59c301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5d6e3b59c301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5d6e3b54f39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5d6e3b54f39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5d6e3b57ed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5d6e3b52399a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5d6e3b52399a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5d6e3b51b617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5d6e3b59c301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5d6e3b59c301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5d6e3b548a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5d6e3b548a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5d6e3b548a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5d6e3b548a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5d6e3b70781d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5d6e3b57ed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5d6e3b52399a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5d6e3b52399a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5d6e3b51b617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5d6e3b59c301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5d6e3b59c301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5d6e3b548a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5d6e3b548a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5d6e3b548a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5d6e3b548a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5d6e3b6ecfb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5d6e3b57ed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5d6e3b52399a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5d6e3b52399a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5d6e3b51b617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5d6e3b29e17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5d6e3b2962af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5d6e3b29b889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5d6e3b57ed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5d6e3b52c3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5d6e3b52c3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5d6e3b51b617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5d6e3b59c301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5d6e3b59c301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5d6e3b54f39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5d6e3b54f39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5d6e3b57ed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5d6e3b52399a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5d6e3b52399a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5d6e3b51b9d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5d6e3b51b9d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5d6e3b1a149a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5d6e3b1a149a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5d6e3b19aa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5d6e3b19aa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7812e922a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7812e922a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5d6e3b0be7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) in strlen |
| Shadow bytes around the buggy address: |
| 0x7812b4108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7812b4108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7812b4108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7812b4108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7812b4108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7812b4109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7812b4109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7812b4109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7812b4109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7812b4109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7812b4109280: 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 |
| ==2868600==ABORTING |
| #0 0x55c29778d601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x73e87964c0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x73e87963215c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x55c2977f019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x73e87963127d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x73e87963931d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x55c297bddf8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x55c297bddf8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x55c297bddf8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x55c297be29f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x55c297be29f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x55c297b91cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x55c297b91cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x55c2979381b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x55c297887ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x55c297bc9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x55c297bafdfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x55c297baf8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x55c297b773fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x55c297b773fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x55c297b66617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x55c297be7301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x55c297be7301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x55c297b9a39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x55c297b9a39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x55c297bc9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x55c297b6e99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x55c297b6e99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x55c297b66617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x55c297be7301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x55c297be7301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x55c297b93a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x55c297b93a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x55c297b93a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x55c297b93a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x55c297d5281d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x55c297bc9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x55c297b6e99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x55c297b6e99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x55c297b66617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x55c297be7301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x55c297be7301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x55c297b93a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x55c297b93a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x55c297b93a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x55c297b93a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x55c297d37fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x55c297bc9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x55c297b6e99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x55c297b6e99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x55c297b66617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x55c297be7301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x55c297be7301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x55c297b93a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x55c297b93a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x55c297b93a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x55c297b93a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x55c297d37fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x55c297bc9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x55c297b6e99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x55c297b6e99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x55c297b66617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x55c2978e917b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x55c2978e12af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x55c2978e6889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x55c297bc9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x55c297b773fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x55c297b773fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x55c297b66617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x55c297be7301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x55c297be7301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x55c297b9a39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x55c297b9a39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x55c297bc9d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x55c297b6e99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x55c297b6e99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x55c297b669d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x55c297b669d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x55c2977ec49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x55c2977ec49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x55c2977e5a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x55c2977e5a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x73e896a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x73e896a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x55c2977097e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) in strlen |
| Shadow bytes around the buggy address: |
| 0x73e866108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73e866108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73e866108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73e866108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73e866108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x73e866109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x73e866109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x73e866109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73e866109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73e866109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73e866109280: 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 |
| ==2868586==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 0x5a986f923dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x70816e51d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5a986f9a895e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x70818fe9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x70818ff29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x708169d09041 is located in stack of thread T11 at offset 65 in frame |
| #0 0x70816e51d4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T11 created by T0 here: |
| #0 0x5a986f990601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| #1 0x70816e5160bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x70816e4fc15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5a986f9f319f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x70816e4fb27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x70816e50331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5a986fde0f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5a986fde0f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5a986fde0f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5a986fde59f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5a986fde59f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5a986fd94cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5a986fd94cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5a986fb3b1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5a986fa8addc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5a986fdccd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5a986fdb2dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5a986fdb28b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5a986fd7a3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5a986fd7a3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5a986fd69617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5a986fdea301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5a986fdea301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5a986fd9d39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5a986fd9d39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5a986fdccd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5a986fd7199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5a986fd7199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5a986fd69617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5a986fdea301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5a986fdea301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5a986fd96a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5a986fd96a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5a986fd96a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5a986fd96a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5a986ff5581d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5a986fdccd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5a986fd7199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5a986fd7199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5a986fd69617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5a986fdea301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5a986fdea301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5a986fd96a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5a986fd96a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5a986fd96a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5a986fd96a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5a986ff3afb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5a986fdccd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5a986fd7199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5a986fd7199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5a986fd69617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5a986fdea301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5a986fdea301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5a986fd96a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5a986fd96a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5a986fd96a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5a986fd96a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5a986ff3afb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5a986fdccd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5a986fd7199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5a986fd7199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5a986fd69617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5a986faec17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5a986fae42af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5a986fae9889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5a986fdccd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5a986fd7a3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5a986fd7a3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5a986fd69617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5a986fdea301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5a986fdea301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5a986fd9d39a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5a986fd9d39a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5a986fdccd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5a986fd7199a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5a986fd7199a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5a986fd699d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5a986fd699d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5a986f9ef49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5a986f9ef49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5a986f9e8a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5a986f9e8a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x70818fe2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x70818fe2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5a986f90c7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: bc52e8f52d4e28bb06308300be2c52d04473bc62) in strlen |
| Shadow bytes around the buggy address: |
| 0x708169d08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x708169d08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x708169d08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x708169d08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x708169d08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x708169d09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x708169d09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x708169d09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x708169d09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x708169d09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x708169d09280: 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 |
| ==2868595==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |