| "git clone --depth 1 https://github.com/ruby/ruby.git trunk_asan" exit with 0. |
| Cloning into 'trunk_asan'... |
| "./autogen.sh" exit with 0. |
| "autoconf" exit with 0. |
| "/tmp/ruby/src/trunk_asan/configure --prefix=/tmp/ruby/install/trunk_asan --disable-install-doc 'CC=clang-17' 'cflags=-fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0'" exit with 0. |
| "make update-download -j16" exit with 0. |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/power_assert'... |
| Cloning into '/tmp/ruby/src/trunk_asan/gems/src/typeprof'... |
| From https://github.com/ruby/power_assert |
| * branch 84e85124c5014a139af39161d484156cfe87a9ed -> FETCH_HEAD |
| HEAD is now at 84e8512 Merge pull request #48 from casperisfine/frozen-string-literals |
| From https://github.com/ruby/typeprof |
| * branch b19a6416da3a05d57fadd6ffdadb382b6d236ca5 -> FETCH_HEAD |
| HEAD is now at b19a641 Add support for future `putchilledstring` instruction |
| "make update-src -j16" exit with 0. |
| "make after-update -j16" exit with 0. |
| + cp /tmp/ruby/src/trunk_asan/enc/jis/props.h.blt /tmp/ruby/src/trunk_asan/enc/jis/props.h |
| "make miniruby -j16" exit with 0. |
| "make ruby -j16" exit with 0. |
| "make all -j16" exit with 0. |
| libffi_version: 3.4.6 |
| "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. |
| ================================================================= |
| ==499136==ERROR: AddressSanitizer: use-after-poison on address 0x51c0000670b0 at pc 0x62002f3f22d3 bp 0x7fff8faf7f50 sp 0x7fff8faf7f48 |
| WRITE of size 8 at 0x51c0000670b0 thread T0 |
| #0 0x62002f3f22d2 in size_pool_add_page /tmp/ruby/src/trunk_asan/gc/default.c:2053:20 |
| #1 0x62002f3e72b5 in heap_page_allocate_and_initialize /tmp/ruby/src/trunk_asan/gc/default.c:2080:9 |
| #2 0x62002f3e72b5 in heap_prepare /tmp/ruby/src/trunk_asan/gc/default.c:2145:9 |
| #3 0x62002f3e72b5 in heap_next_free_page /tmp/ruby/src/trunk_asan/gc/default.c:2357:9 |
| #4 0x62002f3e72b5 in newobj_cache_miss /tmp/ruby/src/trunk_asan/gc/default.c:2466:38 |
| #5 0x62002f3cb1ea in newobj_alloc /tmp/ruby/src/trunk_asan/gc/default.c:2490:15 |
| #6 0x62002f3cb1ea in rb_gc_impl_new_obj /tmp/ruby/src/trunk_asan/gc/default.c:2573:15 |
| #7 0x62002f3cb1ea in newobj_of /tmp/ruby/src/trunk_asan/gc.c:890:17 |
| #8 0x62002f3cb32d in rb_wb_protected_newobj_of /tmp/ruby/src/trunk_asan/gc.c:917:12 |
| #9 0x62002f4e7daa in rb_class_allocate_instance /tmp/ruby/src/trunk_asan/object.c:131:5 |
| #10 0x62002f4f43b0 in class_call_alloc_func /tmp/ruby/src/trunk_asan/object.c:2141:11 |
| #11 0x62002f4ea957 in rb_class_new_instance_pass_kw /tmp/ruby/src/trunk_asan/object.c:2172:11 |
| #12 0x62002f77b307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #13 0x62002f728bbc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #14 0x62002f728bbc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #15 0x62002f717dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #16 0x62002f7988e1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1595:12 |
| #17 0x62002f7988e1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1609:20 |
| #18 0x62002f745195 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1646:12 |
| #19 0x62002f745195 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1654:12 |
| #20 0x62002f745195 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #21 0x62002f745195 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #22 0x62002f8ef525 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3704:30 |
| #23 0x62002f77b307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #24 0x62002f72015a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #25 0x62002f72015a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #26 0x62002f718190 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2591:22 |
| #27 0x62002f718190 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2570:18 |
| #28 0x62002f7988e1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1595:12 |
| #29 0x62002f7988e1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1609:20 |
| #30 0x62002f745195 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1646:12 |
| #31 0x62002f745195 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1654:12 |
| #32 0x62002f745195 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #33 0x62002f745195 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #34 0x62002f8ef525 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3704:30 |
| #35 0x62002f77b307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #36 0x62002f72015a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #37 0x62002f72015a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #38 0x62002f718190 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2591:22 |
| #39 0x62002f718190 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2570:18 |
| #40 0x62002f3a033a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #41 0x62002f3a033a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #42 0x62002f3998a6 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #43 0x62002f3998a6 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #44 0x7221ed02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #45 0x7221ed02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #46 0x62002f2bd684 in _start (/tmp/ruby/build/trunk_asan/ruby+0x175684) (BuildId: 74ff92a014b126b075d949542e2be0040867f6ab) |
| 0x51c0000670b0 is located 48 bytes inside of 1736-byte region [0x51c000067080,0x51c000067748) |
| allocated by thread T0 here: |
| #0 0x62002f35bd7c in calloc (/tmp/ruby/build/trunk_asan/ruby+0x213d7c) (BuildId: 74ff92a014b126b075d949542e2be0040867f6ab) |
| #1 0x62002f3faecf in calloc1 /tmp/ruby/src/trunk_asan/gc/default.c:1518:12 |
| #2 0x62002f3faecf in heap_page_allocate /tmp/ruby/src/trunk_asan/gc/default.c:1981:30 |
| #3 0x62002f3e7482 in heap_page_allocate_and_initialize /tmp/ruby/src/trunk_asan/gc/default.c:2078:20 |
| #4 0x62002f3e7482 in heap_page_allocate_and_initialize_force /tmp/ruby/src/trunk_asan/gc/default.c:2102:5 |
| #5 0x62002f3e7482 in heap_prepare /tmp/ruby/src/trunk_asan/gc/default.c:2136:9 |
| #6 0x62002f3e7482 in heap_next_free_page /tmp/ruby/src/trunk_asan/gc/default.c:2357:9 |
| #7 0x62002f3e7482 in newobj_cache_miss /tmp/ruby/src/trunk_asan/gc/default.c:2466:38 |
| #8 0x62002f3cb1ea in newobj_alloc /tmp/ruby/src/trunk_asan/gc/default.c:2490:15 |
| #9 0x62002f3cb1ea in rb_gc_impl_new_obj /tmp/ruby/src/trunk_asan/gc/default.c:2573:15 |
| #10 0x62002f3cb1ea in newobj_of /tmp/ruby/src/trunk_asan/gc.c:890:17 |
| #11 0x62002f3cb32d in rb_wb_protected_newobj_of /tmp/ruby/src/trunk_asan/gc.c:917:12 |
| #12 0x62002f6296f4 in str_alloc_embed /tmp/ruby/src/trunk_asan/string.c:934:5 |
| #13 0x62002f6296f4 in str_new0 /tmp/ruby/src/trunk_asan/string.c:971:15 |
| #14 0x62002f62c20a in str_new_frozen_buffer /tmp/ruby/src/trunk_asan/string.c:1545:15 |
| #15 0x62002f663e62 in str_new_frozen /tmp/ruby/src/trunk_asan/string.c:1515:12 |
| #16 0x62002f663e62 in str_duplicate_setup /tmp/ruby/src/trunk_asan/string.c:1835:26 |
| #17 0x62002f5659ba in reg_set_source /tmp/ruby/src/trunk_asan/re.c:3356:32 |
| #18 0x62002f5659ba in rb_reg_initialize_str /tmp/ruby/src/trunk_asan/re.c:3379:19 |
| #19 0x62002f565fcc in rb_reg_init_str /tmp/ruby/src/trunk_asan/re.c:3412:9 |
| #20 0x62002f565fcc in rb_reg_new_str /tmp/ruby/src/trunk_asan/re.c:3404:12 |
| #21 0x62002f565fcc in rb_reg_new_ary /tmp/ruby/src/trunk_asan/re.c:3436:16 |
| #22 0x62002f720bf8 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:430:11 |
| #23 0x62002f717dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #24 0x62002f754f9a in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1595:12 |
| #25 0x62002f754f9a in invoke_block_from_c_proc /tmp/ruby/src/trunk_asan/vm.c:1689:16 |
| #26 0x62002f754f9a in vm_invoke_proc /tmp/ruby/src/trunk_asan/vm.c:1719:12 |
| #27 0x62002f753225 in rb_vm_invoke_proc /tmp/ruby/src/trunk_asan/vm.c:1740:16 |
| #28 0x62002f4ff311 in rb_proc_call_with_block_kw /tmp/ruby/src/trunk_asan/proc.c:988:12 |
| #29 0x62002f4ff311 in rb_proc_call_with_block /tmp/ruby/src/trunk_asan/proc.c:996:12 |
| #30 0x62002f3a403f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #31 0x62002f723b78 in vm_once_dispatch /tmp/ruby/src/trunk_asan/vm_insnhelper.c:6387:15 |
| #32 0x62002f723b78 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:1217:11 |
| #33 0x62002f717dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #34 0x62002f49d001 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:781:5 |
| #35 0x62002f497ff6 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #36 0x62002f4962aa in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #37 0x62002f4962aa in rb_f_require_relative /tmp/ruby/src/trunk_asan/load.c:1041:12 |
| #38 0x62002f77b307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #39 0x62002f728bbc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #40 0x62002f728bbc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #41 0x62002f717dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #42 0x62002f49d001 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:781:5 |
| #43 0x62002f497ff6 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #44 0x62002f4962aa in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #45 0x62002f4962aa in rb_f_require_relative /tmp/ruby/src/trunk_asan/load.c:1041:12 |
| #46 0x62002f77b307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #47 0x62002f728bbc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #48 0x62002f728bbc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #49 0x62002f717dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| SUMMARY: AddressSanitizer: use-after-poison /tmp/ruby/src/trunk_asan/gc/default.c:2053:20 in size_pool_add_page |
| Shadow bytes around the buggy address: |
| 0x51c000066e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c000066e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c000066f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c000066f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fa |
| 0x51c000067000: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa |
| =>0x51c000067080: 00 00 00 00 00 00[f7]00 00 00 00 00 00 00 00 00 |
| 0x51c000067100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c000067180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c000067200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c000067280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c000067300: 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 |
| ==499136==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/ruby/test_gc.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:964: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 512. |
| ================================================================= |
| ==519924==ERROR: AddressSanitizer: use-after-poison on address 0x51c0000d38b0 at pc 0x6384447f42d3 bp 0x7ffde96323f0 sp 0x7ffde96323e8 |
| WRITE of size 8 at 0x51c0000d38b0 thread T0 |
| #0 0x6384447f42d2 in size_pool_add_page /tmp/ruby/src/trunk_asan/gc/default.c:2053:20 |
| #1 0x6384447e9496 in heap_page_allocate_and_initialize /tmp/ruby/src/trunk_asan/gc/default.c:2080:9 |
| #2 0x6384447e9496 in heap_page_allocate_and_initialize_force /tmp/ruby/src/trunk_asan/gc/default.c:2102:5 |
| #3 0x6384447e9496 in heap_prepare /tmp/ruby/src/trunk_asan/gc/default.c:2136:9 |
| #4 0x6384447e9496 in heap_next_free_page /tmp/ruby/src/trunk_asan/gc/default.c:2357:9 |
| #5 0x6384447e9496 in newobj_cache_miss /tmp/ruby/src/trunk_asan/gc/default.c:2466:38 |
| #6 0x6384447cd1ea in newobj_alloc /tmp/ruby/src/trunk_asan/gc/default.c:2490:15 |
| #7 0x6384447cd1ea in rb_gc_impl_new_obj /tmp/ruby/src/trunk_asan/gc/default.c:2573:15 |
| #8 0x6384447cd1ea in newobj_of /tmp/ruby/src/trunk_asan/gc.c:890:17 |
| #9 0x6384447cd32d in rb_wb_protected_newobj_of /tmp/ruby/src/trunk_asan/gc.c:917:12 |
| #10 0x638444a2b6f4 in str_alloc_embed /tmp/ruby/src/trunk_asan/string.c:934:5 |
| #11 0x638444a2b6f4 in str_new0 /tmp/ruby/src/trunk_asan/string.c:971:15 |
| #12 0x63844482cf75 in rb_io_getline_fast /tmp/ruby/src/trunk_asan/io.c:3978:23 |
| #13 0x63844482cf75 in rb_io_getline_0 /tmp/ruby/src/trunk_asan/io.c:4114:16 |
| #14 0x638444a03430 in lex_io_gets /tmp/ruby/src/trunk_asan/ruby_parser.c:704:18 |
| #15 0x638444f6001f in lex_getline /tmp/ruby/build/trunk_asan/parse.y:7647:32 |
| #16 0x638444f6001f in nextline /tmp/ruby/build/trunk_asan/parse.y:7784:38 |
| #17 0x638444f68c8c in nextc0 /tmp/ruby/build/trunk_asan/parse.y:7830:13 |
| #18 0x638444f68c8c in parser_yylex /tmp/ruby/build/trunk_asan/parse.y:10693:25 |
| #19 0x638444f14959 in yylex /tmp/ruby/build/trunk_asan/parse.y:11325:9 |
| #20 0x638444f14959 in ruby_yyparse /tmp/ruby/build/trunk_asan/parse.c:11440:16 |
| #21 0x638444f5d596 in yycompile0 /tmp/ruby/build/trunk_asan/parse.y:7566:9 |
| #22 0x638444babd3a in rb_suppress_tracing /tmp/ruby/src/trunk_asan/vm_trace.c:487:18 |
| #23 0x638444f53fd7 in yycompile /tmp/ruby/build/trunk_asan/parse.y:7623:5 |
| #24 0x638444f53fd7 in rb_parser_compile /tmp/ruby/build/trunk_asan/parse.y:7663:12 |
| #25 0x638444a03128 in parser_compile /tmp/ruby/src/trunk_asan/ruby_parser.c:658:21 |
| #26 0x638444a01226 in parser_compile_file_path /tmp/ruby/src/trunk_asan/ruby_parser.c:732:12 |
| #27 0x638444a01226 in rb_parser_compile_file_path /tmp/ruby/src/trunk_asan/ruby_parser.c:782:27 |
| #28 0x6384449f62cd in load_file_internal /tmp/ruby/src/trunk_asan/ruby.c:2757:17 |
| #29 0x6384447a603f in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1053:18 |
| #30 0x6384449f00d0 in load_file /tmp/ruby/src/trunk_asan/ruby.c:2893:12 |
| #31 0x6384449f00d0 in rb_parser_load_file /tmp/ruby/src/trunk_asan/ruby.c:2919:12 |
| #32 0x63844489ee93 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:769:25 |
| #33 0x63844489700f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:842:9 |
| #34 0x63844489c749 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:916:5 |
| #35 0x638444b7d307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #36 0x638444b2abbc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #37 0x638444b2abbc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #38 0x638444b19dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #39 0x638444b9a8e1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1595:12 |
| #40 0x638444b9a8e1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1609:20 |
| #41 0x638444b4db2a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1646:12 |
| #42 0x638444b4db2a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2099:12 |
| #43 0x638444b7d307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #44 0x638444b2215a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #45 0x638444b2215a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #46 0x638444b1a190 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2591:22 |
| #47 0x638444b1a190 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2570:18 |
| #48 0x6384447a233a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #49 0x6384447a233a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #50 0x63844479b8a6 in rb_main /tmp/ruby/src/trunk_asan/main.c:43:12 |
| #51 0x63844479b8a6 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #52 0x7ede93a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #53 0x7ede93a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #54 0x6384446bf684 in _start (/tmp/ruby/build/trunk_asan/ruby+0x175684) (BuildId: 74ff92a014b126b075d949542e2be0040867f6ab) |
| 0x51c0000d38b0 is located 48 bytes inside of 1736-byte region [0x51c0000d3880,0x51c0000d3f48) |
| allocated by thread T0 here: |
| #0 0x63844475dd7c in calloc (/tmp/ruby/build/trunk_asan/ruby+0x213d7c) (BuildId: 74ff92a014b126b075d949542e2be0040867f6ab) |
| #1 0x6384447fcecf in calloc1 /tmp/ruby/src/trunk_asan/gc/default.c:1518:12 |
| #2 0x6384447fcecf in heap_page_allocate /tmp/ruby/src/trunk_asan/gc/default.c:1981:30 |
| #3 0x6384447e9482 in heap_page_allocate_and_initialize /tmp/ruby/src/trunk_asan/gc/default.c:2078:20 |
| #4 0x6384447e9482 in heap_page_allocate_and_initialize_force /tmp/ruby/src/trunk_asan/gc/default.c:2102:5 |
| #5 0x6384447e9482 in heap_prepare /tmp/ruby/src/trunk_asan/gc/default.c:2136:9 |
| #6 0x6384447e9482 in heap_next_free_page /tmp/ruby/src/trunk_asan/gc/default.c:2357:9 |
| #7 0x6384447e9482 in newobj_cache_miss /tmp/ruby/src/trunk_asan/gc/default.c:2466:38 |
| #8 0x6384447cd1ea in newobj_alloc /tmp/ruby/src/trunk_asan/gc/default.c:2490:15 |
| #9 0x6384447cd1ea in rb_gc_impl_new_obj /tmp/ruby/src/trunk_asan/gc/default.c:2573:15 |
| #10 0x6384447cd1ea in newobj_of /tmp/ruby/src/trunk_asan/gc.c:890:17 |
| #11 0x6384447cd32d in rb_wb_protected_newobj_of /tmp/ruby/src/trunk_asan/gc.c:917:12 |
| #12 0x638444a2b6f4 in str_alloc_embed /tmp/ruby/src/trunk_asan/string.c:934:5 |
| #13 0x638444a2b6f4 in str_new0 /tmp/ruby/src/trunk_asan/string.c:971:15 |
| #14 0x638444a32930 in rb_str_times /tmp/ruby/src/trunk_asan/string.c:2470:12 |
| #15 0x638444b7d307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #16 0x638444b6347c in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4766:16 |
| #17 0x638444b62f34 in vm_call_method /tmp/ruby/src/trunk_asan/vm_insnhelper.c |
| #18 0x638444b2abbc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #19 0x638444b2abbc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #20 0x638444b19dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #21 0x638444b9a8e1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1595:12 |
| #22 0x638444b9a8e1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1609:20 |
| #23 0x638444b4db2a in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1646:12 |
| #24 0x638444b4db2a in yield_under /tmp/ruby/src/trunk_asan/vm_eval.c:2099:12 |
| #25 0x638444b7d307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #26 0x638444b2215a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #27 0x638444b2215a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x638444b19dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #29 0x638444b9a8e1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1595:12 |
| #30 0x638444b9a8e1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1609:20 |
| #31 0x638444b47195 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1646:12 |
| #32 0x638444b47195 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1654:12 |
| #33 0x638444b47195 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #34 0x638444b47195 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #35 0x638444cff00d in rb_ary_all_p /tmp/ruby/src/trunk_asan/array.c:7868:24 |
| #36 0x638444b7d307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #37 0x638444b2215a in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #38 0x638444b2215a in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #39 0x638444b19dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #40 0x63844489f001 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:781:5 |
| #41 0x63844489700f in rb_load_internal /tmp/ruby/src/trunk_asan/load.c:842:9 |
| #42 0x63844489c749 in rb_f_load /tmp/ruby/src/trunk_asan/load.c:916:5 |
| #43 0x638444b7d307 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3788:11 |
| #44 0x638444b2abbc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5955:15 |
| #45 0x638444b2abbc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #46 0x638444b19dd7 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2564:22 |
| #47 0x638444b9a8e1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1595:12 |
| #48 0x638444b9a8e1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1609:20 |
| SUMMARY: AddressSanitizer: use-after-poison /tmp/ruby/src/trunk_asan/gc/default.c:2053:20 in size_pool_add_page |
| Shadow bytes around the buggy address: |
| 0x51c0000d3600: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd |
| 0x51c0000d3680: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd |
| 0x51c0000d3700: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd |
| 0x51c0000d3780: fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa |
| 0x51c0000d3800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa |
| =>0x51c0000d3880: 00 00 00 00 00 00[f7]00 00 00 00 00 00 00 00 00 |
| 0x51c0000d3900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c0000d3980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c0000d3a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c0000d3a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x51c0000d3b00: 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 |
| ==519924==ABORTING |
| A child mspec-run process died unexpectedly while running /tmp/ruby/src/trunk_asan/spec/ruby/core/enumerator/lazy/zip_spec.rb |
| make: *** [uncommon.mk:1014: yes-test-spec] Error 1 |