| "make update-download -j16" exit with 0. |
| "make update-src -j16" exit with 0. |
| "make after-update -j16" exit with 0. |
| "make miniruby -j16" exit with 0. |
| "make ruby -j16" exit with 0. |
| "make all -j16" exit with 0. |
| "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. |
| ================================================================= |
| ==2616574==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7e0ed9d09041 at pc 0x5b6885e0cded bp 0x7e0edafffcf0 sp 0x7e0edafff4b8 |
| READ of size 2 at 0x7e0ed9d09041 thread T30 |
| #0 0x5b6885e0cdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7e0effecb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5b6885e9195e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7e0f02a9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7e0f02b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7e0ed9d09041 is located in stack of thread T30 at offset 65 in frame |
| #0 0x7e0effecb4df 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 T30 created by T0 here: |
| #0 0x5b6885e79601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7e0effec40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7e0effeaa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5b6885edc19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7e0effea927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7e0effeb131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5b68862c9f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5b68862c9f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5b68862c9f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5b68862ce9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5b68862ce9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5b688627dca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5b688627dca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5b68860241b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5b68862b5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #15 0x5b688629bdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #16 0x5b688629b864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #17 0x5b68862633ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #18 0x5b68862633ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #19 0x5b68862525c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #20 0x5b68862d32b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #21 0x5b68862d32b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #22 0x5b688627f9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #23 0x5b688627f9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #24 0x5b688627f9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #25 0x5b688627f9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #26 0x5b6886430ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #27 0x5b68862b5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #28 0x5b688625a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #29 0x5b688625a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #30 0x5b68862525c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #31 0x5b68862d32b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #32 0x5b68862d32b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #33 0x5b688627f9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #34 0x5b688627f9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #35 0x5b688627f9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #36 0x5b688627f9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #37 0x5b6886430ce5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #38 0x5b68862b5cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #39 0x5b688625a94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #40 0x5b688625a94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #41 0x5b6886252980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #42 0x5b6886252980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #43 0x5b6885ed849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #44 0x5b6885ed849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #45 0x5b6885ed1a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #46 0x5b6885ed1a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #47 0x7e0f02a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #48 0x7e0f02a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #49 0x5b6885df57e4 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: |
| 0x7e0ed9d08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e0ed9d08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e0ed9d08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e0ed9d08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e0ed9d08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7e0ed9d09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7e0ed9d09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7e0ed9d09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e0ed9d09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e0ed9d09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e0ed9d09280: 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 |
| ==2616574==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. |
| ================================================================= |
| ==2617979==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x76433c909041 at pc 0x5975eaee8ded bp 0x76433dbffcf0 sp 0x76433dbff4b8 |
| READ of size 2 at 0x76433c909041 thread T39 |
| ================================================================= |
| ==2617981==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x705b5b309041 at pc 0x597848a90ded bp 0x705b6b3ffcf0 sp 0x705b6b3ff4b8 |
| READ of size 2 at 0x705b5b309041 thread T296 |
| ================================================================= |
| ==2617968==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x71d476109041 at pc 0x5ab39f2a6ded bp 0x71d477fffcf0 sp 0x71d477fff4b8 |
| READ of size 2 at 0x71d476109041 thread T56 |
| ================================================================= |
| ==2617973==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x756816709041 at pc 0x5da21c2c7ded bp 0x7568179ffcf0 sp 0x7568179ff4b8 |
| READ of size 2 at 0x756816709041 thread T54 |
| #0 0x5975eaee8dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7643480cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5975eaf6d95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x76436549ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x764365529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x76433c909041 is located in stack of thread T39 at offset 65 in frame |
| #0 0x7643480cb4df 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: |
| #0 0x597848a90dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x705b7097d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x597848b1595e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x705b91c9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x705b91d29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x705b5b309041 is located in stack of thread T296 at offset 65 in frame |
| #0 0x705b7097d4df 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 T296 created by T0 here: |
| #0 0x5975eaf55601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x7643480c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7643480aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5975eafb819f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7643480a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7643480b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5975eb3a5f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5975eb3a5f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5975eb3a5f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5975eb3aa9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5975eb3aa9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5975eb359ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5975eb359ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5975eb1001b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5975eb04fddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5975eb377dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5975eb377864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5975eb33f3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5975eb33f3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5975eb3af2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5975eb3af2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5975eb36234a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5975eb36234a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5975eb33694a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5975eb33694a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5975eb3af2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5975eb3af2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5975eb35b9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5975eb35b9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5975eb35b9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5975eb35b9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5975eb51a7cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5975eb33694a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5975eb33694a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5975eb3af2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5975eb3af2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5975eb35b9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5975eb35b9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5975eb35b9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5975eb35b9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5975eb4fff69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5975eb33694a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5975eb33694a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5975eb0b117b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5975eb0a92af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5975eb0ae889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5975eb33f3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5975eb33f3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5975eb32e5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5975eb3af2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5975eb3af2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5975eb36234a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5975eb36234a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5975eb391cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5975eb33694a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5975eb33694a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5975eb32e980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5975eb32e980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5975eafb449a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5975eafb449a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5975eafada06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5975eafada06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x76436542a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x76436542a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5975eaed17e4 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: |
| 0x76433c908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76433c908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76433c908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76433c908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76433c908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x76433c909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x76433c909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x76433c909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76433c909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76433c909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76433c909280: 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 |
| ==2617979==ABORTING |
| #0 0x5ab39f2a6dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x71d4a22cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5ab39f32b95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x71d4a4e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x71d4a4f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x71d476109041 is located in stack of thread T56 at offset 65 in frame |
| #0 0x71d4a22cb4df 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 T56 created by T0 here: |
| #0 0x597848afd601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x705b709760bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x705b7095c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x597848b6019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x705b7095b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x705b7096331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x597848f4df3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x597848f4df3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x597848f4df3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x597848f529a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x597848f529a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x597848f01ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x597848f01ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x597848ca81b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x597848bf7ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x597848f1fdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x597848f1f864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x597848ee73ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x597848ee73ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x597848f572b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x597848f572b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x597848f0a34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x597848f0a34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x597848ede94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x597848ede94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x597848f572b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x597848f572b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x597848f039b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x597848f039b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x597848f039b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x597848f039b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5978490c27cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x597848ede94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x597848ede94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x597848f572b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x597848f572b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x597848f039b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x597848f039b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x597848f039b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x597848f039b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5978490a7f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x597848ede94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x597848ede94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x597848c5917b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x597848c512af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x597848c56889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x597848ee73ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x597848ee73ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x597848ed65c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x597848f572b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x597848f572b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x597848f0a34a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x597848f0a34a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x597848f39cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x597848ede94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x597848ede94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x597848ed6980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x597848ed6980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x597848b5c49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x597848b5c49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x597848b55a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x597848b55a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x705b91c2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x705b91c2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x597848a797e4 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: |
| 0x705b5b308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x705b5b308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x705b5b308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x705b5b308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x705b5b308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x705b5b309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x705b5b309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x705b5b309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x705b5b309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x705b5b309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x705b5b309280: 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 |
| ==2617981==ABORTING |
| #0 0x5da21c2c7dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x75682b47d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5da21c34c95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x75684769ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x756847729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x756816709041 is located in stack of thread T54 at offset 65 in frame |
| #0 0x75682b47d4df 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 T54 created by T0 here: |
| ================================================================= |
| ==2617970==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x798eafd09041 at pc 0x5be19960dded bp 0x798eb19ffcf0 sp 0x798eb19ff4b8 |
| READ of size 2 at 0x798eafd09041 thread T16 |
| #0 0x5ab39f313601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x71d4a22c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x71d4a22aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5ab39f37619f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x71d4a22a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x71d4a22b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5ab39f763f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5ab39f763f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5ab39f763f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5ab39f7689a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5ab39f7689a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5ab39f717ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5ab39f717ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5ab39f4be1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5ab39f40dddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5ab39f735dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5ab39f735864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5ab39f6fd3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5ab39f6fd3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5ab39f76d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5ab39f76d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5ab39f72034a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5ab39f72034a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5ab39f6f494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5ab39f6f494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5ab39f76d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5ab39f76d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5ab39f7199b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5ab39f7199b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5ab39f7199b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5ab39f7199b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5ab39f8d87cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5ab39f6f494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5ab39f6f494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5ab39f76d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5ab39f76d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5ab39f7199b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5ab39f7199b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5ab39f7199b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5ab39f7199b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5ab39f8bdf69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5ab39f6f494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5ab39f6f494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5ab39f46f17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5ab39f4672af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5ab39f46c889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5ab39f6fd3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5ab39f6fd3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5ab39f6ec5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5ab39f76d2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5ab39f76d2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5ab39f72034a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5ab39f72034a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5ab39f74fcb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5ab39f6f494a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5ab39f6f494a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5ab39f6ec980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5ab39f6ec980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5ab39f37249a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5ab39f37249a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5ab39f36ba06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5ab39f36ba06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x71d4a4e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x71d4a4e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5ab39f28f7e4 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: |
| 0x71d476108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71d476108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71d476108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71d476108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71d476108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x71d476109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x71d476109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x71d476109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71d476109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71d476109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71d476109280: 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 |
| ==2617968==ABORTING |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/active_spec.rb |
| #0 0x5da21c334601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x75682b4760bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x75682b45c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5da21c39719f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x75682b45b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x75682b46331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5da21c784f3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5da21c784f3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5da21c784f3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5da21c7899a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5da21c7899a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5da21c738ca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5da21c738ca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5da21c4df1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5da21c42eddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5da21c756dac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5da21c756864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5da21c71e3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5da21c71e3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5da21c74134a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5da21c74134a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5da21c73a9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5da21c73a9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5da21c73a9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5da21c73a9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5da21c8f97cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5da21c73a9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5da21c73a9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5da21c73a9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5da21c73a9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5da21c8def69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5da21c73a9b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5da21c73a9b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5da21c73a9b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5da21c73a9b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5da21c8def69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5da21c49017b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5da21c4882af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5da21c48d889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5da21c71e3ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5da21c71e3ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5da21c70d5c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5da21c78e2b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5da21c78e2b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5da21c74134a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5da21c74134a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5da21c770cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5da21c71594a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5da21c71594a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5da21c70d980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5da21c70d980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5da21c39349a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5da21c39349a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5da21c38ca06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5da21c38ca06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x75684762a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x75684762a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5da21c2b07e4 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: |
| 0x756816708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x756816708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x756816708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x756816708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x756816708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x756816709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x756816709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x756816709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x756816709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x756816709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x756816709280: 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 |
| ==2617973==ABORTING |
| #0 0x5be19960ddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x798eb52bb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5be19969295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x798ed6e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x798ed6f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x798eafd09041 is located in stack of thread T16 at offset 65 in frame |
| #0 0x798eb52bb4df 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 T16 created by T0 here: |
| #0 0x5be19967a601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: e0c2a913073b8b3e00e805d7489b314c1ae24193) |
| #1 0x798eb52b40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x798eb529a15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5be1996dd19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x798eb529927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x798eb52a131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5be199acaf3b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5be199acaf3b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5be199acaf3b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5be199acf9a5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5be199acf9a5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5be199a7eca5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5be199a7eca5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5be1998251b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5be199774ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5be199a9cdac in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5be199a9c864 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5be199a643ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5be199a643ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5be199a8734a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5be199a8734a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5be199a809b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5be199a809b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5be199a809b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5be199a809b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5be199c3f7cd in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5be199a809b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5be199a809b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5be199a809b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5be199a809b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5be199c24f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5be199a809b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5be199a809b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5be199a809b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5be199a809b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5be199c24f69 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5be1997d617b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5be1997ce2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5be1997d3889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5be199a643ac in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5be199a643ac in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5be199a535c7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5be199ad42b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5be199ad42b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5be199a8734a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5be199a8734a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5be199ab6cb7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5be199a5b94a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5be199a5b94a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5be199a53980 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5be199a53980 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5be1996d949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5be1996d949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5be1996d2a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5be1996d2a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x798ed6e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x798ed6e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5be1995f67e4 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: |
| 0x798eafd08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798eafd08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798eafd08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798eafd08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798eafd08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x798eafd09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x798eafd09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x798eafd09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798eafd09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798eafd09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x798eafd09280: 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 |
| ==2617970==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |