| "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 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==410068==ERROR: AddressSanitizer: use-after-poison on address 0x77b7f42e0000 at pc 0x60224840d626 bp 0x7ffe33ef87b0 sp 0x7ffe33ef87a8 |
| READ of size 8 at 0x77b7f42e0000 thread T0 |
| #0 0x60224840d625 in rb_gc_impl_obj_slot_size /tmp/ruby/src/trunk_asan/gc/default/default.c:2248:12 |
| #1 0x60224840d625 in rb_gc_obj_slot_size /tmp/ruby/src/trunk_asan/gc.c:978:12 |
| #2 0x60224840d625 in rb_asan_poisoned_object_p /tmp/ruby/src/trunk_asan/gc.c:4330:43 |
| #3 0x60224845711a in asan_unpoison_object_temporary /tmp/ruby/src/trunk_asan/internal/sanitizers.h:187:17 |
| #4 0x60224845711a in vm_ccs_free /tmp/ruby/src/trunk_asan/imemo.c:464:29 |
| #5 0x60224845711a in cc_table_free_i /tmp/ruby/src/trunk_asan/imemo.c:505:5 |
| #6 0x6022486b46a0 in rb_id_table_foreach_values /tmp/ruby/src/trunk_asan/id_table.c:296:52 |
| #7 0x602248457053 in rb_cc_table_free /tmp/ruby/src/trunk_asan/imemo.c:516:9 |
| #8 0x6022483f64ff in rb_gc_obj_free /tmp/ruby/src/trunk_asan/gc.c:1260:9 |
| #9 0x602248424a15 in gc_sweep_plane /tmp/ruby/src/trunk_asan/gc/default/default.c:3544:21 |
| #10 0x60224841e2f2 in gc_sweep_page /tmp/ruby/src/trunk_asan/gc/default/default.c:3632:13 |
| #11 0x60224841e2f2 in gc_sweep_step /tmp/ruby/src/trunk_asan/gc/default/default.c:3907:9 |
| #12 0x602248416c4b in gc_sweep_continue /tmp/ruby/src/trunk_asan/gc/default/default.c:3994:14 |
| #13 0x602248416c4b in gc_continue /tmp/ruby/src/trunk_asan/gc/default/default.c:2081:9 |
| #14 0x6022484152c1 in heap_prepare /tmp/ruby/src/trunk_asan/gc/default/default.c:2100:5 |
| #15 0x6022484152c1 in heap_next_free_page /tmp/ruby/src/trunk_asan/gc/default/default.c:2314:9 |
| #16 0x6022484152c1 in newobj_cache_miss /tmp/ruby/src/trunk_asan/gc/default/default.c:2422:38 |
| #17 0x6022483f5308 in newobj_alloc /tmp/ruby/src/trunk_asan/gc/default/default.c:2446:15 |
| #18 0x6022483f5308 in rb_gc_impl_new_obj /tmp/ruby/src/trunk_asan/gc/default/default.c:2532:15 |
| #19 0x6022483f5308 in newobj_of /tmp/ruby/src/trunk_asan/gc.c:996:17 |
| #20 0x6022483f546d in rb_wb_protected_newobj_of /tmp/ruby/src/trunk_asan/gc.c:1025:12 |
| #21 0x60224866e14a in str_alloc_embed /tmp/ruby/src/trunk_asan/string.c:974:5 |
| #22 0x60224866e14a in rb_str_buf_new /tmp/ruby/src/trunk_asan/string.c:1646:16 |
| #23 0x60224866e14a in rb_str_concat_literals /tmp/ruby/src/trunk_asan/string.c:3693:11 |
| #24 0x60224875725a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:402:11 |
| #25 0x60224874cfd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2595:22 |
| #26 0x6022484cf2ab in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:789:5 |
| #27 0x6022484c73df in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:850:9 |
| #28 0x6022484cc9b9 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:924:5 |
| #29 0x6022487b0a87 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3801:11 |
| #30 0x60224875e34c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5968:15 |
| #31 0x60224875e34c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #32 0x60224874cfd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2595:22 |
| #33 0x6022487ce041 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1625:12 |
| #34 0x6022487ce041 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1639:20 |
| #35 0x6022487813ba in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1676:12 |
| #36 0x6022487813ba in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2109:12 |
| #37 0x6022487b0a87 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3801:11 |
| #38 0x602248757a6e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5968:15 |
| #39 0x602248757a6e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #40 0x60224874d390 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2622:22 |
| #41 0x60224874d390 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2601:18 |
| #42 0x6022483ca4aa in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #43 0x6022483ca4aa in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #44 0x6022483c3a16 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #45 0x6022483c3a16 in main /tmp/ruby/src/trunk_asan/main.c:68:12 |
| #46 0x77b7f6e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #47 0x77b7f6e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #48 0x6022482e77f4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1787f4) (BuildId: 30132ac730680020ad72f52d95f7e4d90b0d245b) |
| Address 0x77b7f42e0000 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:2248:12 in rb_gc_impl_obj_slot_size |
| Shadow bytes around the buggy address: |
| 0x77b7f42dfd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77b7f42dfe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77b7f42dfe80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77b7f42dff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x77b7f42dff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x77b7f42e0000:[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77b7f42e0080: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77b7f42e0100: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77b7f42e0180: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77b7f42e0200: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 |
| 0x77b7f42e0280: 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 |
| ==410068==ABORTING |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:233: [BUG] ASAN error |
| ruby 3.4.0dev (2024-12-19T18:20:31Z master 84eff67644) +PRISM [x86_64-linux] |
| -- Control frame information ----------------------------------------------- |
| c:0018 p:0011 s:0092 e:000088 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:233 |
| c:0017 p:0005 s:0084 e:000083 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:111 |
| c:0016 p:0086 s:0077 E:002560 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/context.rb:231 |
| c:0015 p:0054 s:0073 e:000072 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:56 |
| c:0014 p:0015 s:0065 e:000064 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/object.rb:11 |
| c:0013 p:0012 s:0058 E:0023e0 TOP /tmp/ruby/src/trunk_asan/spec/ruby/core/enumerator/generator/initialize_spec.rb:5 [FINISH] |
| c:0012 p:---- s:0055 e:000054 CFUNC :load |
| c:0011 p:0006 s:0050 e:000049 BLOCK /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:100 [FINISH] |
| c:0010 p:---- s:0047 e:000046 CFUNC :instance_exec |
| c:0009 p:0009 s:0043 e:000042 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:117 |
| c:0008 p:0030 s:0035 e:000034 BLOCK /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:100 |
| c:0007 p:0033 s:0031 e:000030 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:77 |
| c:0006 p:0004 s:0024 e:000023 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:96 |
| c:0005 p:0021 s:0020 e:000019 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:64 |
| c:0004 p:0024 s:0016 e:000015 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/commands/mspec-run.rb:88 |
| c:0003 p:0051 s:0012 e:000011 METHOD /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/utils/script.rb:297 |
| c:0002 p:0023 s:0006 e:000005 EVAL /tmp/ruby/src/trunk_asan/spec/mspec/bin/mspec-run:7 [FINISH] |
| c:0001 p:0000 s:0003 E:001650 DUMMY [FINISH] |
| -- Ruby level backtrace information ---------------------------------------- |
| /tmp/ruby/src/trunk_asan/spec/mspec/bin/mspec-run:7:in '<main>' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/utils/script.rb:297:in 'main' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/commands/mspec-run.rb:88:in 'run' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:64:in 'process' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:96:in 'files' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:77:in 'each_file' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:100:in 'block in files' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:117:in 'protect' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:117:in 'instance_exec' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:100:in 'block (2 levels) in files' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:100:in 'load' |
| /tmp/ruby/src/trunk_asan/spec/ruby/core/enumerator/generator/initialize_spec.rb:5:in '<top (required)>' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/object.rb:11:in 'describe' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:56:in 'describe' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/context.rb:231:in 'process' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:111:in 'actions' |
| /tmp/ruby/src/trunk_asan/spec/mspec/lib/mspec/runner/mspec.rb:233:in 'retrieve' |
| -- 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+0x79) [0x60224832dbd9] |
| /tmp/ruby/build/trunk_asan/ruby(rb_print_backtrace+0x14) [0x602248c0c307] /tmp/ruby/src/trunk_asan/vm_dump.c:823 |
| /tmp/ruby/build/trunk_asan/ruby(rb_vm_bugreport) /tmp/ruby/src/trunk_asan/vm_dump.c:1155 |
| /tmp/ruby/build/trunk_asan/ruby(rb_bug_without_die_internal+0x281) [0x602248b52c21] /tmp/ruby/src/trunk_asan/error.c:1097 |
| /tmp/ruby/build/trunk_asan/ruby(rb_bug_without_die+0x12c) [0x602248b528fc] /tmp/ruby/src/trunk_asan/error.c:1106 |
| /tmp/ruby/build/trunk_asan/ruby(0x6022483aa0fa) [0x6022483aa0fa] |
| /tmp/ruby/build/trunk_asan/ruby(0x60224838ab7f) [0x60224838ab7f] |
| /tmp/ruby/build/trunk_asan/ruby(0x60224838dc0d) [0x60224838dc0d] |
| /tmp/ruby/build/trunk_asan/ruby(__asan_report_load8) [0x60224838e96c] |
| /tmp/ruby/build/trunk_asan/ruby(rb_asan_poisoned_object_p+0x56) [0x60224840d626] /tmp/ruby/src/trunk_asan/gc/default/default.c:2248 |
| /tmp/ruby/build/trunk_asan/ruby(asan_unpoison_object_temporary+0x8) [0x60224845711b] /tmp/ruby/src/trunk_asan/internal/sanitizers.h:187 |
| /tmp/ruby/build/trunk_asan/ruby(vm_ccs_free) /tmp/ruby/src/trunk_asan/imemo.c:464 |
| /tmp/ruby/build/trunk_asan/ruby(cc_table_free_i) /tmp/ruby/src/trunk_asan/imemo.c:505 |
| /tmp/ruby/build/trunk_asan/ruby(rb_id_table_foreach_values+0xd1) [0x6022486b46a1] /tmp/ruby/src/trunk_asan/id_table.c:296 |
| /tmp/ruby/build/trunk_asan/ruby(rb_cc_table_free+0x34) [0x602248457054] /tmp/ruby/src/trunk_asan/imemo.c:516 |
| /tmp/ruby/build/trunk_asan/ruby(rb_gc_obj_free+0x1f0) [0x6022483f6500] /tmp/ruby/src/trunk_asan/gc.c:1260 |
| /tmp/ruby/build/trunk_asan/ruby(gc_sweep_plane+0x576) [0x602248424a16] /tmp/ruby/src/trunk_asan/gc/default/default.c:3544 |
| /tmp/ruby/build/trunk_asan/ruby(gc_sweep_step+0xcd3) [0x60224841e2f3] /tmp/ruby/src/trunk_asan/gc/default/default.c:3632 |
| /tmp/ruby/build/trunk_asan/ruby(gc_continue+0x9fc) [0x602248416c4c] /tmp/ruby/src/trunk_asan/gc/default/default.c:3994 |
| /tmp/ruby/build/trunk_asan/ruby(newobj_cache_miss+0x2d2) [0x6022484152c2] /tmp/ruby/src/trunk_asan/gc/default/default.c:2100 |
| /tmp/ruby/build/trunk_asan/ruby(newobj_of+0x569) [0x6022483f5309] /tmp/ruby/src/trunk_asan/gc/default/default.c:2446 |
| /tmp/ruby/build/trunk_asan/ruby(rb_wb_protected_newobj_of+0x4e) [0x6022483f546e] /tmp/ruby/src/trunk_asan/gc.c:1025 |
| /tmp/ruby/build/trunk_asan/ruby(str_alloc_embed+0xd) [0x60224866e14b] /tmp/ruby/src/trunk_asan/string.c:974 |
| /tmp/ruby/build/trunk_asan/ruby(rb_str_buf_new) /tmp/ruby/src/trunk_asan/string.c:1646 |
| /tmp/ruby/build/trunk_asan/ruby(rb_str_concat_literals) /tmp/ruby/src/trunk_asan/string.c:3693 |
| /tmp/ruby/build/trunk_asan/ruby(vm_exec_core+0x69fb) [0x60224875725b] ../../src/trunk_asan/insns.def:402 |
| /tmp/ruby/build/trunk_asan/ruby(rb_vm_exec+0x5b8) [0x60224874cfd8] /tmp/ruby/src/trunk_asan/vm.c:2595 |
| /tmp/ruby/build/trunk_asan/ruby(load_iseq_eval+0x4ec) [0x6022484cf2ac] /tmp/ruby/src/trunk_asan/load.c:789 |
| /tmp/ruby/build/trunk_asan/ruby(rb_load_internal+0x480) [0x6022484c73e0] /tmp/ruby/src/trunk_asan/load.c:850 |
| /tmp/ruby/build/trunk_asan/ruby(rb_f_load+0xda) [0x6022484cc9ba] /tmp/ruby/src/trunk_asan/load.c:924 |
| /tmp/ruby/build/trunk_asan/ruby(vm_cfp_consistent_p+0x0) [0x6022487b0a88] /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3801 |
| /tmp/ruby/build/trunk_asan/ruby(vm_call_cfunc_with_frame_) /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3803 |
| /tmp/ruby/build/trunk_asan/ruby(vm_sendish+0x25b) [0x60224875e34d] /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5968 |
| /tmp/ruby/build/trunk_asan/ruby(vm_exec_core) ../../src/trunk_asan/insns.def:898 |
| /tmp/ruby/build/trunk_asan/ruby(rb_vm_exec+0x5b8) [0x60224874cfd8] /tmp/ruby/src/trunk_asan/vm.c:2595 |
| /tmp/ruby/build/trunk_asan/ruby(invoke_iseq_block_from_c+0x6ef) [0x6022487ce042] /tmp/ruby/src/trunk_asan/vm.c:1625 |
| /tmp/ruby/build/trunk_asan/ruby(invoke_block_from_c_bh) /tmp/ruby/src/trunk_asan/vm.c:1639 |
| /tmp/ruby/build/trunk_asan/ruby(vm_yield_with_cref+0xca) [0x6022487813bb] /tmp/ruby/src/trunk_asan/vm.c:1676 |
| /tmp/ruby/build/trunk_asan/ruby(yield_under) /tmp/ruby/src/trunk_asan/vm_eval.c:2109 |
| /tmp/ruby/build/trunk_asan/ruby(vm_cfp_consistent_p+0x0) [0x6022487b0a88] /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3801 |
| /tmp/ruby/build/trunk_asan/ruby(vm_call_cfunc_with_frame_) /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3803 |
| /tmp/ruby/build/trunk_asan/ruby(vm_sendish+0x273) [0x602248757a6f] /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5968 |
| /tmp/ruby/build/trunk_asan/ruby(vm_exec_core) ../../src/trunk_asan/insns.def:851 |
| /tmp/ruby/build/trunk_asan/ruby(vm_exec_loop+0x18b) [0x60224874d391] /tmp/ruby/src/trunk_asan/vm.c:2622 |
| /tmp/ruby/build/trunk_asan/ruby(rb_vm_exec) /tmp/ruby/src/trunk_asan/vm.c:2601 |
| /tmp/ruby/build/trunk_asan/ruby(rb_ec_exec_node+0x7f) [0x6022483ca4ab] /tmp/ruby/src/trunk_asan/eval.c:281 |
| /tmp/ruby/build/trunk_asan/ruby(ruby_run_node) /tmp/ruby/src/trunk_asan/eval.c:319 |
| /tmp/ruby/build/trunk_asan/ruby(rb_main+0x25) [0x6022483c3a17] /tmp/ruby/src/trunk_asan/main.c:43 |
| /tmp/ruby/build/trunk_asan/ruby(main) /tmp/ruby/src/trunk_asan/main.c:68 |
| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_call_main+0x7a) [0x77b7f6e2a1ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x77b7f6e2a28b] ../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) [0x6022482e77f5] |
| -- Other runtime information ----------------------------------------------- |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/core/enumerator/generator/initialize_spec.rb |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |