| "make update-download -j16" exit with 0. |
| "make update-src -j16" exit with 0. |
| "make after-update -j16" exit with 0. |
| "make miniruby -j16" exit with 0. |
| "make ruby -j16" exit with 0. |
| "make all -j16" exit with 0. |
| "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. |
| ================================================================= |
| ==1124770==ERROR: AddressSanitizer: use-after-poison on address 0x78e5a43cc848 at pc 0x5777bec6e7bb bp 0x7ffc8b19fc00 sp 0x7ffc8b19fbf8 |
| READ of size 8 at 0x78e5a43cc848 thread T0 |
| #0 0x5777bec6e7ba in RB_BUILTIN_TYPE /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 |
| #1 0x5777bec6e7ba in gc_update_references_weak_table_i /tmp/ruby/src/trunk_asan/gc/default/default.c:7116:12 |
| #2 0x5777bec4c0a1 in vm_weak_table_gen_ivar_foreach /tmp/ruby/src/trunk_asan/gc.c:3495:32 |
| #3 0x5777beea45ff in apply_functor /tmp/ruby/src/trunk_asan/st.c:1633:12 |
| #4 0x5777beea45ff in st_general_foreach /tmp/ruby/src/trunk_asan/st.c:1543:18 |
| #5 0x5777beea45ff in rb_st_foreach /tmp/ruby/src/trunk_asan/st.c:1640:12 |
| #6 0x5777bec63345 in rb_gc_vm_weak_table_foreach /tmp/ruby/src/trunk_asan/gc.c:3575:13 |
| #7 0x5777bec63345 in gc_update_references /tmp/ruby/src/trunk_asan/gc/default/default.c:7158:9 |
| #8 0x5777bec63345 in gc_compact_finish /tmp/ruby/src/trunk_asan/gc/default/default.c:3481:5 |
| #9 0x5777bec63345 in gc_sweep_compact /tmp/ruby/src/trunk_asan/gc/default/default.c:5688:5 |
| #10 0x5777bec63345 in gc_sweep /tmp/ruby/src/trunk_asan/gc/default/default.c:4144:9 |
| #11 0x5777bec723a3 in gc_start /tmp/ruby/src/trunk_asan/gc/default/default.c:6472:13 |
| #12 0x5777bec73ad4 in garbage_collect /tmp/ruby/src/trunk_asan/gc/default/default.c:6351:15 |
| #13 0x5777bec5dff0 in newobj_slowpath /tmp/ruby/src/trunk_asan/gc/default/default.c:2479:22 |
| #14 0x5777bec5dff0 in newobj_slowpath_wb_protected /tmp/ruby/src/trunk_asan/gc/default/default.c:2501:12 |
| #15 0x5777bec3d9c5 in rb_gc_impl_new_obj /tmp/ruby/src/trunk_asan/gc/default/default.c:2539:11 |
| #16 0x5777bec3d9c5 in newobj_of /tmp/ruby/src/trunk_asan/gc.c:997:17 |
| #17 0x5777bec3de7d in rb_wb_protected_newobj_of /tmp/ruby/src/trunk_asan/gc.c:1035:12 |
| #18 0x5777beeb049e in ec_str_alloc_embed /tmp/ruby/src/trunk_asan/string.c:1823:5 |
| #19 0x5777beeb049e in rb_ec_str_resurrect /tmp/ruby/src/trunk_asan/string.c:1947:19 |
| #20 0x5777befa101e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:378:11 |
| #21 0x5777bef97bd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2595:22 |
| #22 0x5777bf019c81 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1625:12 |
| #23 0x5777bf019c81 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1639:20 |
| #24 0x5777befc6295 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1676:12 |
| #25 0x5777befc6295 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1684:12 |
| #26 0x5777befc6295 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #27 0x5777befc6295 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #28 0x5777bf17a3a5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3645:30 |
| #29 0x5777beffc2b7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3801:11 |
| #30 0x5777befa2e66 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5968:15 |
| #31 0x5777befa2e66 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #32 0x5777bef97bd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2595:22 |
| #33 0x5777bf019c81 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1625:12 |
| #34 0x5777bf019c81 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1639:20 |
| #35 0x5777befc6295 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1676:12 |
| #36 0x5777befc6295 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1684:12 |
| #37 0x5777befc6295 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #38 0x5777befc6295 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #39 0x5777bf17a3a5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3645:30 |
| #40 0x5777beffc2b7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3801:11 |
| #41 0x5777befa2e66 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5968:15 |
| #42 0x5777befa2e66 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #43 0x5777bef97f90 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2622:22 |
| #44 0x5777bef97f90 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2601:18 |
| #45 0x5777bec135da in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #46 0x5777bec135da in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #47 0x5777bec0cb46 in rb_main /tmp/ruby/src/trunk_asan/main.c:40:12 |
| #48 0x5777bec0cb46 in main /tmp/ruby/src/trunk_asan/main.c:65:12 |
| #49 0x78e5c702a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #50 0x78e5c702a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #51 0x5777beb30924 in _start (/tmp/ruby/build/trunk_asan/ruby+0x179924) (BuildId: b45dc673189f664be8fa79f5124b06c06a5cfe3e) |
| Address 0x78e5a43cc848 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: |
| 0x78e5a43cc580: 00 00 00 00 00 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 |
| 0x78e5a43cc600: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 |
| 0x78e5a43cc680: 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 00 |
| 0x78e5a43cc700: 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x78e5a43cc780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f7 |
| =>0x78e5a43cc800: f7 f7 f7 f7 f7 f7 f7 f7 f7[f7]f7 f7 f7 f7 f7 f7 |
| 0x78e5a43cc880: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x78e5a43cc900: f7 f7 f7 f7 f7 f7 f7 00 00 00 00 00 f7 f7 f7 f7 |
| 0x78e5a43cc980: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x78e5a43cca00: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 00 00 f7 |
| 0x78e5a43cca80: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 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 |
| ==1124770==ABORTING |
| /tmp/ruby/src/trunk_asan/test/ruby/test_symbol.rb:128: [BUG] ASAN error |
| ruby 3.5.0dev (2025-01-27T15:28:36Z master feec48ae2b) +PRISM [x86_64-linux] |
| -- Control frame information ----------------------------------------------- |
| c:0017 p:0003 s:0111 e:000109 BLOCK /tmp/ruby/src/trunk_asan/test/ruby/test_symbol.rb:128 |
| c:0016 p:0024 s:0107 e:000106 METHOD /tmp/ruby/src/trunk_asan/tool/lib/envutil.rb:254 |
| c:0015 p:0046 s:0102 e:000101 METHOD /tmp/ruby/src/trunk_asan/tool/lib/envutil.rb:268 |
| c:0014 p:0019 s:0095 e:000094 METHOD /tmp/ruby/src/trunk_asan/test/ruby/test_symbol.rb:127 |
| c:0013 p:0037 s:0091 e:000090 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/testcase.rb:202 |
| c:0012 p:0052 s:0085 e:000084 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/testcase.rb:170 |
| c:0011 p:0083 s:0076 e:000075 BLOCK /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1671 [FINISH] |
| c:0010 p:---- s:0069 e:000068 CFUNC :map |
| c:0009 p:0103 s:0065 e:000064 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1658 |
| c:0008 p:0035 s:0053 e:000052 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1362 |
| c:0007 p:0069 s:0046 E:000480 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:52 |
| c:0006 p:0007 s:0030 e:000029 BLOCK /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:24 [FINISH] |
| c:0005 p:---- s:0026 e:000025 CFUNC :map |
| c:0004 p:0005 s:0022 e:000021 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:23 |
| c:0003 p:0210 s:0016 e:000015 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:122 |
| c:0002 p:0051 s:0006 e:000005 EVAL /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:220 [FINISH] |
| c:0001 p:0000 s:0003 E:001650 DUMMY [FINISH] |
| -- Ruby level backtrace information ---------------------------------------- |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:220:in '<main>' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:122:in 'run' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:23:in '_run_suites' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:23:in 'map' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:24:in 'block in _run_suites' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:52:in '_run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1362:in '_run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1658:in '_run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1658:in 'map' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1671:in 'block in _run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/testcase.rb:170:in 'run' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/testcase.rb:202:in 'run_test' |
| /tmp/ruby/src/trunk_asan/test/ruby/test_symbol.rb:127:in 'test_inspect_under_gc_compact_stress' |
| /tmp/ruby/src/trunk_asan/tool/lib/envutil.rb:268:in 'under_gc_compact_stress' |
| /tmp/ruby/src/trunk_asan/tool/lib/envutil.rb:254:in 'under_gc_stress' |
| /tmp/ruby/src/trunk_asan/test/ruby/test_symbol.rb:128:in 'block in test_inspect_under_gc_compact_stress' |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 1 |
| Ruby thread count for this ractor: 2 |
| -- C level backtrace information ------------------------------------------- |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb: TestSymbol#test_inspect_under_gc_compact_stress(___interceptor_backtrace+0x79) [0x5777beb76d09] |
| [0x5777bf45e6e7] |
| [0x5777bf3a49f1] |
| [0x5777bf3a46cc] |
| [0x5777bebf322a] |
| [0x5777bebd3caf] |
| [0x5777bebd6d3d] |
| [0x5777bebd7a9c] |
| [0x5777bec6e7bb] |
| [0x5777bec4c0a2] |
| [0x5777beea4600] |
| [0x5777bec63346] |
| [0x5777bec723a4] |
| [0x5777bec73ad5] |
| [0x5777bec5dff1] |
| [0x5777bec3d9c6] |
| [0x5777bec3de7e] |
| [0x5777beeb049f] |
| [0x5777befa101f] |
| [0x5777bef97bd8] |
| [0x5777bf019c82] |
| [0x5777befc6296] |
| [0x5777bf17a3a6] |
| [0x5777beffc2b8] |
| [0x5777befa2e67] |
| [0x5777bef97bd8] |
| [0x5777bf019c82] |
| [0x5777befc6296] |
| [0x5777bf17a3a6] |
| [0x5777beffc2b8] |
| [0x5777befa2e67] |
| [0x5777bef97f91] |
| [0x5777bec135db] |
| [0x5777bec0cb47] |
| [0x78e5c702a1ca] |
| [0x78e5c702a28b] |
| [0x5777beb30925] |
| -- Other runtime information ----------------------------------------------- |
| running file: /tmp/ruby/src/trunk_asan/test/ruby/test_symbol.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.nq932p: |
| * drwx------ 2 60 2025-01-27 18:08:46 +0000 d20250127-1124772-30bpxr/ |
| * -rw-r--r-- 1 166 2025-01-27 18:08:46 +0000 s |
| make: *** [uncommon.mk:965: yes-test-all] Error 1 |
| s: No such file or directory @ rb_check_realpath_internal - s (Errno::ENOENT) |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 0. |