| "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/rbs'... |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/power_assert'... |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/typeprof'... |
| From https://github.com/ruby/power_assert |
| * branch 84e85124c5014a139af39161d484156cfe87a9ed -> FETCH_HEAD |
| HEAD is now at 84e8512 Merge pull request #48 from casperisfine/frozen-string-literals |
| From https://github.com/ruby/rbs |
| * branch 97e12999b14dc36e374ed30a03fca58af62dfd90 -> FETCH_HEAD |
| HEAD is now at 97e12999 Use `File.open` instead of `IO.sysopen` |
| From https://github.com/ruby/typeprof |
| * branch b19a6416da3a05d57fadd6ffdadb382b6d236ca5 -> FETCH_HEAD |
| HEAD is now at b19a641 Add support for future `putchilledstring` instruction |
| "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-btest TESTOPTS='-q -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. |
| Failed tests: |
| TestRubyOptions#test_free_at_exit_env_var: Test::Unit::AssertionFailedError: pid 1934476 exit 1 |
| 1) Failure: |
| TestRubyOptions#test_free_at_exit_env_var [/tmp/ruby/src/trunk_asan/test/ruby/test_rubyoptions.rb:1292]: |
| pid 1942719 exit 1 |
| | /tmp/ruby/build/trunk_asan/ruby: warning: Free at exit is experimental and may be unstable |
| | ================================================================= |
| | ==1942719==ERROR: AddressSanitizer: use-after-poison on address 0x74594ca10008 at pc 0x5ede4354bcc7 bp 0x7ffe13a7f820 sp 0x7ffe13a7f818 |
| | READ of size 8 at 0x74594ca10008 thread T0 |
| | #0 0x5ede4354bcc6 in RB_BUILTIN_TYPE /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 |
| | #1 0x5ede4354bcc6 in rb_gc_impl_shutdown_free_objects /tmp/ruby/src/trunk_asan/gc_impl.c:3208:17 |
| | #2 0x5ede438b762e in ruby_vm_destruct /tmp/ruby/src/trunk_asan/vm.c:3133:17 |
| | #3 0x5ede4351062f in rb_ec_cleanup /tmp/ruby/src/trunk_asan/eval.c:263:5 |
| | #4 0x5ede435110f9 in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:12 |
| | #5 0x5ede4350a5c6 in rb_main /tmp/ruby/src/trunk_asan/main.c:46:12 |
| | #6 0x5ede4350a5c6 in main /tmp/ruby/src/trunk_asan/main.c:65:12 |
| | #7 0x74596c82a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| | #8 0x74596c82a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| | #9 0x5ede4342e3a4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1733a4) (BuildId: d46a1b35764acacd757cb7b967e2a5ff918dc390) |
| | |
| | Address 0x74594ca10008 is a wild pointer inside of access range of size 0x000000000008. |
| | SUMMARY: AddressSanitizer: use-after-poison /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 in RB_BUILTIN_TYPE |
| | Shadow bytes around the buggy address: |
| | 0x74594ca0fd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| | 0x74594ca0fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| | 0x74594ca0fe80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| | 0x74594ca0ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| | 0x74594ca0ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| | =>0x74594ca10000: 00[f7]00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| | 0x74594ca10080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| | 0x74594ca10100: 00 00 00 00 00 00 00 00 00 f7 00 00 00 00 00 00 |
| | 0x74594ca10180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| | 0x74594ca10200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| | 0x74594ca10280: 00 f7 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 |
| | ==1942719==ABORTING |
| make: *** [uncommon.mk:965: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 0. |