| "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 0. |
| ================================================================= |
| ==3911864==ERROR: AddressSanitizer: use-after-poison on address 0x7d72f67fc268 at pc 0x5c79775364bc bp 0x7ffd105a1910 sp 0x7ffd105a1908 |
| READ of size 8 at 0x7d72f67fc268 thread T0 |
| #0 0x5c79775364bb in RB_BUILTIN_TYPE /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 |
| #1 0x5c79775364bb in rb_gc_shutdown_call_finalizer_p /tmp/ruby/src/trunk_asan/gc.c:357:18 |
| #2 0x5c79775364bb in rb_gc_impl_shutdown_call_finalizer /tmp/ruby/src/trunk_asan/gc/default/default.c:3045:21 |
| #3 0x5c79775364bb in rb_objspace_call_finalizer /tmp/ruby/src/trunk_asan/gc.c:1739:5 |
| #4 0x5c79775051b2 in rb_ec_finalize /tmp/ruby/src/trunk_asan/eval.c:165:5 |
| #5 0x5c79775051b2 in rb_ec_cleanup /tmp/ruby/src/trunk_asan/eval.c:256:5 |
| #6 0x5c7977505d68 in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:320:12 |
| #7 0x5c79774fec36 in rb_main /tmp/ruby/src/trunk_asan/main.c:42:12 |
| #8 0x5c79774fec36 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #9 0x7d72f702a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #10 0x7d72f702a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #11 0x5c7977422a04 in _start (/tmp/ruby/build/trunk_asan/ruby+0x16ba04) (BuildId: 6912b36e90dff44bc034130a379a6c13f4cc9936) |
| Address 0x7d72f67fc268 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: |
| 0x7d72f67fbf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d72f67fc000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d72f67fc080: 00 00 00 00 00 00 00 00 00 00 00 f7 f7 f7 f7 f7 |
| 0x7d72f67fc100: f7 f7 f7 f7 f7 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d72f67fc180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7d72f67fc200: 00 00 00 00 00 00 00 00 00 00 00 00 00[f7]f7 f7 |
| 0x7d72f67fc280: f7 f7 f7 f7 f7 f7 f7 00 00 00 00 00 00 00 00 00 |
| 0x7d72f67fc300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d72f67fc380: 00 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 |
| 0x7d72f67fc400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7d72f67fc480: 00 00 00 00 00 00 00 00 00 00 00 00 00 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 |
| ==3911864==ABORTING |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb: [BUG] ASAN error |
| ruby 3.5.0dev (2025-07-29T14:53:52Z master 46d106f7ab) +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/tool/lib/test/unit/parallel.rb(___interceptor_backtrace) [0x5c7977468de9] |
| /tmp/ruby/build/trunk_asan/ruby(rb_print_backtrace+0x14) [0x5c7977db7ef8] /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) [0x5c7977cfd305] /tmp/ruby/src/trunk_asan/error.c:1097 |
| /tmp/ruby/build/trunk_asan/ruby(rb_bug_without_die+0x12c) [0x5c7977cfcf9c] /tmp/ruby/src/trunk_asan/error.c:1106 |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb(0x5c79774e530a) [0x5c79774e530a] |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb(0x5c79774c5d8f) [0x5c79774c5d8f] |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb(0x5c79774c8e1d) [0x5c79774c8e1d] |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb(__asan_report_load8) [0x5c79774c9b7c] |
| /tmp/ruby/build/trunk_asan/ruby(rb_objspace_call_finalizer+0xfec) [0x5c79775364bc] /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191 |
| /tmp/ruby/build/trunk_asan/ruby(rb_ec_finalize+0x2a) [0x5c79775051b3] /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) [0x5c7977505d69] /tmp/ruby/src/trunk_asan/eval.c:320 |
| /tmp/ruby/build/trunk_asan/ruby(rb_main+0x25) [0x5c79774fec37] /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) [0x7d72f702a1ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x7d72f702a28b] ../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/tool/lib/test/unit/parallel.rb(_start) [0x5c7977422a05] |
| -- Other runtime information ----------------------------------------------- |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==162421==ERROR: AddressSanitizer: use-after-poison on address 0x77c87c8347f0 at pc 0x5745e32734bc bp 0x7ffc9678a470 sp 0x7ffc9678a468 |
| READ of size 8 at 0x77c87c8347f0 thread T0 |
| #0 0x5745e32734bb in RB_BUILTIN_TYPE /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 |
| #1 0x5745e32734bb in rb_gc_shutdown_call_finalizer_p /tmp/ruby/src/trunk_asan/gc.c:357:18 |
| #2 0x5745e32734bb in rb_gc_impl_shutdown_call_finalizer /tmp/ruby/src/trunk_asan/gc/default/default.c:3045:21 |
| #3 0x5745e32734bb in rb_objspace_call_finalizer /tmp/ruby/src/trunk_asan/gc.c:1739:5 |
| #4 0x5745e32421b2 in rb_ec_finalize /tmp/ruby/src/trunk_asan/eval.c:165:5 |
| #5 0x5745e32421b2 in rb_ec_cleanup /tmp/ruby/src/trunk_asan/eval.c:256:5 |
| #6 0x5745e3242d68 in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:320:12 |
| #7 0x5745e323bc36 in rb_main /tmp/ruby/src/trunk_asan/main.c:42:12 |
| #8 0x5745e323bc36 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #9 0x77c89c02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #10 0x77c89c02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #11 0x5745e315fa04 in _start (/tmp/ruby/build/trunk_asan/ruby+0x16ba04) (BuildId: 6912b36e90dff44bc034130a379a6c13f4cc9936) |
| Address 0x77c87c8347f0 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: |
| 0x77c87c834500: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77c87c834580: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77c87c834600: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77c87c834680: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77c87c834700: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| =>0x77c87c834780: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7[f7]f7 |
| 0x77c87c834800: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77c87c834880: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77c87c834900: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77c87c834980: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77c87c834a00: 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 |
| ==162421==ABORTING |
| /tmp/ruby/src/trunk_asan/spec/mspec/bin/mspec-run: [BUG] ASAN error |
| ruby 3.5.0dev (2025-07-29T14:53:52Z master 46d106f7ab) +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) [0x5745e31a5de9] |
| /tmp/ruby/build/trunk_asan/ruby(rb_print_backtrace+0x14) [0x5745e3af4ef8] /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) [0x5745e3a3a305] /tmp/ruby/src/trunk_asan/error.c:1097 |
| /tmp/ruby/build/trunk_asan/ruby(rb_bug_without_die+0x12c) [0x5745e3a39f9c] /tmp/ruby/src/trunk_asan/error.c:1106 |
| /tmp/ruby/build/trunk_asan/ruby(0x5745e322230a) [0x5745e322230a] |
| /tmp/ruby/build/trunk_asan/ruby(0x5745e3202d8f) [0x5745e3202d8f] |
| /tmp/ruby/build/trunk_asan/ruby(0x5745e3205e1d) [0x5745e3205e1d] |
| /tmp/ruby/build/trunk_asan/ruby(__asan_report_load8) [0x5745e3206b7c] |
| /tmp/ruby/build/trunk_asan/ruby(rb_objspace_call_finalizer+0xfec) [0x5745e32734bc] /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191 |
| /tmp/ruby/build/trunk_asan/ruby(rb_ec_finalize+0x2a) [0x5745e32421b3] /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) [0x5745e3242d69] /tmp/ruby/src/trunk_asan/eval.c:320 |
| /tmp/ruby/build/trunk_asan/ruby(rb_main+0x25) [0x5745e323bc37] /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) [0x77c89c02a1ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x77c89c02a28b] ../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) [0x5745e315fa05] |
| -- Other runtime information ----------------------------------------------- |
| make: *** [uncommon.mk:1030: yes-test-spec] Error 1 |