| "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/repl_type_completor |
| * branch 25108aa8d69ddaba0b5da3feff1c0035371524b2 -> FETCH_HEAD |
| From https://github.com/ruby/power_assert |
| * branch f88e406e7c9e0810cc149869582afbae1fb84c4a -> FETCH_HEAD |
| HEAD is now at f88e406 Support Ruby 3.5 style Set inspection result |
| 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. |
| ================================================================= |
| ==2426310==ERROR: AddressSanitizer: use-after-poison on address 0x770755922038 at pc 0x60b81079d4bc bp 0x7ffe2e4cf750 sp 0x7ffe2e4cf748 |
| READ of size 8 at 0x770755922038 thread T0 |
| #0 0x60b81079d4bb in RB_BUILTIN_TYPE /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 |
| #1 0x60b81079d4bb in rb_gc_shutdown_call_finalizer_p /tmp/ruby/src/trunk_asan/gc.c:357:18 |
| #2 0x60b81079d4bb in rb_gc_impl_shutdown_call_finalizer /tmp/ruby/src/trunk_asan/gc/default/default.c:3045:21 |
| #3 0x60b81079d4bb in rb_objspace_call_finalizer /tmp/ruby/src/trunk_asan/gc.c:1739:5 |
| #4 0x60b81076c1b2 in rb_ec_finalize /tmp/ruby/src/trunk_asan/eval.c:165:5 |
| #5 0x60b81076c1b2 in rb_ec_cleanup /tmp/ruby/src/trunk_asan/eval.c:256:5 |
| #6 0x60b81076cd68 in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:320:12 |
| #7 0x60b810765c36 in rb_main /tmp/ruby/src/trunk_asan/main.c:42:12 |
| #8 0x60b810765c36 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #9 0x77075642a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #10 0x77075642a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #11 0x60b810689a04 in _start (/tmp/ruby/build/trunk_asan/ruby+0x16ba04) (BuildId: cdda7004914a7b496213beb8dc4c7d45f40ee2c6) |
| Address 0x770755922038 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: |
| 0x770755921d80: f7 f7 f7 f7 f7 f7 f7 00 00 00 00 00 00 00 00 00 |
| 0x770755921e00: 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x770755921e80: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 |
| 0x770755921f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x770755921f80: 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| =>0x770755922000: f7 f7 f7 f7 f7 f7 f7[f7]f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x770755922080: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 00 00 |
| 0x770755922100: 00 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x770755922180: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x770755922200: f7 f7 f7 00 00 00 00 00 00 00 00 00 00 f7 f7 f7 |
| 0x770755922280: 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 |
| ==2426310==ABORTING |
| /tmp/ruby/src/trunk_asan/test/runner.rb: [BUG] ASAN error |
| ruby 3.5.0dev (2025-07-28T22:17:45Z master f1acf47ca2) +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) [0x60b8106cfde9] |
| /tmp/ruby/build/trunk_asan/ruby(rb_print_backtrace+0x14) [0x60b81101ee08] /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) [0x60b810f64215] /tmp/ruby/src/trunk_asan/error.c:1097 |
| /tmp/ruby/build/trunk_asan/ruby(rb_bug_without_die+0x12c) [0x60b810f63eac] /tmp/ruby/src/trunk_asan/error.c:1106 |
| /tmp/ruby/build/trunk_asan/ruby(0x60b81074c30a) [0x60b81074c30a] |
| /tmp/ruby/build/trunk_asan/ruby(0x60b81072cd8f) [0x60b81072cd8f] |
| /tmp/ruby/build/trunk_asan/ruby(0x60b81072fe1d) [0x60b81072fe1d] |
| /tmp/ruby/build/trunk_asan/ruby(__asan_report_load8) [0x60b810730b7c] |
| /tmp/ruby/build/trunk_asan/ruby(rb_objspace_call_finalizer+0xfec) [0x60b81079d4bc] /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191 |
| /tmp/ruby/build/trunk_asan/ruby(rb_ec_finalize+0x2a) [0x60b81076c1b3] /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) [0x60b81076cd69] /tmp/ruby/src/trunk_asan/eval.c:320 |
| /tmp/ruby/build/trunk_asan/ruby(rb_main+0x25) [0x60b810765c37] /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) [0x77075642a1ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x77075642a28b] ../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) [0x60b810689a05] |
| -- 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 512. |
| ================================================================= |
| ==2835253==ERROR: AddressSanitizer: use-after-poison on address 0x7d8d718ce200 at pc 0x5d49a1c174bc bp 0x7ffc4de22af0 sp 0x7ffc4de22ae8 |
| READ of size 8 at 0x7d8d718ce200 thread T0 |
| #0 0x5d49a1c174bb in RB_BUILTIN_TYPE /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 |
| #1 0x5d49a1c174bb in rb_gc_shutdown_call_finalizer_p /tmp/ruby/src/trunk_asan/gc.c:357:18 |
| #2 0x5d49a1c174bb in rb_gc_impl_shutdown_call_finalizer /tmp/ruby/src/trunk_asan/gc/default/default.c:3045:21 |
| #3 0x5d49a1c174bb in rb_objspace_call_finalizer /tmp/ruby/src/trunk_asan/gc.c:1739:5 |
| #4 0x5d49a1be61b2 in rb_ec_finalize /tmp/ruby/src/trunk_asan/eval.c:165:5 |
| #5 0x5d49a1be61b2 in rb_ec_cleanup /tmp/ruby/src/trunk_asan/eval.c:256:5 |
| #6 0x5d49a1be6d68 in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:320:12 |
| #7 0x5d49a1bdfc36 in rb_main /tmp/ruby/src/trunk_asan/main.c:42:12 |
| #8 0x5d49a1bdfc36 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #9 0x7d8d7442a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #10 0x7d8d7442a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #11 0x5d49a1b03a04 in _start (/tmp/ruby/build/trunk_asan/ruby+0x16ba04) (BuildId: cdda7004914a7b496213beb8dc4c7d45f40ee2c6) |
| Address 0x7d8d718ce200 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: |
| 0x7d8d718cdf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d8d718ce000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d8d718ce080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d8d718ce100: 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 00 |
| 0x7d8d718ce180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7d8d718ce200:[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 00 00 00 |
| 0x7d8d718ce280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d8d718ce300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d8d718ce380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d8d718ce400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d8d718ce480: 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 |
| ==2835253==ABORTING |
| /tmp/ruby/src/trunk_asan/spec/mspec/bin/mspec-run: [BUG] ASAN error |
| ruby 3.5.0dev (2025-07-28T22:17:45Z master f1acf47ca2) +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/src/trunk_asan/spec/mspec/bin/mspec-run(___interceptor_backtrace) [0x5d49a1b49de9] |
| /tmp/ruby/build/trunk_asan/ruby(rb_print_backtrace+0x14) [0x5d49a2498e08] /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) [0x5d49a23de215] /tmp/ruby/src/trunk_asan/error.c:1097 |
| /tmp/ruby/build/trunk_asan/ruby(rb_bug_without_die+0x12c) [0x5d49a23ddeac] /tmp/ruby/src/trunk_asan/error.c:1106 |
| /tmp/ruby/src/trunk_asan/spec/mspec/bin/mspec-run(0x5d49a1bc630a) [0x5d49a1bc630a] |
| /tmp/ruby/src/trunk_asan/spec/mspec/bin/mspec-run(0x5d49a1ba6d8f) [0x5d49a1ba6d8f] |
| /tmp/ruby/src/trunk_asan/spec/mspec/bin/mspec-run(0x5d49a1ba9e1d) [0x5d49a1ba9e1d] |
| /tmp/ruby/src/trunk_asan/spec/mspec/bin/mspec-run(__asan_report_load8) [0x5d49a1baab7c] |
| /tmp/ruby/build/trunk_asan/ruby(rb_objspace_call_finalizer+0xfec) [0x5d49a1c174bc] /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191 |
| /tmp/ruby/build/trunk_asan/ruby(rb_ec_finalize+0x2a) [0x5d49a1be61b3] /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) [0x5d49a1be6d69] /tmp/ruby/src/trunk_asan/eval.c:320 |
| /tmp/ruby/build/trunk_asan/ruby(rb_main+0x25) [0x5d49a1bdfc37] /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) [0x7d8d7442a1ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x7d8d7442a28b] ../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/src/trunk_asan/spec/mspec/bin/mspec-run(_start) [0x5d49a1b03a05] |
| -- Other runtime information ----------------------------------------------- |
| make: *** [uncommon.mk:1030: yes-test-spec] Error 1 |