| "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/power_assert'... |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/repl_type_completor'... |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/irb'... |
| From https://github.com/ruby/power_assert |
| * branch f88e406e7c9e0810cc149869582afbae1fb84c4a -> FETCH_HEAD |
| HEAD is now at f88e406 Support Ruby 3.5 style Set inspection result |
| From https://github.com/ruby/repl_type_completor |
| * branch 25108aa8d69ddaba0b5da3feff1c0035371524b2 -> FETCH_HEAD |
| HEAD is now at 25108aa Merge pull request #62 from ruby/fix_require_completion_test |
| From https://github.com/ruby/irb |
| * branch 331c4e851296b115db766c291e8cf54a2492fb36 -> FETCH_HEAD |
| HEAD is now at 331c4e8 Update the expected values of backtraces |
| "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. |
| ================================================================= |
| ==197279==ERROR: AddressSanitizer: use-after-poison on address 0x76a5e4761f50 at pc 0x56a1a4c324bc bp 0x7fff13a1bd70 sp 0x7fff13a1bd68 |
| READ of size 8 at 0x76a5e4761f50 thread T0 |
| #0 0x56a1a4c324bb in RB_BUILTIN_TYPE /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 |
| #1 0x56a1a4c324bb in rb_gc_shutdown_call_finalizer_p /tmp/ruby/src/trunk_asan/gc.c:357:18 |
| #2 0x56a1a4c324bb in rb_gc_impl_shutdown_call_finalizer /tmp/ruby/src/trunk_asan/gc/default/default.c:3045:21 |
| #3 0x56a1a4c324bb in rb_objspace_call_finalizer /tmp/ruby/src/trunk_asan/gc.c:1739:5 |
| #4 0x56a1a4c011b2 in rb_ec_finalize /tmp/ruby/src/trunk_asan/eval.c:165:5 |
| #5 0x56a1a4c011b2 in rb_ec_cleanup /tmp/ruby/src/trunk_asan/eval.c:256:5 |
| #6 0x56a1a4c01d68 in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:320:12 |
| #7 0x56a1a4bfac36 in rb_main /tmp/ruby/src/trunk_asan/main.c:42:12 |
| #8 0x56a1a4bfac36 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #9 0x76a5e522a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #10 0x76a5e522a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #11 0x56a1a4b1ea04 in _start (/tmp/ruby/build/trunk_asan/ruby+0x16ba04) (BuildId: ce5872d4290fe2934505c990e4f6b1187e9672c9) |
| Address 0x76a5e4761f50 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: |
| 0x76a5e4761c80: 00 00 00 00 00 00 00 00 00 00 f7 f7 f7 f7 f7 f7 |
| 0x76a5e4761d00: f7 f7 f7 f7 00 00 00 00 00 00 00 00 00 00 f7 f7 |
| 0x76a5e4761d80: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x76a5e4761e00: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x76a5e4761e80: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| =>0x76a5e4761f00: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7[f7]f7 f7 f7 f7 f7 |
| 0x76a5e4761f80: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 |
| 0x76a5e4762000: 00 00 00 00 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x76a5e4762080: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x76a5e4762100: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x76a5e4762180: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 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 |
| ==197279==ABORTING |
| /tmp/ruby/src/trunk_asan/test/runner.rb: [BUG] ASAN error |
| ruby 3.5.0dev (2025-07-29T19:43:14Z master 039f4139f8) +PRISM [x86_64-linux] |
| -- Control frame information ----------------------------------------------- |
| c:0001 p:0000 s:0003 E:001de0 DUMMY [FINISH] |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 1 |
| Ruby thread count for this ractor: 1 |
| -- C level backtrace information ------------------------------------------- |
| /tmp/ruby/build/trunk_asan/ruby(___interceptor_backtrace) [0x56a1a4b64de9] |
| /tmp/ruby/build/trunk_asan/ruby(rb_print_backtrace+0x14) [0x56a1a54b4b38] /tmp/ruby/src/trunk_asan/vm_dump.c:843 |
| /tmp/ruby/build/trunk_asan/ruby(rb_vm_bugreport) /tmp/ruby/src/trunk_asan/vm_dump.c:1175 |
| /tmp/ruby/build/trunk_asan/ruby(rb_bug_without_die_internal+0x2c5) [0x56a1a53f9f45] /tmp/ruby/src/trunk_asan/error.c:1097 |
| /tmp/ruby/build/trunk_asan/ruby(rb_bug_without_die+0x12c) [0x56a1a53f9bdc] /tmp/ruby/src/trunk_asan/error.c:1106 |
| /tmp/ruby/build/trunk_asan/ruby(0x56a1a4be130a) [0x56a1a4be130a] |
| /tmp/ruby/build/trunk_asan/ruby(0x56a1a4bc1d8f) [0x56a1a4bc1d8f] |
| /tmp/ruby/build/trunk_asan/ruby(0x56a1a4bc4e1d) [0x56a1a4bc4e1d] |
| /tmp/ruby/build/trunk_asan/ruby(__asan_report_load8) [0x56a1a4bc5b7c] |
| /tmp/ruby/build/trunk_asan/ruby(rb_objspace_call_finalizer+0xfec) [0x56a1a4c324bc] /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191 |
| /tmp/ruby/build/trunk_asan/ruby(rb_ec_finalize+0x2a) [0x56a1a4c011b3] /tmp/ruby/src/trunk_asan/eval.c:165 |
| /tmp/ruby/build/trunk_asan/ruby(rb_ec_cleanup) /tmp/ruby/src/trunk_asan/eval.c:256 |
| /tmp/ruby/build/trunk_asan/ruby(ruby_run_node+0x529) [0x56a1a4c01d69] /tmp/ruby/src/trunk_asan/eval.c:320 |
| /tmp/ruby/build/trunk_asan/ruby(rb_main+0x25) [0x56a1a4bfac37] /tmp/ruby/src/trunk_asan/main.c:42 |
| /tmp/ruby/build/trunk_asan/ruby(main) /tmp/ruby/src/trunk_asan/main.c:62 |
| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_call_main+0x7a) [0x76a5e522a1ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x76a5e522a28b] ../csu/libc-start.c:360 |
| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main_impl) ../csu/libc-start.c:347 |
| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) (null):0 |
| /tmp/ruby/build/trunk_asan/ruby(_start) [0x56a1a4b1ea05] |
| -- Other runtime information ----------------------------------------------- |
| make: *** [uncommon.mk:980: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 0. |