| "make update-download -j16" exit with 0. |
| "make update-src -j16" exit with 0. |
| From https://github.com/ruby/ruby |
| b4c900d..511b6bc master -> origin/master |
| "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. |
| ================================================================= |
| ==2114433==ERROR: AddressSanitizer: use-after-poison on address 0x7cb715a50000 at pc 0x582bb06f82c4 bp 0x7fffe1fbfbe0 sp 0x7fffe1fbfbd8 |
| READ of size 8 at 0x7cb715a50000 thread T0 |
| #0 0x582bb06f82c3 in rb_gc_impl_obj_slot_size /tmp/ruby/src/trunk_asan/gc/default/default.c:2185:12 |
| #1 0x582bb06f82c3 in rb_gc_obj_slot_size /tmp/ruby/src/trunk_asan/gc.c:986:12 |
| #2 0x582bb06f82c3 in rb_asan_poisoned_object_p /tmp/ruby/src/trunk_asan/gc.c:5014:43 |
| #3 0x582bb06f82c3 in asan_unpoison_object_temporary /tmp/ruby/src/trunk_asan/internal/sanitizers.h:187:17 |
| #4 0x582bb06f82c3 in rb_gc_impl_location /tmp/ruby/src/trunk_asan/gc/default/default.c:3937:5 |
| #5 0x582bb06f82c3 in gc_location_internal /tmp/ruby/src/trunk_asan/gc.c:2925:12 |
| #6 0x582bb06f82c3 in rb_gc_location /tmp/ruby/src/trunk_asan/gc.c:2931:12 |
| #7 0x582bb06f82c3 in hash_foreach_replace_value /tmp/ruby/src/trunk_asan/gc/gc.h:114:9 |
| #8 0x582bb092ad78 in st_general_foreach /tmp/ruby/src/trunk_asan/st.c:1554:18 |
| #9 0x582bb06ff542 in gc_ref_update_table_values_only /tmp/ruby/src/trunk_asan/gc/gc.h:133:9 |
| #10 0x582bb06ff542 in id2ref_tbl_compact /tmp/ruby/src/trunk_asan/gc.c:1856:9 |
| #11 0x582bb06cec4e in rb_gc_update_object_references /tmp/ruby/src/trunk_asan/gc.c:4268:39 |
| #12 0x582bb06e277d in gc_ref_update /tmp/ruby/src/trunk_asan/gc/default/default.c |
| #13 0x582bb06e277d in gc_update_references /tmp/ruby/src/trunk_asan/gc/default/default.c:7075:13 |
| #14 0x582bb06e277d in gc_compact_finish /tmp/ruby/src/trunk_asan/gc/default/default.c:3409:5 |
| #15 0x582bb06e277d in gc_sweep_compact /tmp/ruby/src/trunk_asan/gc/default/default.c:5614:5 |
| #16 0x582bb06e277d in gc_sweep /tmp/ruby/src/trunk_asan/gc/default/default.c:4068:9 |
| #17 0x582bb06f1c3b in gc_start /tmp/ruby/src/trunk_asan/gc/default/default.c:6420:13 |
| #18 0x582bb06d2866 in garbage_collect /tmp/ruby/src/trunk_asan/gc/default/default.c:6301:15 |
| #19 0x582bb06d2866 in rb_gc_impl_start /tmp/ruby/src/trunk_asan/gc/default/default.c:6753:5 |
| #20 0x582bb0700ec9 in gc_verify_compaction_references /tmp/ruby/src/trunk_asan/gc/default/default.c:9161:5 |
| #21 0x582bb0a988d7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3798:11 |
| #22 0x582bb0a7e872 in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4776:16 |
| #23 0x582bb0a7e314 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #24 0x582bb0a4466b in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5995:15 |
| #25 0x582bb0a4466b in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:899:11 |
| #26 0x582bb0a3371a in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2625:22 |
| #27 0x582bb0ab7db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1655:12 |
| #28 0x582bb0ab7db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1669:20 |
| #29 0x582bb0a613f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1706:12 |
| #30 0x582bb0a613f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1714:12 |
| #31 0x582bb0a613f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1362:12 |
| #32 0x582bb0a613f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #33 0x582bb0c18565 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3655:30 |
| #34 0x582bb0a988d7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3798:11 |
| #35 0x582bb0a3f3f9 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5995:15 |
| #36 0x582bb0a3f3f9 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #37 0x582bb0a33b0a in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2652:22 |
| #38 0x582bb0a33b0a in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2631:18 |
| #39 0x582bb0ab7db1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1655:12 |
| #40 0x582bb0ab7db1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1669:20 |
| #41 0x582bb0a613f5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1706:12 |
| #42 0x582bb0a613f5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1714:12 |
| #43 0x582bb0a613f5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1362:12 |
| #44 0x582bb0a613f5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #45 0x582bb0c18565 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3655:30 |
| #46 0x582bb0a988d7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3798:11 |
| #47 0x582bb0a3f3f9 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5995:15 |
| #48 0x582bb0a3f3f9 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #49 0x582bb0a33b0a in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2652:22 |
| #50 0x582bb0a33b0a in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2631:18 |
| #51 0x582bb068f5fa in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #52 0x582bb068f5fa in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #53 0x582bb0688b66 in rb_main /tmp/ruby/src/trunk_asan/main.c:42:12 |
| #54 0x582bb0688b66 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #55 0x7cb73b22a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #56 0x7cb73b22a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #57 0x582bb05ac934 in _start (/tmp/ruby/build/trunk_asan/ruby+0x168934) (BuildId: 1d024a79c413b47456960466c15ce93df1412bbe) |
| Address 0x7cb715a50000 is a wild pointer inside of access range of size 0x000000000008. |
| SUMMARY: AddressSanitizer: use-after-poison /tmp/ruby/src/trunk_asan/gc/default/default.c:2185:12 in rb_gc_impl_obj_slot_size |
| Shadow bytes around the buggy address: |
| 0x7cb715a4fd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cb715a4fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cb715a4fe80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cb715a4ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7cb715a4ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x7cb715a50000:[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x7cb715a50080: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x7cb715a50100: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x7cb715a50180: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x7cb715a50200: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x7cb715a50280: 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 |
| ==2114433==ABORTING |
| /tmp/ruby/src/trunk_asan/test/ruby/test_gc_compact.rb:142: [BUG] ASAN error |
| ruby 3.5.0dev (2025-05-21T15:27:02Z master 511b6bcb53) +PRISM [x86_64-linux] |
| -- Control frame information ----------------------------------------------- |
| /tmp/ruby/src/trunk_asan/test/ruby/test_gc_compact.rb:142: [BUG] Segmentation fault at 0x0000000000001df0 |
| ruby 3.5.0dev (2025-05-21T15:27:02Z master 511b6bcb53) +PRISM [x86_64-linux] |
| Crashed while printing bug report |
| AddressSanitizer:DEADLYSIGNAL |
| running file: /tmp/ruby/src/trunk_asan/test/ruby/test_gc_compact.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.03adlo: |
| * drwx------ 2 60 2025-05-21 15:36:18 +0000 ruby-test20250521-2114431-tfa64n/ |
| * -rw-r--r-- 1 3 2025-05-21 15:36:18 +0000 file.test |
| make: *** [uncommon.mk:975: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 0. |