| "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. |
| ================================================================= |
| ==2916336==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x762890d09041 at pc 0x641d85255ded bp 0x762893fffcf0 sp 0x762893fff4b8 |
| READ of size 2 at 0x762890d09041 thread T404 |
| #0 0x641d85255dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x7628b08cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x641d852da95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7628cca9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7628ccb29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x762890d09041 is located in stack of thread T404 at offset 65 in frame |
| #0 0x7628b08cd4df 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 T404 created by T0 here: |
| #0 0x641d852c2601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x7628b08c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7628b08ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x641d8532519f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7628b08ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7628b08b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x641d85712f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x641d85712f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x641d85712f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x641d857179f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x641d857179f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x641d856c6cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x641d856c6cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x641d8546d1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x641d853bcddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x641d856fed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x641d856a399a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #17 0x641d856a399a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #18 0x641d8569b617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #19 0x641d8571c301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #20 0x641d8571c301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #21 0x641d856c8a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #22 0x641d856c8a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #23 0x641d856c8a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #24 0x641d856c8a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #25 0x641d8532519f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #26 0x641d856fed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #27 0x641d856a399a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #28 0x641d856a399a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #29 0x641d8569b617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #30 0x641d8571c301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #31 0x641d8571c301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #32 0x641d856c8a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #33 0x641d856c8a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #34 0x641d856c8a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #35 0x641d856c8a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #36 0x641d85879d35 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #37 0x641d856fed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #38 0x641d856a399a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #39 0x641d856a399a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #40 0x641d8569b617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #41 0x641d8571c301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #42 0x641d8571c301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #43 0x641d856c8a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #44 0x641d856c8a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #45 0x641d856c8a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #46 0x641d856c8a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #47 0x641d85879d35 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #48 0x641d856fed07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #49 0x641d856a399a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #50 0x641d856a399a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #51 0x641d8569b9d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #52 0x641d8569b9d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #53 0x641d8532149a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #54 0x641d8532149a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #55 0x641d8531aa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #56 0x641d8531aa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #57 0x7628cca2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #58 0x7628cca2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #59 0x641d8523e7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) in strlen |
| Shadow bytes around the buggy address: |
| 0x762890d08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x762890d08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x762890d08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x762890d08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x762890d08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x762890d09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x762890d09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x762890d09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x762890d09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x762890d09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x762890d09280: 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 |
| ==2916336==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/socket/test_tcp.rb |
| A test worker crashed. It might be an interpreter bug or |
| a bug in test/unit/parallel.rb. Try again without the -j |
| option. |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==2919634==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7af2c8b09041 at pc 0x615793c0aded bp 0x7af2cbfffcf0 sp 0x7af2cbfff4b8 |
| READ of size 2 at 0x7af2c8b09041 thread T37 |
| ================================================================= |
| ==2919630==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f8473709041 at pc 0x58d7e67e8ded bp 0x7f84761ffcf0 sp 0x7f84761ff4b8 |
| READ of size 2 at 0x7f8473709041 thread T36 |
| ================================================================= |
| ==2919629==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7e751a709041 at pc 0x5a113d86cded bp 0x7e751c5ffcf0 sp 0x7e751c5ff4b8 |
| READ of size 2 at 0x7e751a709041 thread T28 |
| ================================================================= |
| ==2919638==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x73f5e7109041 at pc 0x61f813b06ded bp 0x73f5ea5ffcf0 sp 0x73f5ea5ff4b8 |
| READ of size 2 at 0x73f5e7109041 thread T108 |
| #0 0x615793c0adec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x7af2dcecc8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x615793c8f95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7af2fa49ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7af2fa529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7af2c8b09041 is located in stack of thread T37 at offset 65 in frame |
| #0 0x7af2dcecc4df 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 T37 created by T0 here: |
| ================================================================= |
| ==2919631==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x724a8a509041 at pc 0x5ba39314bded bp 0x724a897ffcf0 sp 0x724a897ff4b8 |
| READ of size 2 at 0x724a8a509041 thread T244 |
| #0 0x5a113d86cdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x7e7522e318dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5a113d8f195e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7e754e09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7e754e129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| #0 0x58d7e67e8dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x7f84850cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x58d7e686d95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7f84a5e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7f84a5f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7e751a709041 is located in stack of thread T28Address 0x7f8473709041 is located in stack of thread T36 at offset 65 in frame |
| at offset 65 in frame |
| #0 0x7f84850cb4df 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 T36 created by T0 here: |
| #0 0x7e7522e314df 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 T28 created by T0 here: |
| #0 0x615793c77601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x7af2dcec50bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7af2dceab15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x615793cda19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7af2dceaa27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7af2dceb231d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6157940c7f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6157940c7f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6157940c7f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6157940cc9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6157940cc9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x61579407bcf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x61579407bcf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x615793e221b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x615793d71ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6157940b3d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x615794099dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6157940998b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6157940613fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6157940613fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x615794050617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6157940d1301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6157940d1301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x61579408439a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x61579408439a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x6157940b3d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x61579405899a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x61579405899a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x615794050617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6157940d1301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6157940d1301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x61579407da05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x61579407da05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x61579407da05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x61579407da05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x61579423c81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x6157940b3d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x61579405899a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x61579405899a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x615794050617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6157940d1301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6157940d1301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x61579407da05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x61579407da05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x61579407da05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x61579407da05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x615794221fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x6157940b3d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x61579405899a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x61579405899a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x615794050617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x615793dd317b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x615793dcb2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x615793dd0889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x6157940b3d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x6157940613fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x6157940613fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x615794050617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x6157940d1301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x6157940d1301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x61579408439a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x61579408439a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x6157940b3d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x61579405899a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x61579405899a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x6157940509d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x6157940509d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x615793cd649a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x615793cd649a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x615793ccfa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x615793ccfa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7af2fa42a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7af2fa42a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x615793bf37e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) in strlen |
| Shadow bytes around the buggy address: |
| 0x7af2c8b08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7af2c8b08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7af2c8b08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7af2c8b08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7af2c8b08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7af2c8b09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7af2c8b09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7af2c8b09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7af2c8b09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7af2c8b09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7af2c8b09280: 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 |
| ==2919634==ABORTING |
| #0 0x61f813b06dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x73f5f78ba8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x61f813b8b95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x73f61709ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x73f617129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x73f5e7109041 is located in stack of thread T108 at offset 65 in frame |
| #0 0x73f5f78ba4df 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 T108 created by T0 here: |
| #0 0x58d7e6855601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x7f84850c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7f84850aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x58d7e68b819f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7f84850a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7f84850b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x58d7e6ca5f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x58d7e6ca5f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x58d7e6ca5f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x58d7e6caa9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x58d7e6caa9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x58d7e6c59cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x58d7e6c59cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x58d7e6a001b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x58d7e694fddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x58d7e6c91d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x58d7e6c77dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x58d7e6c778b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x58d7e6c3f3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x58d7e6c3f3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x58d7e6c2e617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x58d7e6caf301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x58d7e6caf301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x58d7e6c6239a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x58d7e6c6239a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x58d7e6c91d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x58d7e6c3699a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x58d7e6c3699a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x58d7e6c2e617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x58d7e6caf301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x58d7e6caf301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x58d7e6c5ba05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x58d7e6c5ba05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x58d7e6c5ba05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x58d7e6c5ba05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x58d7e6e1a81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x58d7e6c91d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x58d7e6c3699a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x58d7e6c3699a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x58d7e6c2e617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x58d7e6caf301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x58d7e6caf301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x58d7e6c5ba05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x58d7e6c5ba05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x58d7e6c5ba05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x58d7e6c5ba05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x58d7e6dfffb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x58d7e6c91d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x58d7e6c3699a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x58d7e6c3699a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x58d7e6c2e617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x58d7e69b117b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x58d7e69a92af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x58d7e69ae889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x58d7e6c91d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x58d7e6c3f3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x58d7e6c3f3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x58d7e6c2e617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x58d7e6caf301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x58d7e6caf301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x58d7e6c6239a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x58d7e6c6239a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x58d7e6c91d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x58d7e6c3699a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x58d7e6c3699a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x58d7e6c2e9d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x58d7e6c2e9d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x58d7e68b449a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x58d7e68b449a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x58d7e68ada06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x58d7e68ada06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7f84a5e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7f84a5e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x58d7e67d17e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) in strlen |
| Shadow bytes around the buggy address: |
| 0x7f8473708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f8473708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f8473708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f8473708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f8473708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7f8473709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7f8473709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7f8473709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f8473709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f8473709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f8473709280: 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 |
| ==2919630==ABORTING |
| #0 0x5a113d8d9601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x7e7522e2a0bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7e7522e1015c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5a113d93c19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7e7522e0f27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7e7522e1731d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5a113dd29f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5a113dd29f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5a113dd29f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5a113dd2e9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5a113dd2e9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5a113dcddcf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5a113dcddcf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5a113da841b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5a113d9d3ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5a113dd15d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5a113dcfbdfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5a113dcfb8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5a113dcc33fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5a113dcc33fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5a113dcb2617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5a113dd33301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5a113dd33301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5a113dce639a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5a113dce639a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5a113dd15d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5a113dcba99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5a113dcba99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5a113dcb2617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5a113dd33301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5a113dd33301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5a113dcdfa05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5a113dcdfa05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5a113dcdfa05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5a113dcdfa05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5a113de9e81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5a113dd15d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5a113dcba99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5a113dcba99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5a113dcb2617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5a113dd33301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5a113dd33301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5a113dcdfa05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5a113dcdfa05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5a113dcdfa05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5a113dcdfa05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5a113de83fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5a113dd15d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5a113dcba99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5a113dcba99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5a113dcb2617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5a113da3517b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5a113da2d2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5a113da32889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5a113dd15d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5a113dcc33fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5a113dcc33fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5a113dcb2617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5a113dd33301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5a113dd33301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5a113dce639a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5a113dce639a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5a113dd15d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5a113dcba99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5a113dcba99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5a113dcb29d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5a113dcb29d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5a113d93849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5a113d93849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5a113d931a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5a113d931a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7e754e02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7e754e02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5a113d8557e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) in strlen |
| Shadow bytes around the buggy address: |
| 0x7e751a708d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e751a708e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e751a708e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e751a708f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e751a708f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7e751a709000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7e751a709080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7e751a709100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e751a709180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e751a709200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e751a709280: 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 |
| ==2919629==ABORTING |
| #0 0x61f813b73601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x73f5f78b30bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x73f5f789915c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x61f813bd619f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x73f5f789827d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x73f5f78a031d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x61f813fc3f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x61f813fc3f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x61f813fc3f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x61f813fc89f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x61f813fc89f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x61f813f77cf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x61f813f77cf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x61f813d1e1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x61f813c6dddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x61f813fafd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x61f813f95dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x61f813f958b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x61f813f5d3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x61f813f5d3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x61f813f4c617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x61f813fcd301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x61f813fcd301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x61f813f8039a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x61f813f8039a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x61f813fafd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x61f813f5499a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x61f813f5499a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x61f813f4c617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x61f813fcd301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x61f813fcd301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x61f813f79a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x61f813f79a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x61f813f79a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x61f813f79a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x61f81413881d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x61f813fafd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x61f813f5499a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x61f813f5499a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x61f813f4c617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x61f813fcd301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x61f813fcd301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x61f813f79a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x61f813f79a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x61f813f79a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x61f813f79a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x61f81411dfb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x61f813fafd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x61f813f5499a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x61f813f5499a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x61f813f4c617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x61f813fcd301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x61f813fcd301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x61f813f79a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x61f813f79a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x61f813f79a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x61f813f79a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x61f81411dfb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x61f813fafd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x61f813f5499a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x61f813f5499a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x61f813f4c617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x61f813ccf17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x61f813cc72af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x61f813ccc889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x61f813fafd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x61f813f5d3fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x61f813f5d3fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x61f813f4c617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x61f813fcd301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x61f813fcd301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x61f813f8039a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x61f813f8039a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x61f813fafd07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x61f813f5499a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x61f813f5499a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x61f813f4c9d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x61f813f4c9d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x61f813bd249a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x61f813bd249a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x61f813bcba06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x61f813bcba06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x73f61702a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x73f61702a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x61f813aef7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) in strlen |
| Shadow bytes around the buggy address: |
| 0x73f5e7108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73f5e7108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73f5e7108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73f5e7108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73f5e7108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x73f5e7109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x73f5e7109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x73f5e7109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73f5e7109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73f5e7109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x73f5e7109280: 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 |
| ==2919638==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 0x5ba39314bdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x724a9947b8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5ba3931d095e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x724aba89ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x724aba929c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x724a8a509041 is located in stack of thread T244 at offset 65 in frame |
| #0 0x724a9947b4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| This frame has 2 object(s): |
| [32, 48) 'sleep_ts' (line 3076) |
| [64, 65) 'notification' (line 3102) <== Memory access at offset 65 overflows this variable |
| HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork |
| (longjmp and C++ exceptions *are* supported) |
| Thread T244 created by T0 here: |
| #0 0x5ba3931b8601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| #1 0x724a994740bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x724a9945a15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5ba39321b19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x724a9945927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x724a9946131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5ba393608f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5ba393608f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5ba393608f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5ba39360d9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5ba39360d9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5ba3935bccf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5ba3935bccf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5ba3933631b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5ba3932b2ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5ba3935f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5ba3935dadfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5ba3935da8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5ba3935a23fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5ba3935a23fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5ba393591617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5ba393612301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5ba393612301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5ba3935c539a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5ba3935c539a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5ba3935f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5ba39359999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5ba39359999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5ba393591617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5ba393612301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5ba393612301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5ba3935bea05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5ba3935bea05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5ba3935bea05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5ba3935bea05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5ba39377d81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5ba3935f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5ba39359999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5ba39359999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5ba393591617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5ba393612301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5ba393612301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5ba3935bea05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5ba3935bea05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5ba3935bea05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5ba3935bea05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5ba393762fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5ba3935f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5ba39359999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5ba39359999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5ba393591617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5ba393612301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5ba393612301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5ba3935bea05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5ba3935bea05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5ba3935bea05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5ba3935bea05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5ba393762fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5ba3935f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5ba39359999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5ba39359999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5ba393591617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5ba39331417b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5ba39330c2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5ba393311889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5ba3935f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5ba3935a23fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5ba3935a23fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5ba393591617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5ba393612301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5ba393612301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5ba3935c539a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5ba3935c539a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5ba3935f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5ba39359999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5ba39359999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5ba3935919d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5ba3935919d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5ba39321749a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5ba39321749a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5ba393210a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5ba393210a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x724aba82a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x724aba82a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5ba3931347e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 0ae8979265cf7740df886a30731d233d7b0085c4) in strlen |
| Shadow bytes around the buggy address: |
| 0x724a8a508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x724a8a508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x724a8a508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x724a8a508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x724a8a508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x724a8a509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x724a8a509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x724a8a509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x724a8a509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x724a8a509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x724a8a509280: 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 |
| ==2919631==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |