| "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. |
| ================================================================= |
| ==3062959==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x70d81d509041 at pc 0x5cf79449cded bp 0x70d8233ffcf0 sp 0x70d8233ff4b8 |
| READ of size 2 at 0x70d81d509041 thread T29 |
| #0 0x5cf79449cdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x70d844ecb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5cf79452195e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x70d847a9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x70d847b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x70d81d509041 is located in stack of thread T29 at offset 65 in frame |
| #0 0x70d844ecb4df 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 T29 created by T0 here: |
| #0 0x5cf794509601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x70d844ec40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x70d844eaa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5cf79456c19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x70d844ea927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x70d844eb131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5cf794959a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5cf794959a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5cf794959a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5cf79495e4a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5cf79495e4a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5cf79490da65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5cf79490da65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5cf7946b4458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5cf7949457f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #15 0x5cf79492bb2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #16 0x5cf79492b5e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #17 0x5cf7948f316c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #18 0x5cf7948f316c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #19 0x5cf7948e2387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #20 0x5cf794962db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #21 0x5cf794962db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #22 0x5cf79490f775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #23 0x5cf79490f775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #24 0x5cf79490f775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #25 0x5cf79490f775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #26 0x5cf794ac0e25 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #27 0x5cf7949457f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #28 0x5cf7948ea70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #29 0x5cf7948ea70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #30 0x5cf7948e2387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #31 0x5cf794962db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #32 0x5cf794962db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #33 0x5cf79490f775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #34 0x5cf79490f775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #35 0x5cf79490f775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #36 0x5cf79490f775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #37 0x5cf794ac0e25 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #38 0x5cf7949457f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #39 0x5cf7948ea70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #40 0x5cf7948ea70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #41 0x5cf7948e2740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #42 0x5cf7948e2740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #43 0x5cf79456849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #44 0x5cf79456849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #45 0x5cf794561a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #46 0x5cf794561a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #47 0x70d847a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #48 0x70d847a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #49 0x5cf7944857e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) in strlen |
| Shadow bytes around the buggy address: |
| 0x70d81d508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d81d508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d81d508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d81d508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d81d508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x70d81d509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x70d81d509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x70d81d509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d81d509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d81d509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70d81d509280: 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 |
| ==3062959==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/fiber/test_io.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. |
| ================================================================= |
| ==3064357==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x72919bd09041 at pc 0x61bc732f0ded bp 0x72919e7ffcf0 sp 0x72919e7ff4b8 |
| READ of size 2 at 0x72919bd09041 thread T178 |
| ================================================================= |
| ==3064350==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ca90df09041 at pc 0x5f018b982ded bp 0x7ca90fbffcf0 sp 0x7ca90fbff4b8 |
| READ of size 2 at 0x7ca90df09041 thread T39 |
| ================================================================= |
| ==3064346==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7112fc509041 at pc 0x645671939ded bp 0x7112fe3ffcf0 sp 0x7112fe3ff4b8 |
| READ of size 2 at 0x7112fc509041 thread T210 |
| ================================================================= |
| ==3064347==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7be040f09041 at pc 0x5fc26ee65ded bp 0x7be0445ffcf0 sp 0x7be0445ff4b8 |
| READ of size 2 at 0x7be040f09041 thread T45 |
| #0 0x61bc732f0dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x7291ad2cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x61bc7337595e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7291ce09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7291ce129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x72919bd09041 is located in stack of thread T178 at offset 65 in frame |
| #0 0x7291ad2cb4df 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 T178 created by T0 here: |
| ================================================================= |
| #0 0x5f018b982dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x7ca91a4cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5f018ba0795e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7ca93709ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7ca937129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7ca90df09041 is located in stack of thread T39 at offset 65 in frame |
| #0 0x7ca91a4cb4df 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 T39 created by T0 here: |
| ==3064355==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x74c10e709041 at pc 0x56636a20fded bp 0x74c10f9ffcf0 sp 0x74c10f9ff4b8 |
| READ of size 2 at 0x74c10e709041 thread T20 |
| #0 0x5f018b9ef601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x7ca91a4c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7ca91a4aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5f018ba5219f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7ca91a4a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7ca91a4b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5f018be3fa3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5f018be3fa3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5f018be3fa3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5f018be444a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5f018be444a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5f018bdf3a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5f018bdf3a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5f018bb9a458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5f018bae9dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5f018be2b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5f018be11b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5f018be115e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5f018bdd916c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5f018bdd916c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5f018bdc8387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5f018be48db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5f018be48db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5f018bdfc10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5f018bdfc10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5f018be2b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5f018bdd070a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5f018bdd070a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5f018bdc8387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5f018be48db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5f018be48db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5f018bdf5775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5f018bdf5775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5f018bdf5775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5f018bdf5775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5f018bfb491d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x5f018be2b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5f018bdd070a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5f018bdd070a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5f018bdc8387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5f018be48db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5f018be48db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5f018bdf5775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5f018bdf5775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5f018bdf5775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5f018bdf5775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5f018bf9a099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5f018be2b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5f018bdd070a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5f018bdd070a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5f018bdc8387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5f018bb4b21b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5f018bb4334f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5f018bb48929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5f018be2b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5f018bdd916c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5f018bdd916c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5f018bdc8387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5f018be48db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5f018be48db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5f018bdfc10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5f018bdfc10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5f018be2b7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5f018bdd070a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5f018bdd070a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5f018bdc8740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5f018bdc8740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5f018ba4e49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5f018ba4e49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5f018ba47a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5f018ba47a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7ca93702a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7ca93702a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5f018b96b7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) in strlen |
| Shadow bytes around the buggy address: |
| 0x7ca90df08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ca90df08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ca90df08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ca90df08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ca90df08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7ca90df09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7ca90df09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7ca90df09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ca90df09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ca90df09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7ca90df09280: 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 |
| ==3064350==ABORTING |
| #0 0x645671939dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x7113137cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6456719be95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x71133509ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x711335129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7112fc509041 is located in stack of thread T210 at offset 65 in frame |
| #0 0x7113137cd4df 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: |
| #0 0x61bc7335d601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x7291ad2c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7291ad2aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x61bc733c019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7291ad2a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7291ad2b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x61bc737ada3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x61bc737ada3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x61bc737ada3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x61bc737b24a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x61bc737b24a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x61bc73761a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x61bc73761a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x61bc73508458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x61bc73457dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x61bc737997f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x61bc7377fb2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x61bc7377f5e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x61bc7374716c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x61bc7374716c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x61bc73736387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x61bc737b6db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x61bc737b6db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x61bc7376a10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x61bc7376a10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x61bc737997f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x61bc7373e70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x61bc7373e70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x61bc73736387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x61bc737b6db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x61bc737b6db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x61bc73763775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x61bc73763775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x61bc73763775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x61bc73763775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x61bc7392291d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x61bc737997f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x61bc7373e70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x61bc7373e70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x61bc73736387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x61bc737b6db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x61bc737b6db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x61bc73763775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x61bc73763775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x61bc73763775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x61bc73763775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x61bc73908099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x61bc737997f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x61bc7373e70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x61bc7373e70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x61bc73736387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x61bc734b921b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x61bc734b134f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x61bc734b6929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x61bc737997f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x61bc7374716c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x61bc7374716c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x61bc73736387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x61bc737b6db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x61bc737b6db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x61bc7376a10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x61bc7376a10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x61bc737997f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x61bc7373e70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x61bc7373e70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x61bc73736740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x61bc73736740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x61bc733bc49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x61bc733bc49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x61bc733b5a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x61bc733b5a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7291ce02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7291ce02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x61bc732d97e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) in strlen |
| Shadow bytes around the buggy address: |
| 0x72919bd08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72919bd08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72919bd08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72919bd08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72919bd08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x72919bd09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x72919bd09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x72919bd09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72919bd09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72919bd09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x72919bd09280: 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 |
| ==3064357==ABORTING |
| #0 0x5fc26ee65dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x7be0551cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5fc26eeea95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7be07b29ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7be07b329c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7be040f09041 is located in stack of thread T45 at offset 65 in frame |
| #0 0x7be0551cd4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T45 created by T0 here: |
| #0 0x6456719a6601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x7113137c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7113137ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x645671a0919f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7113137ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7113137b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x645671df6a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x645671df6a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x645671df6a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x645671dfb4a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x645671dfb4a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x645671daaa65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x645671daaa65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x645671b51458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x645671aa0dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x645671de27f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x645671dc8b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x645671dc85e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x645671d9016c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x645671d9016c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x645671d7f387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x645671dffdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x645671dffdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x645671db310a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x645671db310a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x645671de27f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x645671d8770a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x645671d8770a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x645671d7f387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x645671dffdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x645671dffdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x645671dac775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x645671dac775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x645671dac775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x645671dac775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x645671f6b91d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x645671de27f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x645671d8770a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x645671d8770a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x645671d7f387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x645671dffdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x645671dffdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x645671dac775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x645671dac775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x645671dac775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x645671dac775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x645671f51099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x645671de27f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x645671d8770a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x645671d8770a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x645671d7f387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x645671b0221b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x645671afa34f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x645671aff929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x645671de27f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x645671d9016c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x645671d9016c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x645671d7f387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x645671dffdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x645671dffdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x645671db310a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x645671db310a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x645671de27f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x645671d8770a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x645671d8770a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x645671d7f740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x645671d7f740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x645671a0549a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x645671a0549a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x6456719fea06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x6456719fea06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x71133502a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x71133502a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x6456719227e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) in strlen |
| Shadow bytes around the buggy address: |
| 0x7112fc508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7112fc508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7112fc508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7112fc508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7112fc508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7112fc509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7112fc509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7112fc509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7112fc509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7112fc509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7112fc509280: 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 |
| ==3064346==ABORTING |
| #0 0x5fc26eed2601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x7be0551c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7be0551ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5fc26ef3519f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7be0551ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7be0551b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5fc26f322a3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5fc26f322a3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5fc26f322a3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5fc26f3274a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5fc26f3274a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5fc26f2d6a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5fc26f2d6a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5fc26f07d458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x5fc26efccdfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5fc26f30e7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5fc26f2f4b2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5fc26f2f45e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5fc26f2bc16c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5fc26f2bc16c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5fc26f2ab387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5fc26f32bdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5fc26f32bdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5fc26f2df10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5fc26f2df10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5fc26f30e7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5fc26f2b370a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5fc26f2b370a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5fc26f2ab387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5fc26f32bdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5fc26f32bdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5fc26f2d8775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5fc26f2d8775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5fc26f2d8775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5fc26f2d8775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5fc26f49791d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x5fc26f30e7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5fc26f2b370a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5fc26f2b370a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5fc26f2ab387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5fc26f32bdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5fc26f32bdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5fc26f2d8775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5fc26f2d8775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5fc26f2d8775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5fc26f2d8775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5fc26f47d099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5fc26f30e7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5fc26f2b370a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5fc26f2b370a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5fc26f2ab387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5fc26f32bdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5fc26f32bdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5fc26f2d8775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5fc26f2d8775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5fc26f2d8775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5fc26f2d8775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5fc26f47d099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5fc26f30e7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5fc26f2b370a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5fc26f2b370a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5fc26f2ab387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5fc26f02e21b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5fc26f02634f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5fc26f02b929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5fc26f30e7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5fc26f2bc16c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5fc26f2bc16c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5fc26f2ab387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5fc26f32bdb1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5fc26f32bdb1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5fc26f2df10a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5fc26f2df10a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5fc26f30e7f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5fc26f2b370a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5fc26f2b370a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5fc26f2ab740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5fc26f2ab740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5fc26ef3149a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5fc26ef3149a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5fc26ef2aa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5fc26ef2aa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7be07b22a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7be07b22a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5fc26ee4e7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/copy_spec.rb |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) in strlen |
| Shadow bytes around the buggy address: |
| 0x7be040f08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7be040f08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7be040f08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7be040f08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7be040f08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7be040f09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7be040f09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7be040f09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7be040f09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7be040f09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7be040f09280: 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 |
| ==3064347==ABORTING |
| #0 0x56636a20fdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x74c1186cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x56636a29495e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x74c13489ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x74c134929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x74c10e709041 is located in stack of thread T20 at offset 65 in frame |
| #0 0x74c1186cb4df 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 T20 created by T0 here: |
| #0 0x56636a27c601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| #1 0x74c1186c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x74c1186aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x56636a2df19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x74c1186a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x74c1186b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x56636a6cca3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x56636a6cca3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x56636a6cca3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x56636a6d14a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x56636a6d14a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x56636a680a65 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x56636a680a65 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x56636a427458 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2187:5 |
| #14 0x56636a376dfc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x56636a6b87f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x56636a69eb2c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x56636a69e5e4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x56636a66616c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x56636a66616c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x56636a655387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x56636a6d5db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x56636a6d5db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x56636a68910a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x56636a68910a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x56636a6b87f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x56636a65d70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x56636a65d70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x56636a655387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x56636a6d5db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x56636a6d5db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x56636a682775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x56636a682775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x56636a682775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x56636a682775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x56636a84191d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7878:24 |
| #36 0x56636a6b87f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x56636a65d70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x56636a65d70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x56636a655387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x56636a6d5db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x56636a6d5db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x56636a682775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x56636a682775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x56636a682775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x56636a682775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x56636a827099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x56636a6b87f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x56636a65d70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x56636a65d70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x56636a655387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x56636a6d5db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x56636a6d5db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x56636a682775 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x56636a682775 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x56636a682775 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x56636a682775 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x56636a827099 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x56636a6b87f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x56636a65d70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x56636a65d70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x56636a655387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x56636a3d821b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x56636a3d034f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x56636a3d5929 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x56636a6b87f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x56636a66616c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x56636a66616c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x56636a655387 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x56636a6d5db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x56636a6d5db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x56636a68910a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x56636a68910a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x56636a6b87f7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x56636a65d70a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x56636a65d70a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x56636a655740 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x56636a655740 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x56636a2db49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x56636a2db49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x56636a2d4a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x56636a2d4a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x74c13482a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x74c13482a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x56636a1f87e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 18004d1f9a3d522048520f80fc5c04120d3cfa54) in strlen |
| Shadow bytes around the buggy address: |
| 0x74c10e708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x74c10e708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x74c10e708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x74c10e708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x74c10e708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x74c10e709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x74c10e709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x74c10e709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x74c10e709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x74c10e709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x74c10e709280: 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 |
| ==3064355==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |