| "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. |
| ================================================================= |
| ==2950373==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x71e756909041 at pc 0x57fce35d3ded bp 0x71e757bffcf0 sp 0x71e757bff4b8 |
| READ of size 2 at 0x71e756909041 thread T34 |
| #0 0x57fce35d3dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x71e77b46d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x57fce365895e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x71e77e09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x71e77e129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x71e756909041 is located in stack of thread T34 at offset 65 in frame |
| #0 0x71e77b46d4df 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 T34 created by T0 here: |
| #0 0x57fce3640601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x71e77b4660bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x71e77b44c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x57fce36a319f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x71e77b44b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x71e77b45331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x57fce3a90feb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x57fce3a90feb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x57fce3a90feb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x57fce3a95a55 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x57fce3a95a55 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x57fce3a44d55 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x57fce3a44d55 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x57fce37eb1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x57fce373addc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x57fce3a7cd67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x57fce3a62e5c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x57fce3a62914 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x57fce3a2a45c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x57fce3a2a45c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x57fce3a19a30 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #21 0x57fce3a19a30 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #22 0x57fce3a9a361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #23 0x57fce3a9a361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #24 0x57fce3a46a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #25 0x57fce3a46a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #26 0x57fce3a46a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #27 0x57fce3a46a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #28 0x57fce3bf7d95 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #29 0x57fce3a7cd67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #30 0x57fce3a219fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #31 0x57fce3a219fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #32 0x57fce3a19677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #33 0x57fce3a9a361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #34 0x57fce3a9a361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #35 0x57fce3a46a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #36 0x57fce3a46a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #37 0x57fce3a46a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #38 0x57fce3a46a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #39 0x57fce3bf7d95 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #40 0x57fce3a7cd67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #41 0x57fce3a219fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #42 0x57fce3a219fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #43 0x57fce3a19a30 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #44 0x57fce3a19a30 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #45 0x57fce369f49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #46 0x57fce369f49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #47 0x57fce3698a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #48 0x57fce3698a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #49 0x71e77e02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #50 0x71e77e02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #51 0x57fce35bc7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) in strlen |
| Shadow bytes around the buggy address: |
| 0x71e756908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71e756908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71e756908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71e756908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71e756908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x71e756909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x71e756909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x71e756909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71e756909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71e756909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x71e756909280: 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 |
| ==2950373==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/rubygems/test_bundled_ca.rb |
| A test worker crashed. It might be an interpreter bug or |
| a bug in test/unit/parallel.rb. Try again without the -j |
| option. |
| Children under /tmp/rubytest.85jmt0: |
| * drwx------ 4 80 2024-11-13 11:13:37 +0000 test_rubygems_20241113-2950373-fdcelj/ |
| * drwxr-xr-x 9 180 2024-11-13 11:13:37 +0000 gemhome/ |
| * drwxr-xr-x 2 40 2024-11-13 11:13:36 +0000 build_info/ |
| * drwxr-xr-x 2 40 2024-11-13 11:13:37 +0000 cache/ |
| * drwxr-xr-x 2 40 2024-11-13 11:13:37 +0000 doc/ |
| * drwxr-xr-x 2 40 2024-11-13 11:13:37 +0000 extensions/ |
| * drwxr-xr-x 2 40 2024-11-13 11:13:37 +0000 gems/ |
| * drwxr-xr-x 2 40 2024-11-13 11:13:37 +0000 plugins/ |
| * drwxr-xr-x 3 60 2024-11-13 11:13:37 +0000 specifications/ |
| * drwxr-xr-x 2 40 2024-11-13 11:13:37 +0000 default/ |
| * drwxr-xr-x 2 40 2024-11-13 11:13:37 +0000 userhome/ |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==2951584==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7e3246909041 at pc 0x6153fbd02ded bp 0x7e324a9ffcf0 sp 0x7e324a9ff4b8 |
| READ of size 2 at 0x7e3246909041 thread T96 |
| ================================================================= |
| ==2951587==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7b28cf509041 at pc 0x64daf504bded bp 0x7b28d29ffcf0 sp 0x7b28d29ff4b8 |
| READ of size 2 at 0x7b28cf509041 thread T98 |
| ================================================================= |
| ==2951579==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fbd68909041 at pc 0x591648cf8ded bp 0x7fbd6b3ffcf0 sp 0x7fbd6b3ff4b8 |
| READ of size 2 at 0x7fbd68909041 thread T43 |
| ================================================================= |
| ==2951580==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x788685109041 at pc 0x5b83a75a0ded bp 0x7886871ffcf0 sp 0x7886871ff4b8 |
| READ of size 2 at 0x788685109041 thread T104 |
| #0 0x6153fbd02dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x7e32728cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6153fbd8795e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7e327549ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7e3275529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7e3246909041 is located in stack of thread T96 at offset 65 in frame |
| #0 0x7e32728cb4df 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 T96 created by T0 here: |
| ================================================================= |
| ==2951583==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f5ce8109041 at pc 0x6035e1255ded bp 0x7f5ceb5ffcf0 sp 0x7f5ceb5ff4b8 |
| READ of size 2 at 0x7f5ce8109041 thread T177 |
| #0 0x64daf504bdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x7b28dfbcd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x64daf50d095e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7b28fc69ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7b28fc729c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7b28cf509041 is located in stack of thread T98 at offset 65 in frame |
| #0 0x7b28dfbcd4df 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 T98 created by T0 here: |
| #0 0x591648cf8dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x7fbd7dd9c8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x591648d7d95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7fbd9b09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7fbd9b129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7fbd68909041 is located in stack of thread T43 at offset 65 in frame |
| #0 0x7fbd7dd9c4df 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 T43 created by T0 here: |
| #0 0x6153fbd6f601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x7e32728c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7e32728aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6153fbdd219f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7e32728a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7e32728b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6153fc1bffeb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6153fc1bffeb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6153fc1bffeb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6153fc1c4a55 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6153fc1c4a55 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x6153fc173d55 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x6153fc173d55 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6153fbf1a1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x6153fbe69ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6153fc1abd67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6153fc191e5c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6153fc191914 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6153fc15945c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6153fc15945c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6153fc148677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6153fc1c9361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6153fc1c9361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x6153fc17c3fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x6153fc17c3fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x6153fc1abd67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x6153fc1509fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x6153fc1509fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x6153fc148677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6153fc1c9361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6153fc1c9361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x6153fc175a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x6153fc175a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x6153fc175a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x6153fc175a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x6153fc33487d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x6153fc1abd67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x6153fc1509fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x6153fc1509fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x6153fc148677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6153fc1c9361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6153fc1c9361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x6153fc175a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x6153fc175a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x6153fc175a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x6153fc175a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x6153fc31a019 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x6153fc1abd67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x6153fc1509fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x6153fc1509fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x6153fc148677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x6153fbecb17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x6153fbec32af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x6153fbec8889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x6153fc1abd67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x6153fc15945c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x6153fc15945c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x6153fc148677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x6153fc1c9361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x6153fc1c9361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x6153fc17c3fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x6153fc17c3fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x6153fc1abd67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x6153fc1509fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x6153fc1509fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x6153fc148a30 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x6153fc148a30 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x6153fbdce49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x6153fbdce49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x6153fbdc7a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x6153fbdc7a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7e327542a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7e327542a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x6153fbceb7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) in strlen |
| Shadow bytes around the buggy address: |
| 0x7e3246908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e3246908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e3246908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e3246908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e3246908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7e3246909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7e3246909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7e3246909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e3246909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e3246909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7e3246909280: 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 |
| ==2951584==ABORTING |
| #0 0x5b83a75a0dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x78868b78d8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5b83a762595e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7886b9a9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7886b9b29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x788685109041 is located in stack of thread T104 at offset 65 in frame |
| #0 0x78868b78d4df 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 T104 created by T0 here: |
| #0 0x64daf50b8601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x7b28dfbc60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7b28dfbac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x64daf511b19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7b28dfbab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7b28dfbb331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x64daf5508feb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x64daf5508feb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x64daf5508feb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x64daf550da55 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x64daf550da55 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x64daf54bcd55 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x64daf54bcd55 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x64daf52631b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x64daf51b2ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x64daf54f4d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x64daf54dae5c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x64daf54da914 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x64daf54a245c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x64daf54a245c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x64daf5491677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x64daf5512361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x64daf5512361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x64daf54c53fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x64daf54c53fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x64daf54f4d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x64daf54999fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x64daf54999fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x64daf5491677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x64daf5512361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x64daf5512361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x64daf54bea65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x64daf54bea65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x64daf54bea65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x64daf54bea65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x64daf567d87d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x64daf54f4d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x64daf54999fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x64daf54999fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x64daf5491677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x64daf5512361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x64daf5512361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x64daf54bea65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x64daf54bea65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x64daf54bea65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x64daf54bea65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x64daf5663019 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x64daf54f4d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x64daf54999fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x64daf54999fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x64daf5491677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x64daf521417b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x64daf520c2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x64daf5211889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x64daf54f4d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x64daf54a245c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x64daf54a245c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x64daf5491677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x64daf5512361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x64daf5512361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x64daf54c53fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x64daf54c53fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x64daf54f4d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x64daf54999fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x64daf54999fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x64daf5491a30 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x64daf5491a30 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x64daf511749a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x64daf511749a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x64daf5110a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x64daf5110a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7b28fc62a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7b28fc62a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x64daf50347e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) in strlen |
| Shadow bytes around the buggy address: |
| 0x7b28cf508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b28cf508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b28cf508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b28cf508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b28cf508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7b28cf509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7b28cf509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7b28cf509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b28cf509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b28cf509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7b28cf509280: 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 |
| ==2951587==ABORTING |
| #0 0x591648d65601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x7fbd7dd950bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7fbd7dd7b15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x591648dc819f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7fbd7dd7a27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7fbd7dd8231d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5916491b5feb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5916491b5feb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5916491b5feb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5916491baa55 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5916491baa55 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x591649169d55 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x591649169d55 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x591648f101b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x591648e5fddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5916491a1d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x591649187e5c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x591649187914 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x59164914f45c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x59164914f45c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x59164913e677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5916491bf361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5916491bf361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5916491723fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5916491723fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5916491a1d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5916491469fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5916491469fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x59164913e677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5916491bf361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5916491bf361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x59164916ba65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x59164916ba65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x59164916ba65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x59164916ba65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x59164932a87d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5916491a1d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5916491469fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5916491469fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x59164913e677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5916491bf361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5916491bf361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x59164916ba65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x59164916ba65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x59164916ba65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x59164916ba65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x591649310019 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5916491a1d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5916491469fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5916491469fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x59164913e677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x591648ec117b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x591648eb92af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x591648ebe889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5916491a1d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x59164914f45c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x59164914f45c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x59164913e677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5916491bf361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5916491bf361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5916491723fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5916491723fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5916491a1d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5916491469fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5916491469fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x59164913ea30 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x59164913ea30 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x591648dc449a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x591648dc449a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x591648dbda06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x591648dbda06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7fbd9b02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7fbd9b02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x591648ce17e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) in strlen |
| Shadow bytes around the buggy address: |
| 0x7fbd68908d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7fbd68908e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7fbd68908e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7fbd68908f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7fbd68908f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7fbd68909000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7fbd68909080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7fbd68909100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7fbd68909180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7fbd68909200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7fbd68909280: 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 |
| ==2951579==ABORTING |
| #0 0x5b83a760d601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x78868b7860bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x78868b76c15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5b83a767019f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x78868b76b27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x78868b77331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5b83a7a5dfeb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5b83a7a5dfeb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5b83a7a5dfeb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5b83a7a62a55 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5b83a7a62a55 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5b83a7a11d55 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5b83a7a11d55 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5b83a77b81b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5b83a7707ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5b83a7a49d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5b83a7a2fe5c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5b83a7a2f914 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5b83a79f745c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5b83a79f745c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5b83a79e6677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5b83a7a67361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5b83a7a67361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5b83a7a1a3fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5b83a7a1a3fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5b83a7a49d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5b83a79ee9fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5b83a79ee9fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5b83a79e6677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5b83a7a67361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5b83a7a67361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5b83a7a13a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5b83a7a13a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5b83a7a13a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5b83a7a13a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5b83a7bd287d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5b83a7a49d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5b83a79ee9fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5b83a79ee9fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5b83a79e6677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5b83a7a67361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5b83a7a67361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5b83a7a13a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5b83a7a13a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5b83a7a13a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5b83a7a13a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5b83a7bb8019 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5b83a7a49d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5b83a79ee9fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5b83a79ee9fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5b83a79e6677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5b83a7a67361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5b83a7a67361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5b83a7a13a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5b83a7a13a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5b83a7a13a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5b83a7a13a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5b83a7bb8019 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5b83a7a49d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5b83a79ee9fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5b83a79ee9fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5b83a79e6677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5b83a776917b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5b83a77612af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5b83a7766889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5b83a7a49d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5b83a79f745c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5b83a79f745c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5b83a79e6677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5b83a7a67361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5b83a7a67361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5b83a7a1a3fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5b83a7a1a3fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5b83a7a49d67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5b83a79ee9fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5b83a79ee9fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5b83a79e6a30 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5b83a79e6a30 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5b83a766c49a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5b83a766c49a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5b83a7665a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5b83a7665a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7886b9a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7886b9a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5b83a75897e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) in strlen |
| Shadow bytes around the buggy address: |
| 0x788685108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x788685108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x788685108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x788685108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x788685108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x788685109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x788685109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x788685109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x788685109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x788685109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x788685109280: 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 |
| ==2951580==ABORTING |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/library/net-http/http/copy_spec.rb |
| #0 0x6035e1255dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x7f5cfb9cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x6035e12da95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7f5d1b29ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7f5d1b329c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7f5ce8109041 is located in stack of thread T177 at offset 65 in frame |
| #0 0x7f5cfb9cd4df 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 T177 created by T0 here: |
| #0 0x6035e12c2601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| #1 0x7f5cfb9c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7f5cfb9ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6035e132519f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7f5cfb9ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7f5cfb9b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6035e1712feb in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6035e1712feb in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6035e1712feb in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6035e1717a55 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6035e1717a55 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x6035e16c6d55 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x6035e16c6d55 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6035e146d1b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x6035e13bcddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6035e16fed67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6035e16e4e5c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6035e16e4914 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6035e16ac45c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6035e16ac45c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x6035e169b677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6035e171c361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6035e171c361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x6035e16cf3fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x6035e16cf3fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x6035e16fed67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x6035e16a39fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x6035e16a39fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x6035e169b677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6035e171c361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6035e171c361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x6035e16c8a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x6035e16c8a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x6035e16c8a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x6035e16c8a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x6035e188787d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x6035e16fed67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x6035e16a39fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x6035e16a39fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x6035e169b677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6035e171c361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6035e171c361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x6035e16c8a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x6035e16c8a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x6035e16c8a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x6035e16c8a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x6035e186d019 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x6035e16fed67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x6035e16a39fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x6035e16a39fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x6035e169b677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x6035e171c361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x6035e171c361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x6035e16c8a65 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x6035e16c8a65 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x6035e16c8a65 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x6035e16c8a65 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x6035e186d019 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x6035e16fed67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x6035e16a39fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x6035e16a39fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x6035e169b677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x6035e141e17b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x6035e14162af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x6035e141b889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x6035e16fed67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x6035e16ac45c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x6035e16ac45c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x6035e169b677 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x6035e171c361 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x6035e171c361 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x6035e16cf3fa in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x6035e16cf3fa in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x6035e16fed67 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x6035e16a39fa in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x6035e16a39fa in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x6035e169ba30 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x6035e169ba30 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x6035e132149a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x6035e132149a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x6035e131aa06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x6035e131aa06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7f5d1b22a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7f5d1b22a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x6035e123e7e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 573301585e4edf8f61a3e232d45277dd8292b476) in strlen |
| Shadow bytes around the buggy address: |
| 0x7f5ce8108d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f5ce8108e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f5ce8108e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f5ce8108f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f5ce8108f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7f5ce8109000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7f5ce8109080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7f5ce8109100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f5ce8109180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f5ce8109200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f5ce8109280: 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 |
| ==2951583==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |