| "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. |
| ================================================================= |
| ==2833066==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x78698ff09041 at pc 0x6313921fdded bp 0x786991dffcf0 sp 0x786991dff4b8 |
| READ of size 2 at 0x78698ff09041 thread T76 |
| #0 0x6313921fddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7869a15cd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x63139228295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7869be09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7869be129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x78698ff09041 is located in stack of thread T76 at offset 65 in frame |
| #0 0x7869a15cd4df 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 T76 created by T0 here: |
| #0 0x63139226a601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7869a15c60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7869a15ac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x6313922cd19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7869a15ab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7869a15b331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6313926baf8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6313926baf8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6313926baf8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6313926bf9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6313926bf9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x63139266ecf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x63139266ecf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6313924151b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x631392364ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6313926a6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6313926543fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #17 0x6313926543fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #18 0x6313926439d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #19 0x6313926439d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #20 0x6313926c4301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #21 0x6313926c4301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #22 0x631392670a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #23 0x631392670a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #24 0x631392670a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #25 0x631392670a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #26 0x631392821d35 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #27 0x6313926a6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #28 0x63139264b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #29 0x63139264b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #30 0x631392643617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #31 0x6313926c4301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #32 0x6313926c4301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #33 0x631392670a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #34 0x631392670a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #35 0x631392670a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #36 0x631392670a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #37 0x631392821d35 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3651:30 |
| #38 0x6313926a6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #39 0x63139264b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #40 0x63139264b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #41 0x6313926439d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #42 0x6313926439d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #43 0x6313922c949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #44 0x6313922c949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #45 0x6313922c2a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #46 0x6313922c2a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #47 0x7869be02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #48 0x7869be02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #49 0x6313921e67e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) in strlen |
| Shadow bytes around the buggy address: |
| 0x78698ff08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78698ff08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78698ff08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78698ff08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78698ff08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x78698ff09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x78698ff09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x78698ff09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78698ff09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78698ff09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x78698ff09280: 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 |
| ==2833066==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.op7xhe: |
| * -rw------- 1 35 2024-11-12 18:10:08 +0000 autoload20241112-2833068-dfyxp4.rb |
| * drwx------ 4 80 2024-11-12 18:10:12 +0000 test_rubygems_20241112-2833066-ygyhk3/ |
| * drwxr-xr-x 9 180 2024-11-12 18:10:12 +0000 gemhome/ |
| * drwxr-xr-x 2 40 2024-11-12 18:10:12 +0000 build_info/ |
| * drwxr-xr-x 2 40 2024-11-12 18:10:12 +0000 cache/ |
| * drwxr-xr-x 2 40 2024-11-12 18:10:12 +0000 doc/ |
| * drwxr-xr-x 2 40 2024-11-12 18:10:12 +0000 extensions/ |
| * drwxr-xr-x 2 40 2024-11-12 18:10:12 +0000 gems/ |
| * drwxr-xr-x 2 40 2024-11-12 18:10:12 +0000 plugins/ |
| * drwxr-xr-x 3 60 2024-11-12 18:10:12 +0000 specifications/ |
| * drwxr-xr-x 2 40 2024-11-12 18:10:12 +0000 default/ |
| * drwxr-xr-x 2 40 2024-11-12 18:10:12 +0000 userhome/ |
| make: *** [uncommon.mk:963: yes-test-all] Error 1 |
| $$$ #<Timeout::Error: execution expired> |
| ### enter analyzing mode for stuck processes |
| $$$ ps jx |
| PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND |
| 1 949 949 949 ? -1 Ss 1000 0:14 SCREEN -d -m dash -c cd build-ruby; BUILD_RUBY_WORKING_DIR=/tmp/ruby sh build-loop.sh trunk_asan --incremental --exclude-steps=test_btest |
| 949 959 959 959 pts/0 959 Ss+ 1000 0:00 dash -c cd build-ruby; BUILD_RUBY_WORKING_DIR=/tmp/ruby sh build-loop.sh trunk_asan --incremental --exclude-steps=test_btest |
| 959 960 959 959 pts/0 959 S+ 1000 0:05 sh build-loop.sh trunk_asan --incremental --exclude-steps=test_btest |
| 2628222 733932 733932 733932 ? -1 Ss 1000 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only |
| 1 2090122 2090122 2090122 ? -1 Ss 1000 0:00 SCREEN |
| 2090122 2090124 2090124 2090124 pts/2 2090124 Ss+ 1000 0:00 /bin/bash |
| 2090122 2360588 2360588 2360588 pts/1 2360588 Ss+ 1000 0:00 /bin/bash |
| 1 2628222 2628222 2628222 ? -1 Ss 1000 0:00 /usr/lib/systemd/systemd --user |
| 2628222 2628224 2628222 2628222 ? -1 S 1000 0:00 (sd-pam) |
| 960 2822192 959 959 pts/0 959 Sl+ 1000 0:00 ruby ./br.rb build_report trunk_asan --incremental --exclude-steps=test_btest |
| 2822192 2822195 959 959 pts/0 959 S+ 1000 0:00 sh -c ruby /home/ko1/build-ruby/build-ruby.rb --target_name=trunk_asan --logfile=/home/ko1/ruby/logs/brlog.trunk_asan.20241112-180737 --root_dir=/tmp/ruby --timeout=600 --no-timeout-error --configure_opts="'CC=clang-17' 'cflags=-fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0'" --incremental --exclude-steps=test_btest |
| 2822195 2822196 959 959 pts/0 959 Sl+ 1000 0:00 ruby /home/ko1/build-ruby/build-ruby.rb --target_name=trunk_asan --logfile=/home/ko1/ruby/logs/brlog.trunk_asan.20241112-180737 --root_dir=/tmp/ruby --timeout=600 --no-timeout-error --configure_opts='CC=clang-17' 'cflags=-fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0' --incremental --exclude-steps=test_btest |
| 2822196 2832408 959 959 pts/0 959 Z+ 1000 0:00 [sh] <defunct> |
| 1 2833068 959 959 pts/0 959 Sl+ 1000 0:01 /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb: TestAutoload#test_autoload_fork |
| 2833068 2833309 959 959 pts/0 959 Sl+ 1000 0:00 /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb: TestAutoload#test_autoload_fork |
| 2833068 2833312 959 959 pts/0 959 Z+ 1000 0:00 [test_autoload.*] <defunct> |
| 2833068 2833316 959 959 pts/0 959 Z+ 1000 0:00 [test_autoload.*] <defunct> |
| 2822196 2835449 959 959 pts/0 959 R+ 1000 0:00 ps jx |
| {1=>[949, 2090122, 2628222, 2833068], 949=>[959], 959=>[960], 2628222=>[733932, 2628224], 2090122=>[2090124, 2360588], 960=>[2822192], 2822192=>[2822195], 2822195=>[2822196], 2822196=>[2832408, 2835449], 2833068=>[2833309, 2833312, 2833316]} |
| $ timeout 60 gdb -p 2832408 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| Could not attach to process. If your uid matches the uid of the target |
| process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try |
| again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| $ timeout 60 gdb -p 2835449 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| #<Errno::ESRCH: No such process> |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==2836124==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7c13cf309041 at pc 0x62070b509ded bp 0x7c13d05ffcf0 sp 0x7c13d05ff4b8 |
| READ of size 2 at 0x7c13cf309041 thread T108 |
| ================================================================= |
| ==2836127==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7df025f09041 at pc 0x582e0dbcbded bp 0x7df027dffcf0 sp 0x7df027dff4b8 |
| READ of size 2 at 0x7df025f09041 thread T46 |
| ================================================================= |
| ==2836132==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f96dcd09041 at pc 0x5f442984dded bp 0x7f96de7ffcf0 sp 0x7f96de7ff4b8 |
| READ of size 2 at 0x7f96dcd09041 thread T215 |
| ================================================================= |
| ==2836125==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7d7a66f09041 at pc 0x5fcaae92cded bp 0x7d7a697ffcf0 sp 0x7d7a697ff4b8 |
| READ of size 2 at 0x7d7a66f09041 thread T75 |
| ================================================================= |
| ==2836135==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7889a7309041 at pc 0x637121f1dded bp 0x7889a91ffcf0 sp 0x7889a91ff4b8 |
| READ of size 2 at 0x7889a7309041 thread T129 |
| #0 0x62070b509dec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7c13db2cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x62070b58e95e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7c13fc09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7c13fc129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| #0 0x582e0dbcbdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7df030acd8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x582e0dc5095e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7df04e09ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7df04e129c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7df025f09041 is located in stack of thread T46 at offset 65 in frame |
| #0 0x7df030acd4df 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 |
| Address 0x7c13cf309041 is located in stack of thread T108 at offset 65 in frame |
| (longjmp and C++ exceptions *are* supported) |
| #0 0x7c13db2cb4df in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3056 |
| Thread T46 created by T0 here: |
| 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 0x5f442984ddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7f96f04e08dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5f44298d295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7f970dc9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7f970dd29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7f96dcd09041 is located in stack of thread T215 at offset 65 in frame |
| #0 0x7f96f04e04df 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 T215 created by T0 here: |
| #0 0x5fcaae92cdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7d7a7b87e8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5fcaae9b195e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7d7a9849ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7d7a98529c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7d7a66f09041 is located in stack of thread T75 at offset 65 in frame |
| #0 0x7d7a7b87e4df 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 T75 created by T0 here: |
| #0 0x62070b576601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7c13db2c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7c13db2aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x62070b5d919f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7c13db2a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7c13db2b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x62070b9c6f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x62070b9c6f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x62070b9c6f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x62070b9cb9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x62070b9cb9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x62070b97acf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x62070b97acf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x62070b7211b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x62070b670ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x62070b9b2d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x62070b998dfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x62070b9988b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x62070b9603fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x62070b9603fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x62070b94f617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x62070b9d0301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x62070b9d0301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x62070b98339a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x62070b98339a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x62070b9b2d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x62070b95799a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x62070b95799a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x62070b94f617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x62070b9d0301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x62070b9d0301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x62070b97ca05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x62070b97ca05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x62070b97ca05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x62070b97ca05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x62070bb3b81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x62070b9b2d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x62070b95799a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x62070b95799a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x62070b94f617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x62070b9d0301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x62070b9d0301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x62070b97ca05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x62070b97ca05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x62070b97ca05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x62070b97ca05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x62070bb20fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x62070b9b2d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x62070b95799a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x62070b95799a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x62070b94f617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x62070b6d217b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x62070b6ca2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x62070b6cf889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x62070b9b2d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x62070b9603fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x62070b9603fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x62070b94f617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x62070b9d0301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x62070b9d0301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x62070b98339a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x62070b98339a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x62070b9b2d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x62070b95799a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x62070b95799a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x62070b94f9d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x62070b94f9d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x62070b5d549a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x62070b5d549a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x62070b5cea06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x62070b5cea06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7c13fc02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7c13fc02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x62070b4f27e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) in strlen |
| Shadow bytes around the buggy address: |
| 0x7c13cf308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c13cf308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c13cf308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c13cf308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c13cf308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7c13cf309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7c13cf309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7c13cf309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c13cf309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c13cf309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7c13cf309280: 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 |
| ==2836124==ABORTING |
| #0 0x582e0dc38601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7df030ac60bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7df030aac15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x582e0dc9b19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7df030aab27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7df030ab331d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x582e0e088f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x582e0e088f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x582e0e088f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x582e0e08d9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x582e0e08d9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x582e0e03ccf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x582e0e03ccf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x582e0dde31b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x582e0dd32ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x582e0e074d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x582e0e05adfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x582e0e05a8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x582e0e0223fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x582e0e0223fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x582e0e011617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x582e0e092301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x582e0e092301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x582e0e04539a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x582e0e04539a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x582e0e074d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x582e0e01999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x582e0e01999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x582e0e011617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x582e0e092301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x582e0e092301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x582e0e03ea05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x582e0e03ea05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x582e0e03ea05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x582e0e03ea05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x582e0e1fd81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x582e0e074d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x582e0e01999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x582e0e01999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x582e0e011617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x582e0e092301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x582e0e092301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x582e0e03ea05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x582e0e03ea05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x582e0e03ea05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x582e0e03ea05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x582e0e1e2fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x582e0e074d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x582e0e01999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x582e0e01999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x582e0e011617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x582e0dd9417b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x582e0dd8c2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x582e0dd91889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x582e0e074d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x582e0e0223fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x582e0e0223fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x582e0e011617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x582e0e092301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x582e0e092301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x582e0e04539a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x582e0e04539a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x582e0e074d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x582e0e01999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x582e0e01999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x582e0e0119d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x582e0e0119d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x582e0dc9749a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x582e0dc9749a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x582e0dc90a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x582e0dc90a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7df04e02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7df04e02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x582e0dbb47e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) in strlen |
| Shadow bytes around the buggy address: |
| 0x7df025f08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7df025f08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7df025f08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7df025f08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7df025f08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7df025f09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7df025f09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7df025f09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7df025f09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7df025f09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7df025f09280: 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 |
| ==2836127==ABORTING |
| #0 0x5f44298ba601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7f96f04d90bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7f96f04bf15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5f442991d19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7f96f04be27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7f96f04c631d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5f4429d0af8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5f4429d0af8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5f4429d0af8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5f4429d0f9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5f4429d0f9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5f4429cbecf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5f4429cbecf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5f4429a651b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5f44299b4ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5f4429cf6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5f4429cdcdfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5f4429cdc8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5f4429ca43fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5f4429ca43fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5f4429c93617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5f4429d14301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5f4429d14301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5f4429cc739a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5f4429cc739a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5f4429cf6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5f4429c9b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5f4429c9b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5f4429c93617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5f4429d14301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5f4429d14301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5f4429cc0a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5f4429cc0a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5f4429cc0a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5f4429cc0a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5f4429e7f81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5f4429cf6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5f4429c9b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5f4429c9b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5f4429c93617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5f4429d14301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5f4429d14301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5f4429cc0a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5f4429cc0a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5f4429cc0a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5f4429cc0a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5f4429e64fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5f4429cf6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5f4429c9b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5f4429c9b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5f4429c93617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5f4429a1617b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #52 0x5f4429a0e2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #53 0x5f4429a13889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #54 0x5f4429cf6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #55 0x5f4429ca43fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #56 0x5f4429ca43fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #57 0x5f4429c93617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #58 0x5f4429d14301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #59 0x5f4429d14301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #60 0x5f4429cc739a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #61 0x5f4429cc739a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #62 0x5f4429cf6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #63 0x5f4429c9b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #64 0x5f4429c9b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #65 0x5f4429c939d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #66 0x5f4429c939d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #67 0x5f442991949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #68 0x5f442991949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #69 0x5f4429912a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #70 0x5f4429912a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #71 0x7f970dc2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #72 0x7f970dc2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #73 0x5f44298367e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) in strlen |
| Shadow bytes around the buggy address: |
| 0x7f96dcd08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f96dcd08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f96dcd08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f96dcd08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f96dcd08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7f96dcd09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7f96dcd09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7f96dcd09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f96dcd09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f96dcd09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7f96dcd09280: 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 |
| ==2836132==ABORTING |
| #0 0x5fcaae999601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7d7a7b8770bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7d7a7b85d15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5fcaae9fc19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7d7a7b85c27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7d7a7b86431d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5fcaaede9f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5fcaaede9f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5fcaaede9f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5fcaaedee9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5fcaaedee9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5fcaaed9dcf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5fcaaed9dcf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5fcaaeb441b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5fcaaea93ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5fcaaedd5d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5fcaaedbbdfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5fcaaedbb8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5fcaaed833fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5fcaaed833fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5fcaaed72617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5fcaaedf3301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5fcaaedf3301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5fcaaeda639a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5fcaaeda639a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5fcaaedd5d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5fcaaed7a99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5fcaaed7a99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5fcaaed72617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5fcaaedf3301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5fcaaedf3301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5fcaaed9fa05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5fcaaed9fa05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5fcaaed9fa05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5fcaaed9fa05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5fcaaef5e81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5fcaaedd5d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5fcaaed7a99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5fcaaed7a99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5fcaaed72617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5fcaaedf3301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5fcaaedf3301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5fcaaed9fa05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5fcaaed9fa05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5fcaaed9fa05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5fcaaed9fa05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5fcaaef43fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5fcaaedd5d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5fcaaed7a99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5fcaaed7a99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5fcaaed72617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5fcaaedf3301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5fcaaedf3301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5fcaaed9fa05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5fcaaed9fa05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5fcaaed9fa05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5fcaaed9fa05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5fcaaef43fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5fcaaedd5d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5fcaaed7a99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5fcaaed7a99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5fcaaed72617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5fcaaeaf517b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5fcaaeaed2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5fcaaeaf2889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5fcaaedd5d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5fcaaed833fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5fcaaed833fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5fcaaed72617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5fcaaedf3301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5fcaaedf3301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5fcaaeda639a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5fcaaeda639a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5fcaaedd5d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5fcaaed7a99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5fcaaed7a99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5fcaaed729d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5fcaaed729d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5fcaae9f849a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5fcaae9f849a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5fcaae9f1a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5fcaae9f1a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7d7a9842a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7d7a9842a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5fcaae9157e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) in strlen |
| Shadow bytes around the buggy address: |
| 0x7d7a66f08d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d7a66f08e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d7a66f08e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d7a66f08f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d7a66f08f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7d7a66f09000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7d7a66f09080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7d7a66f09100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d7a66f09180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d7a66f09200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d7a66f09280: 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 |
| ==2836125==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 0x637121f1ddec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7889ab50f8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x637121fa295e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x7889d8e9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x7889d8f29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x7889a7309041 is located in stack of thread T129 at offset 65 in frame |
| #0 0x7889ab50f4df 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 T129 created by T0 here: |
| #0 0x637121f8a601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x7889ab5080bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x7889ab4ee15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x637121fed19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x7889ab4ed27d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x7889ab4f531d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x6371223daf8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x6371223daf8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x6371223daf8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x6371223df9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x6371223df9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x63712238ecf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x63712238ecf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x6371221351b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x637122084ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x6371223c6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x6371223acdfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x6371223ac8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x6371223743fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x6371223743fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x637122363617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x6371223e4301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x6371223e4301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x63712239739a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x63712239739a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x6371223c6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x63712236b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x63712236b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x637122363617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x6371223e4301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x6371223e4301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x637122390a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x637122390a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x637122390a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x637122390a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x63712254f81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x6371223c6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x63712236b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x63712236b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x637122363617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x6371223e4301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x6371223e4301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x637122390a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x637122390a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x637122390a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x637122390a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x637122534fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x6371223c6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x63712236b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x63712236b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x637122363617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x6371223e4301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x6371223e4301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x637122390a05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x637122390a05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x637122390a05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x637122390a05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x637122534fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x6371223c6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x63712236b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x63712236b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x637122363617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x6371220e617b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x6371220de2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x6371220e3889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x6371223c6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x6371223743fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x6371223743fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x637122363617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x6371223e4301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x6371223e4301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x63712239739a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x63712239739a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x6371223c6d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x63712236b99a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x63712236b99a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x6371223639d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x6371223639d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x637121fe949a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x637121fe949a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x637121fe2a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x637121fe2a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x7889d8e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x7889d8e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x637121f067e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) in strlen |
| Shadow bytes around the buggy address: |
| 0x7889a7308d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7889a7308e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7889a7308e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7889a7308f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7889a7308f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7889a7309000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x7889a7309080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x7889a7309100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7889a7309180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7889a7309200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7889a7309280: 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 |
| ==2836135==ABORTING |
| ================================================================= |
| ==2836126==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x70ad7f509041 at pc 0x5f83c3f4bded bp 0x70ad807ffcf0 sp 0x70ad807ff4b8 |
| READ of size 2 at 0x70ad7f509041 thread T33 |
| #0 0x5f83c3f4bdec in strlen (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x70ada82cb8dd in do_fast_fallback_getaddrinfo /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:3105:55 |
| #2 0x5f83c3fd095e in asan_thread_start(void*) asan_interceptors.cpp.o |
| #3 0x70adaae9ca93 in start_thread nptl/pthread_create.c:447:8 |
| #4 0x70adaaf29c3b in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| Address 0x70ad7f509041 is located in stack of thread T33 at offset 65 in frame |
| #0 0x70ada82cb4df 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 T33 created by T0 here: |
| #0 0x5f83c3fb8601 in pthread_create (/tmp/ruby/build/trunk_asan/ruby+0x1fb601) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| #1 0x70ada82c40bf in raddrinfo_pthread_create /tmp/ruby/src/trunk_asan/ext/socket/raddrinfo.c:481:15 |
| #2 0x70ada82aa15c in init_fast_fallback_inetsock_internal /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:698:17 |
| #3 0x5f83c401b19f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #4 0x70ada82a927d in rsock_init_inetsock /tmp/ruby/src/trunk_asan/ext/socket/ipsocket.c:1290:20 |
| #5 0x70ada82b131d in tcp_init /tmp/ruby/src/trunk_asan/ext/socket/tcpsocket.c:84:12 |
| #6 0x5f83c4408f8b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #7 0x5f83c4408f8b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #8 0x5f83c4408f8b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #9 0x5f83c440d9f5 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #10 0x5f83c440d9f5 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #11 0x5f83c43bccf5 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:873:12 |
| #12 0x5f83c43bccf5 in rb_funcallv_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1070:12 |
| #13 0x5f83c41631b8 in rb_class_new_instance_kw /tmp/ruby/src/trunk_asan/object.c:2185:5 |
| #14 0x5f83c40b2ddc in rb_io_s_open /tmp/ruby/src/trunk_asan/io.c:8126:16 |
| #15 0x5f83c43f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #16 0x5f83c43dadfc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4773:16 |
| #17 0x5f83c43da8b4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x5f83c43a23fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #19 0x5f83c43a23fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x5f83c4391617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #21 0x5f83c4412301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #22 0x5f83c4412301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #23 0x5f83c43c539a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #24 0x5f83c43c539a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #25 0x5f83c43f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #26 0x5f83c439999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #27 0x5f83c439999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5f83c4391617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #29 0x5f83c4412301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #30 0x5f83c4412301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #31 0x5f83c43bea05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #32 0x5f83c43bea05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #33 0x5f83c43bea05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x5f83c43bea05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x5f83c457d81d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7872:24 |
| #36 0x5f83c43f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #37 0x5f83c439999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #38 0x5f83c439999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x5f83c4391617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #40 0x5f83c4412301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #41 0x5f83c4412301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #42 0x5f83c43bea05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #43 0x5f83c43bea05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #44 0x5f83c43bea05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #45 0x5f83c43bea05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #46 0x5f83c4562fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #47 0x5f83c43f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #48 0x5f83c439999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #49 0x5f83c439999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #50 0x5f83c4391617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #51 0x5f83c4412301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #52 0x5f83c4412301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #53 0x5f83c43bea05 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #54 0x5f83c43bea05 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1674:12 |
| #55 0x5f83c43bea05 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #56 0x5f83c43bea05 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #57 0x5f83c4562fb9 in rb_ary_each /tmp/ruby/src/trunk_asan/array.c:2647:9 |
| #58 0x5f83c43f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #59 0x5f83c439999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #60 0x5f83c439999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #61 0x5f83c4391617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #62 0x5f83c411417b in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #63 0x5f83c410c2af in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #64 0x5f83c4111889 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #65 0x5f83c43f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #66 0x5f83c43a23fc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #67 0x5f83c43a23fc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #68 0x5f83c4391617 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2584:22 |
| #69 0x5f83c4412301 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1615:12 |
| #70 0x5f83c4412301 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1629:20 |
| #71 0x5f83c43c539a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1666:12 |
| #72 0x5f83c43c539a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #73 0x5f83c43f4d07 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3795:11 |
| #74 0x5f83c439999a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5962:15 |
| #75 0x5f83c439999a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #76 0x5f83c43919d0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2611:22 |
| #77 0x5f83c43919d0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2590:18 |
| #78 0x5f83c401749a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #79 0x5f83c401749a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #80 0x5f83c4010a06 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #81 0x5f83c4010a06 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #82 0x70adaae2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #83 0x70adaae2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #84 0x5f83c3f347e4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1777e4) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) |
| SUMMARY: AddressSanitizer: stack-buffer-overflow (/tmp/ruby/build/trunk_asan/ruby+0x18edec) (BuildId: 07c328e7576f4557e6114856d1fcf272b5c8f374) in strlen |
| Shadow bytes around the buggy address: |
| 0x70ad7f508d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70ad7f508e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70ad7f508e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70ad7f508f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70ad7f508f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x70ad7f509000: f1 f1 f1 f1 f8 f8 f2 f2[01]f3 f3 f3 00 00 00 00 |
| 0x70ad7f509080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 |
| 0x70ad7f509100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70ad7f509180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70ad7f509200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x70ad7f509280: 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 |
| ==2836126==ABORTING |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |