| "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. |
| ================================================================= |
| ==1200279==ERROR: AddressSanitizer: use-after-poison on address 0x7de46753f448 at pc 0x56ccb7cae7bb bp 0x7ffc03c033e0 sp 0x7ffc03c033d8 |
| READ of size 8 at 0x7de46753f448 thread T0 |
| #0 0x56ccb7cae7ba in RB_BUILTIN_TYPE /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 |
| #1 0x56ccb7cae7ba in gc_update_references_weak_table_i /tmp/ruby/src/trunk_asan/gc/default/default.c:7116:12 |
| #2 0x56ccb7c8c0a1 in vm_weak_table_gen_ivar_foreach /tmp/ruby/src/trunk_asan/gc.c:3495:32 |
| #3 0x56ccb7ee45ff in apply_functor /tmp/ruby/src/trunk_asan/st.c:1633:12 |
| #4 0x56ccb7ee45ff in st_general_foreach /tmp/ruby/src/trunk_asan/st.c:1543:18 |
| #5 0x56ccb7ee45ff in rb_st_foreach /tmp/ruby/src/trunk_asan/st.c:1640:12 |
| #6 0x56ccb7ca3345 in rb_gc_vm_weak_table_foreach /tmp/ruby/src/trunk_asan/gc.c:3575:13 |
| #7 0x56ccb7ca3345 in gc_update_references /tmp/ruby/src/trunk_asan/gc/default/default.c:7158:9 |
| #8 0x56ccb7ca3345 in gc_compact_finish /tmp/ruby/src/trunk_asan/gc/default/default.c:3481:5 |
| #9 0x56ccb7ca3345 in gc_sweep_compact /tmp/ruby/src/trunk_asan/gc/default/default.c:5688:5 |
| #10 0x56ccb7ca3345 in gc_sweep /tmp/ruby/src/trunk_asan/gc/default/default.c:4144:9 |
| #11 0x56ccb7cb23a3 in gc_start /tmp/ruby/src/trunk_asan/gc/default/default.c:6472:13 |
| #12 0x56ccb7cb3ad4 in garbage_collect /tmp/ruby/src/trunk_asan/gc/default/default.c:6351:15 |
| #13 0x56ccb7c9dff0 in newobj_slowpath /tmp/ruby/src/trunk_asan/gc/default/default.c:2479:22 |
| #14 0x56ccb7c9dff0 in newobj_slowpath_wb_protected /tmp/ruby/src/trunk_asan/gc/default/default.c:2501:12 |
| #15 0x56ccb7c7d9c5 in rb_gc_impl_new_obj /tmp/ruby/src/trunk_asan/gc/default/default.c:2539:11 |
| #16 0x56ccb7c7d9c5 in newobj_of /tmp/ruby/src/trunk_asan/gc.c:997:17 |
| #17 0x56ccb7c7de7d in rb_wb_protected_newobj_of /tmp/ruby/src/trunk_asan/gc.c:1035:12 |
| #18 0x56ccb7ef049e in ec_str_alloc_embed /tmp/ruby/src/trunk_asan/string.c:1823:5 |
| #19 0x56ccb7ef049e in rb_ec_str_resurrect /tmp/ruby/src/trunk_asan/string.c:1947:19 |
| #20 0x56ccb7fe101e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:378:11 |
| #21 0x56ccb7fd7bd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2595:22 |
| #22 0x56ccb8059c81 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1625:12 |
| #23 0x56ccb8059c81 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1639:20 |
| #24 0x56ccb8006295 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1676:12 |
| #25 0x56ccb8006295 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1684:12 |
| #26 0x56ccb8006295 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #27 0x56ccb8006295 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #28 0x56ccb81ba3a5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3645:30 |
| #29 0x56ccb803c2b7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3801:11 |
| #30 0x56ccb7fe2e66 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5968:15 |
| #31 0x56ccb7fe2e66 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #32 0x56ccb7fd7bd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2595:22 |
| #33 0x56ccb8059c81 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1625:12 |
| #34 0x56ccb8059c81 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1639:20 |
| #35 0x56ccb8006295 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1676:12 |
| #36 0x56ccb8006295 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1684:12 |
| #37 0x56ccb8006295 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #38 0x56ccb8006295 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #39 0x56ccb81ba3a5 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3645:30 |
| #40 0x56ccb803c2b7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3801:11 |
| #41 0x56ccb7fe2e66 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5968:15 |
| #42 0x56ccb7fe2e66 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #43 0x56ccb7fd7f90 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2622:22 |
| #44 0x56ccb7fd7f90 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2601:18 |
| #45 0x56ccb7c535da in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #46 0x56ccb7c535da in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #47 0x56ccb7c4cb46 in rb_main /tmp/ruby/src/trunk_asan/main.c:40:12 |
| #48 0x56ccb7c4cb46 in main /tmp/ruby/src/trunk_asan/main.c:65:12 |
| #49 0x7de467e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #50 0x7de467e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #51 0x56ccb7b70924 in _start (/tmp/ruby/build/trunk_asan/ruby+0x179924) (BuildId: b45dc673189f664be8fa79f5124b06c06a5cfe3e) |
| Address 0x7de46753f448 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: |
| 0x7de46753f180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7de46753f200: 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 |
| 0x7de46753f280: 00 00 f7 f7 f7 f7 f7 00 00 00 00 00 00 00 00 00 |
| 0x7de46753f300: 00 f7 f7 f7 f7 f7 00 00 00 00 00 00 00 00 00 00 |
| 0x7de46753f380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f7 |
| =>0x7de46753f400: f7 f7 f7 f7 f7 f7 f7 f7 f7[f7]f7 f7 f7 f7 00 00 |
| 0x7de46753f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7de46753f500: 00 00 f7 f7 f7 f7 f7 00 00 00 00 00 00 00 00 00 |
| 0x7de46753f580: 00 00 00 00 00 00 f7 f7 f7 f7 f7 00 00 00 00 00 |
| 0x7de46753f600: 00 00 00 00 00 f7 f7 f7 f7 f7 00 00 00 00 00 00 |
| 0x7de46753f680: 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 |
| ==1200279==ABORTING |
| /tmp/ruby/src/trunk_asan/test/ruby/test_string.rb:1682: [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_string.rb:1682 |
| 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_string.rb:1682 |
| 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:000420 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_string.rb:1682:in 'test_scan_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_string.rb:1682:in 'block in test_scan_gc_compact_stress' |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 1 |
| Ruby thread count for this ractor: 3 |
| -- C level backtrace information ------------------------------------------- |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb: TestString#test_scan_gc_compact_stress(___interceptor_backtrace+0x79) [0x56ccb7bb6d09] |
| [0x56ccb849e6e7] |
| [0x56ccb83e49f1] |
| [0x56ccb83e46cc] |
| [0x56ccb7c3322a] |
| [0x56ccb7c13caf] |
| [0x56ccb7c16d3d] |
| [0x56ccb7c17a9c] |
| [0x56ccb7cae7bb] |
| [0x56ccb7c8c0a2] |
| [0x56ccb7ee4600] |
| [0x56ccb7ca3346] |
| [0x56ccb7cb23a4] |
| [0x56ccb7cb3ad5] |
| [0x56ccb7c9dff1] |
| [0x56ccb7c7d9c6] |
| [0x56ccb7c7de7e] |
| [0x56ccb7ef049f] |
| [0x56ccb7fe101f] |
| [0x56ccb7fd7bd8] |
| [0x56ccb8059c82] |
| [0x56ccb8006296] |
| [0x56ccb81ba3a6] |
| [0x56ccb803c2b8] |
| [0x56ccb7fe2e67] |
| [0x56ccb7fd7bd8] |
| [0x56ccb8059c82] |
| [0x56ccb8006296] |
| [0x56ccb81ba3a6] |
| [0x56ccb803c2b8] |
| [0x56ccb7fe2e67] |
| [0x56ccb7fd7f91] |
| [0x56ccb7c535db] |
| [0x56ccb7c4cb47] |
| [0x7de467e2a1ca] |
| [0x7de467e2a28b] |
| [0x56ccb7b70925] |
| -- Other runtime information ----------------------------------------------- |
| running file: /tmp/ruby/src/trunk_asan/test/ruby/test_string.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. |
| make: *** [uncommon.mk:965: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 0. |