| "make update-download -j16" exit with 0. |
| "make update-src -j16" exit with 0. |
| From https://github.com/ruby/ruby |
| 3c63a01..ad9d2c6 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. |
| ================================================================= |
| ==1007318==ERROR: AddressSanitizer: use-after-poison on address 0x7bbd64461840 at pc 0x5f73c934c764 bp 0x7fff84c64700 sp 0x7fff84c646f8 |
| READ of size 8 at 0x7bbd64461840 thread T0 |
| #0 0x5f73c934c763 in RB_BUILTIN_TYPE /tmp/ruby/src/trunk_asan/include/ruby/internal/value_type.h:191:30 |
| #1 0x5f73c934c763 in rb_gc_impl_garbage_object_p /tmp/ruby/src/trunk_asan/gc/default.c:1656:13 |
| #2 0x5f73c934c763 in rb_objspace_garbage_object_p /tmp/ruby/src/trunk_asan/gc.c:1589:12 |
| #3 0x7bbd68e8767a in reachable_object_from_root_i /tmp/ruby/src/trunk_asan/ext/objspace/objspace.c:693:10 |
| #4 0x5f73c934e83a in gc_mark_maybe_internal /tmp/ruby/src/trunk_asan/gc.c:2088:5 |
| #5 0x5f73c9350129 in each_location /tmp/ruby/src/trunk_asan/gc.c:2116:9 |
| #6 0x5f73c935001e in each_location_ptr /tmp/ruby/src/trunk_asan/gc.c:2125:5 |
| #7 0x5f73c935001e in gc_mark_machine_stack_location_maybe /tmp/ruby/src/trunk_asan/gc.c:2261:9 |
| #8 0x5f73c9350129 in each_location /tmp/ruby/src/trunk_asan/gc.c:2116:9 |
| #9 0x5f73c93506e8 in each_location_ptr /tmp/ruby/src/trunk_asan/gc.c:2125:5 |
| #10 0x5f73c93506e8 in mark_current_machine_context /tmp/ruby/src/trunk_asan/gc.c:2335:5 |
| #11 0x5f73c93506e8 in rb_gc_mark_roots /tmp/ruby/src/trunk_asan/gc.c:2443:5 |
| #12 0x5f73c935d5ca in rb_objspace_reachable_objects_from_root /tmp/ruby/src/trunk_asan/gc.c:3576:5 |
| #13 0x7bbd68e8624a in reachable_objects_from_root /tmp/ruby/src/trunk_asan/ext/objspace/objspace.c:725:5 |
| #14 0x5f73c96f75c7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #15 0x5f73c96dd73c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4766:16 |
| #16 0x5f73c96dd1f4 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #17 0x5f73c96a4f7c in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #18 0x5f73c96a4f7c in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #19 0x5f73c9694367 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #20 0x5f73c9714b71 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1595:12 |
| #21 0x5f73c9714b71 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1609:20 |
| #22 0x5f73c96c14b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1646:12 |
| #23 0x5f73c96c14b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1654:12 |
| #24 0x5f73c96c14b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #25 0x5f73c96c14b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #26 0x5f73c986b285 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3703:30 |
| #27 0x5f73c96f75c7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #28 0x5f73c969ead2 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #29 0x5f73c969ead2 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #30 0x5f73c9694720 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2591:22 |
| #31 0x5f73c9694720 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2570:18 |
| #32 0x5f73c9714b71 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1595:12 |
| #33 0x5f73c9714b71 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1609:20 |
| #34 0x5f73c96c14b5 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1646:12 |
| #35 0x5f73c96c14b5 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1654:12 |
| #36 0x5f73c96c14b5 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #37 0x5f73c96c14b5 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #38 0x5f73c986b285 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3703:30 |
| #39 0x5f73c96f75c7 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #40 0x5f73c969ead2 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #41 0x5f73c969ead2 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #42 0x5f73c9694720 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2591:22 |
| #43 0x5f73c9694720 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2570:18 |
| #44 0x5f73c931d31a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #45 0x5f73c931d31a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #46 0x5f73c9316886 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #47 0x5f73c9316886 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #48 0x7bbd88c2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #49 0x7bbd88c2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #50 0x5f73c923a664 in _start (/tmp/ruby/build/trunk_asan/ruby+0x174664) (BuildId: 9704f49b58cab65970099e098e1e1537356a4724) |
| Address 0x7bbd64461840 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: |
| 0x7bbd64461580: 00 00 00 f7 00 00 00 00 f7 00 00 00 00 f7 00 00 |
| 0x7bbd64461600: 00 00 f7 00 00 00 00 f7 00 00 00 00 00 00 00 00 |
| 0x7bbd64461680: 00 f7 00 00 00 00 f7 00 00 00 00 00 00 00 00 00 |
| 0x7bbd64461700: 00 00 00 00 00 f7 00 00 00 00 f7 00 00 00 00 f7 |
| 0x7bbd64461780: 00 00 00 00 00 00 00 00 00 f7 00 00 00 00 f7 00 |
| =>0x7bbd64461800: 00 00 00 f7 00 00 00 00[f7]00 00 00 00 f7 00 00 |
| 0x7bbd64461880: 00 00 f7 00 00 00 00 f7 00 00 00 00 f7 00 00 00 |
| 0x7bbd64461900: 00 f7 00 00 00 00 f7 00 00 00 00 00 00 00 00 00 |
| 0x7bbd64461980: f7 00 00 00 00 f7 00 00 00 00 00 00 00 00 00 f7 |
| 0x7bbd64461a00: 00 00 00 00 f7 00 00 00 00 00 00 00 00 00 00 00 |
| 0x7bbd64461a80: 00 00 00 f7 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 |
| ==1007318==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/objspace/test_objspace.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.tuxune: |
| * drwx------ 2 60 2024-09-03 15:24:21 +0000 d20240903-1007328-qh76pu/ |
| * -rw-r--r-- 1 5 2024-09-03 15:24:21 +0000 test-script |
| make: *** [uncommon.mk:964: yes-test-all] Error 1 |
| test-script: No such file or directory @ rb_check_realpath_internal - test-script (Errno::ENOENT) |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 0. |