| "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. |
| ================================================================= |
| ==2632739==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x728ddd909041 at pc 0x635941591ded bp 0x728ddf7ffcf0 sp 0x728ddf7ff4b8 |
| READ of size 2 at 0x728ddd909041 thread T7 |
| #0 0x635941591dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x728de97cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x63594161695e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x728e0629ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x728e06329c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x728ddd909041 is located in stack of thread T7 at offset 65 in frame |
| #0 0x728de97cd4df 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 T7 created by T0 here: |
| #0 0x6359415fe601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x728de97c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x728de97ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x63594166119f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x728de97ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x728de97b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x635941a4ef3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x635941a4ef3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x635941a4ef3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x635941a539a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x635941a539a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x635941a02ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x635941a02ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6359417a91b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x6359416f8ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x635941a3acb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x635941a20dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x635941a20864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6359419e83ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6359419e83ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6359419d7980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #21 0x6359419d7980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #22 0x635941a582b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #23 0x635941a582b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #24 0x635941a049b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #25 0x635941a049b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #26 0x635941a049b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #27 0x635941a049b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #28 0x635941bb5ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #29 0x635941a3acb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #30 0x6359419df94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #31 0x6359419df94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #32 0x6359419d75c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #33 0x635941a582b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #34 0x635941a582b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #35 0x635941a049b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #36 0x635941a049b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #37 0x635941a049b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #38 0x635941a049b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #39 0x635941bb5ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #40 0x635941a3acb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #41 0x6359419df94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #42 0x6359419df94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #43 0x6359419d7980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #44 0x6359419d7980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #45 0x63594165d49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #46 0x63594165d49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #47 0x635941656a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #48 0x635941656a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #49 0x728e0622a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #50 0x728e0622a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #51 0x63594157a7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x728ddd908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x728ddd908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x728ddd908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x728ddd908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x728ddd908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x728ddd909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x728ddd909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x728ddd909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x728ddd909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x728ddd909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x728ddd909280: 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 |
| ==2632739==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/rubygems/test_bundled_ca.rb |
| A test worker crashed. It might be an interpreter bug or |
| a bug in test/unit/parallel.rb. Try again without the -j |
| option. |
| Children under /tmp/rubytest.w8jf3w: |
| * drwx------ 4 80 2024-11-12 01:22:18 +0000 test_rubygems_20241112-2632739-kw97ir/ |
| * drwxr-xr-x 9 180 2024-11-12 01:22:18 +0000 gemhome/ |
| * drwxr-xr-x 2 40 2024-11-12 01:22:18 +0000 build_info/ |
| * drwxr-xr-x 2 40 2024-11-12 01:22:18 +0000 cache/ |
| * drwxr-xr-x 2 40 2024-11-12 01:22:18 +0000 doc/ |
| * drwxr-xr-x 2 40 2024-11-12 01:22:18 +0000 extensions/ |
| * drwxr-xr-x 2 40 2024-11-12 01:22:18 +0000 gems/ |
| * drwxr-xr-x 2 40 2024-11-12 01:22:18 +0000 plugins/ |
| * drwxr-xr-x 3 60 2024-11-12 01:22:18 +0000 specifications/ |
| * drwxr-xr-x 2 40 2024-11-12 01:22:18 +0000 default/ |
| * drwxr-xr-x 2 40 2024-11-12 01:22:18 +0000 userhome/ |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==2636498==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7880e5109041 at pc 0x60fe8adfeded bp 0x7880e7bffcf0 sp 0x7880e7bff4b8 |
| READ of size 2 at 0x7880e5109041 thread T24 |
| ================================================================= |
| ==2636493==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x772828d09041 at pc 0x5cecba81cded bp 0x77282abffcf0 sp 0x77282abff4b8 |
| READ of size 2 at 0x772828d09041 thread T51 |
| ================================================================= |
| ==2636503==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f6f87709041 at pc 0x62ab0e674ded bp 0x7f6f9a9ffcf0 sp 0x7f6f9a9ff4b8 |
| READ of size 2 at 0x7f6f87709041 thread T195 |
| ================================================================= |
| ==2636500==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x76daea509041 at pc 0x5a8f66942ded bp 0x76daec3ffcf0 sp 0x76daec3ff4b8 |
| READ of size 2 at 0x76daea509041 thread T111 |
| #0 0x5cecba81cdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7728333cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5cecba8a195e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x77285249ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x772852529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x772828d09041 is located in stack of thread T51 at offset 65 in frame |
| #0 0x7728333cd4df 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 T51 created by T0 here: |
| #0 0x60fe8adfedec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7880f5e238dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x60fe8ae8395e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x788112c9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x788112d29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7880e5109041 is located in stack of thread T24 at offset 65 in frame |
| #0 0x7880f5e234df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T24 created by T0 here: |
| #0 0x62ab0e674dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7f6fa00a98dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x62ab0e6f995e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7f6fbd89ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7f6fbd929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7f6f87709041 is located in stack of thread T195 at offset 65 in frame |
| #0 0x7f6fa00a94df 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 T195 created by T0 here: |
| #0 0x5a8f66942dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x76dafd0cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5a8f669c795e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x76db1929ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x76db19329c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x76daea509041 is located in stack of thread T111 at offset 65 in frame |
| #0 0x76dafd0cb4df 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 T111 created by T0 here: |
| #0 0x5cecba889601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7728333c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7728333ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5cecba8ec19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7728333ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7728333b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5cecbacd9f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5cecbacd9f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5cecbacd9f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5cecbacde9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5cecbacde9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5cecbac8dca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5cecbac8dca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5cecbaa341b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5cecba983ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5cecbacc5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5cecbacabdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5cecbacab864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5cecbac733ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5cecbac733ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5cecbac625c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5cecbace32b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5cecbace32b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5cecbac9634a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5cecbac9634a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5cecbacc5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5cecbac6a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5cecbac6a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5cecbac625c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5cecbace32b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5cecbace32b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5cecbac8f9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5cecbac8f9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5cecbac8f9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5cecbac8f9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5cecbae4e7cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5cecbacc5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5cecbac6a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5cecbac6a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5cecbac625c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5cecbace32b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5cecbace32b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5cecbac8f9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5cecbac8f9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5cecbac8f9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5cecbac8f9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5cecbae33f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5cecbacc5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5cecbac6a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5cecbac6a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5cecbac625c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5cecba9e517b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5cecba9dd2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5cecba9e2889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5cecbacc5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5cecbac733ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5cecbac733ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5cecbac625c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5cecbace32b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5cecbace32b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5cecbac9634a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5cecbac9634a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5cecbacc5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5cecbac6a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5cecbac6a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5cecbac62980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5cecbac62980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5cecba8e849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5cecba8e849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5cecba8e1a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5cecba8e1a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x77285242a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x77285242a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5cecba8057e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x772828d08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x772828d08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x772828d08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x772828d08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x772828d08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x772828d09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x772828d09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x772828d09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x772828d09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x772828d09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x772828d09280: 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 |
| ==2636493==ABORTING |
| ================================================================= |
| ==2636492==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x757a04509041 at pc 0x5e2c3899eded bp 0x757a06dffcf0 sp 0x757a06dff4b8 |
| READ of size 2 at 0x757a04509041 thread T185 |
| #0 0x60fe8ae6b601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7880f5e1c0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7880f5e0215c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x60fe8aece19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7880f5e0127d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7880f5e0931d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x60fe8b2bbf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x60fe8b2bbf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x60fe8b2bbf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x60fe8b2c09a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x60fe8b2c09a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x60fe8b26fca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x60fe8b26fca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x60fe8b0161b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x60fe8af65ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x60fe8b2a7cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x60fe8b28ddac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x60fe8b28d864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x60fe8b2553ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x60fe8b2553ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x60fe8b2445c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x60fe8b2c52b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x60fe8b2c52b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x60fe8b27834a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x60fe8b27834a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x60fe8b2a7cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x60fe8b24c94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x60fe8b24c94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x60fe8b2445c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x60fe8b2c52b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x60fe8b2c52b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x60fe8b2719b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x60fe8b2719b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x60fe8b2719b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x60fe8b2719b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x60fe8b4307cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x60fe8b2a7cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x60fe8b24c94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x60fe8b24c94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x60fe8b2445c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x60fe8b2c52b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x60fe8b2c52b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x60fe8b2719b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x60fe8b2719b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x60fe8b2719b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x60fe8b2719b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x60fe8b415f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x60fe8b2a7cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x60fe8b24c94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x60fe8b24c94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x60fe8b2445c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x60fe8afc717b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x60fe8afbf2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x60fe8afc4889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x60fe8b2a7cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x60fe8b2553ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x60fe8b2553ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x60fe8b2445c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x60fe8b2c52b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x60fe8b2c52b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x60fe8b27834a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x60fe8b27834a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x60fe8b2a7cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x60fe8b24c94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x60fe8b24c94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x60fe8b244980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x60fe8b244980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x60fe8aeca49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x60fe8aeca49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x60fe8aec3a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x60fe8aec3a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x788112c2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x788112c2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x60fe8ade77e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x7880e5108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7880e5108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7880e5108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7880e5108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7880e5108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7880e5109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7880e5109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7880e5109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7880e5109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7880e5109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7880e5109280: 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 |
| ==2636498==ABORTING |
| #0 0x62ab0e6e1601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7f6fa00a20bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7f6fa008815c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x62ab0e74419f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7f6fa008727d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7f6fa008f31d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x62ab0eb31f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x62ab0eb31f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x62ab0eb31f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x62ab0eb369a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x62ab0eb369a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x62ab0eae5ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x62ab0eae5ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x62ab0e88c1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x62ab0e7dbddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x62ab0eb1dcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x62ab0eb03dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x62ab0eb03864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x62ab0eacb3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x62ab0eacb3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x62ab0eaba5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x62ab0eb3b2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x62ab0eb3b2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x62ab0eaee34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x62ab0eaee34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x62ab0eb1dcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x62ab0eac294a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x62ab0eac294a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x62ab0eaba5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x62ab0eb3b2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x62ab0eb3b2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x62ab0eae79b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x62ab0eae79b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x62ab0eae79b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x62ab0eae79b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x62ab0eca67cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x62ab0eb1dcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x62ab0eac294a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x62ab0eac294a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x62ab0eaba5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x62ab0eb3b2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x62ab0eb3b2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x62ab0eae79b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x62ab0eae79b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x62ab0eae79b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x62ab0eae79b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x62ab0ec8bf69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x62ab0eb1dcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x62ab0eac294a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x62ab0eac294a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x62ab0eaba5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x62ab0eb3b2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x62ab0eb3b2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x62ab0eae79b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x62ab0eae79b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x62ab0eae79b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x62ab0eae79b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x62ab0ec8bf69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x62ab0eb1dcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x62ab0eac294a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x62ab0eac294a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x62ab0eaba5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x62ab0e83d17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x62ab0e8352af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x62ab0e83a889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x62ab0eb1dcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x62ab0eacb3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x62ab0eacb3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x62ab0eaba5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x62ab0eb3b2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x62ab0eb3b2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x62ab0eaee34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x62ab0eaee34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x62ab0eb1dcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x62ab0eac294a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x62ab0eac294a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x62ab0eaba980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x62ab0eaba980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x62ab0e74049a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x62ab0e74049a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x62ab0e739a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x62ab0e739a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7f6fbd82a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7f6fbd82a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x62ab0e65d7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x7f6f87708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f6f87708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f6f87708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f6f87708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f6f87708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7f6f87709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7f6f87709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7f6f87709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f6f87709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f6f87709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f6f87709280: 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 |
| ==2636503==ABORTING |
| #0 0x5a8f669af601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x76dafd0c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x76dafd0aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5a8f66a1219f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x76dafd0a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x76dafd0b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5a8f66dfff3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5a8f66dfff3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5a8f66dfff3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5a8f66e049a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5a8f66e049a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5a8f66db3ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5a8f66db3ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5a8f66b5a1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5a8f66aa9ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5a8f66debcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5a8f66dd1dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5a8f66dd1864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5a8f66d993ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5a8f66d993ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5a8f66d885c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5a8f66e092b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5a8f66e092b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5a8f66dbc34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5a8f66dbc34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5a8f66debcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5a8f66d9094a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5a8f66d9094a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5a8f66d885c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5a8f66e092b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5a8f66e092b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5a8f66db59b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5a8f66db59b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5a8f66db59b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5a8f66db59b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5a8f66f747cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5a8f66debcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5a8f66d9094a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5a8f66d9094a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5a8f66d885c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5a8f66e092b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5a8f66e092b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5a8f66db59b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5a8f66db59b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5a8f66db59b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5a8f66db59b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5a8f66f59f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5a8f66debcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5a8f66d9094a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5a8f66d9094a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5a8f66d885c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5a8f66b0b17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5a8f66b032af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5a8f66b08889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5a8f66debcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5a8f66d993ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5a8f66d993ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5a8f66d885c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5a8f66e092b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5a8f66e092b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5a8f66dbc34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5a8f66dbc34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5a8f66debcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5a8f66d9094a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5a8f66d9094a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5a8f66d88980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5a8f66d88980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5a8f66a0e49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5a8f66a0e49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5a8f66a07a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5a8f66a07a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x76db1922a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x76db1922a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5a8f6692b7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x76daea508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76daea508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76daea508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76daea508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76daea508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x76daea509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x76daea509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x76daea509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76daea509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76daea509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76daea509280: 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 |
| ==2636500==ABORTING |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/copy_spec.rb |
| #0 0x5e2c3899edec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x757a155cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5e2c38a2395e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x757a3469ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x757a34729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x757a04509041 is located in stack of thread T185 at offset 65 in frame |
| #0 0x757a155cd4df 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 T185 created by T0 here: |
| #0 0x5e2c38a0b601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x757a155c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x757a155ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5e2c38a6e19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x757a155ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x757a155b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5e2c38e5bf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5e2c38e5bf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5e2c38e5bf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5e2c38e609a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5e2c38e609a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5e2c38e0fca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5e2c38e0fca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5e2c38bb61b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5e2c38b05ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5e2c38e47cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5e2c38e2ddac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5e2c38e2d864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5e2c38df53ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5e2c38df53ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5e2c38de45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5e2c38e652b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5e2c38e652b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5e2c38e1834a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5e2c38e1834a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5e2c38e47cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5e2c38dec94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5e2c38dec94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5e2c38de45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5e2c38e652b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5e2c38e652b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5e2c38e119b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5e2c38e119b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5e2c38e119b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5e2c38e119b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5e2c38fd07cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5e2c38e47cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5e2c38dec94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5e2c38dec94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5e2c38de45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5e2c38e652b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5e2c38e652b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5e2c38e119b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5e2c38e119b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5e2c38e119b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5e2c38e119b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5e2c38fb5f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5e2c38e47cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5e2c38dec94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5e2c38dec94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5e2c38de45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5e2c38e652b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5e2c38e652b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5e2c38e119b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5e2c38e119b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5e2c38e119b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5e2c38e119b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5e2c38fb5f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5e2c38e47cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5e2c38dec94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5e2c38dec94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5e2c38de45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5e2c38b6717b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5e2c38b5f2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5e2c38b64889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5e2c38e47cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5e2c38df53ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5e2c38df53ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5e2c38de45c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5e2c38e652b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5e2c38e652b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5e2c38e1834a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5e2c38e1834a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5e2c38e47cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5e2c38dec94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5e2c38dec94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5e2c38de4980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5e2c38de4980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5e2c38a6a49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5e2c38a6a49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5e2c38a63a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5e2c38a63a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x757a3462a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x757a3462a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5e2c389877e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) in strlen |
| Shadow bytes around the buggy address: |
| 0x757a04508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x757a04508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x757a04508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x757a04508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x757a04508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x757a04509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x757a04509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x757a04509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x757a04509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x757a04509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x757a04509280: 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 |
| ==2636492==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |