| "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-btest TESTOPTS='-q -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. |
| ================================================================= |
| ==3780650==ERROR: AddressSanitizer: heap-use-after-free on address 0x502000014fb0 at pc 0x58d4dca97b31 bp 0x7ffc80d9f680 sp 0x7ffc80d9f678 |
| READ of size 8 at 0x502000014fb0 thread T0 |
| #0 0x58d4dca97b30 in ruby_sip_hash13 /tmp/ruby/src/trunk_asan/siphash.c:424:17 |
| #1 0x58d4dcb8c5ed in str_do_hash /tmp/ruby/src/trunk_asan/string.c:359:20 |
| #2 0x58d4dcb72f0d in do_hash /tmp/ruby/src/trunk_asan/st.c:321:33 |
| #3 0x58d4dcb72f0d in st_general_delete /tmp/ruby/src/trunk_asan/st.c:1334:12 |
| #4 0x58d4dcb81cec in rb_str_free /tmp/ruby/src/trunk_asan/string.c:1626:13 |
| #5 0x58d4dc957b93 in obj_free /tmp/ruby/src/trunk_asan/gc.c:3330:9 |
| #6 0x58d4dc957314 in gc_sweep_plane /tmp/ruby/src/trunk_asan/gc.c:5338:21 |
| #7 0x58d4dc95169e in gc_sweep_page /tmp/ruby/src/trunk_asan/gc.c:5423:13 |
| #8 0x58d4dc95169e in gc_sweep_step /tmp/ruby/src/trunk_asan/gc.c:5702:9 |
| #9 0x58d4dc94789e in gc_sweep_continue /tmp/ruby/src/trunk_asan/gc.c:5774:14 |
| #10 0x58d4dc94789e in gc_continue /tmp/ruby/src/trunk_asan/gc.c:2513:9 |
| #11 0x58d4dc948420 in heap_prepare /tmp/ruby/src/trunk_asan/gc.c:2525:5 |
| #12 0x58d4dc948420 in heap_next_free_page /tmp/ruby/src/trunk_asan/gc.c:2772:9 |
| #13 0x58d4dc9463f6 in newobj_alloc /tmp/ruby/src/trunk_asan/gc.c:2849:42 |
| #14 0x58d4dc926cd7 in newobj_of /tmp/ruby/src/trunk_asan/gc.c:2952:15 |
| #15 0x58d4dc926cd7 in rb_wb_protected_newobj_of /tmp/ruby/src/trunk_asan/gc.c:2977:12 |
| #16 0x58d4dcce6f9c in vm_make_env_each /tmp/ruby/src/trunk_asan/vm.c:991:21 |
| #17 0x58d4dcca3b4b in vm_make_env_object /tmp/ruby/src/trunk_asan/vm.c:1028:20 |
| #18 0x58d4dcca3b4b in rb_vm_make_proc_lambda /tmp/ruby/src/trunk_asan/vm.c:1399:9 |
| #19 0x58d4dcccb397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #20 0x58d4dcc7240e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #21 0x58d4dcc7240e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #22 0x58d4dcc69a07 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2567:22 |
| #23 0x58d4dcce86b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c |
| #24 0x58d4dcce86b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1612:20 |
| #25 0x58d4dcc96a85 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1649:12 |
| #26 0x58d4dcc96a85 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1657:12 |
| #27 0x58d4dcc96a85 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1351:12 |
| #28 0x58d4dcc96a85 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #29 0x58d4dce1fb05 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3652:30 |
| #30 0x58d4dcccb397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #31 0x58d4dcc7240e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #32 0x58d4dcc7240e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #33 0x58d4dcc69dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #34 0x58d4dcc69dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #35 0x58d4dcce86b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c |
| #36 0x58d4dcce86b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1612:20 |
| #37 0x58d4dcc96a85 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1649:12 |
| #38 0x58d4dcc96a85 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1657:12 |
| #39 0x58d4dcc96a85 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1351:12 |
| #40 0x58d4dcc96a85 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #41 0x58d4dce1fb05 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3652:30 |
| #42 0x58d4dcccb397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #43 0x58d4dcc7240e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #44 0x58d4dcc7240e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #45 0x58d4dcc69dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #46 0x58d4dcc69dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #47 0x58d4dc8fe26a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #48 0x58d4dc8fe26a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #49 0x58d4dc8f7716 in rb_main /tmp/ruby/src/trunk_asan/main.c:45:12 |
| #50 0x58d4dc8f7716 in main /tmp/ruby/src/trunk_asan/main.c:64:12 |
| #51 0x7b228962a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #52 0x7b228962a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #53 0x58d4dc81b4f4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1714f4) (BuildId: ed499a35c4364fe28c5372d96ddff64a19bd4ac4) |
| 0x502000014fb0 is located 0 bytes inside of 9-byte region [0x502000014fb0,0x502000014fb9) |
| freed by thread T0 here: |
| #0 0x58d4dc8b974a in free (/tmp/ruby/build/trunk_asan/ruby+0x20f74a) (BuildId: ed499a35c4364fe28c5372d96ddff64a19bd4ac4) |
| #1 0x58d4dc92ae6d in objspace_xfree /tmp/ruby/src/trunk_asan/gc.c:12170:9 |
| #2 0x58d4dc92ae6d in ruby_sized_xfree /tmp/ruby/src/trunk_asan/gc.c:12274:13 |
| #3 0x58d4dc92ae6d in ruby_xfree /tmp/ruby/src/trunk_asan/gc.c:12285:5 |
| #4 0x58d4dcffe4da in enc_set_default_encoding /tmp/ruby/src/trunk_asan/encoding.c:1560:17 |
| #5 0x58d4dcffff6c in rb_enc_set_default_internal /tmp/ruby/src/trunk_asan/encoding.c:1721:5 |
| #6 0x58d4dcffff6c in set_default_internal /tmp/ruby/src/trunk_asan/encoding.c:1742:5 |
| #7 0x58d4dcccb397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #8 0x58d4dcc7acdc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #9 0x58d4dcc7acdc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:918:11 |
| #10 0x58d4dcc69dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #11 0x58d4dcc69dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #12 0x58d4dcce86b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c |
| #13 0x58d4dcce86b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1612:20 |
| #14 0x58d4dcc96a85 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1649:12 |
| #15 0x58d4dcc96a85 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1657:12 |
| #16 0x58d4dcc96a85 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1351:12 |
| #17 0x58d4dcc96a85 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #18 0x58d4dce1fb05 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3652:30 |
| #19 0x58d4dcccb397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #20 0x58d4dcc7240e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #21 0x58d4dcc7240e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #22 0x58d4dcc69dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #23 0x58d4dcc69dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #24 0x58d4dcce86b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c |
| #25 0x58d4dcce86b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1612:20 |
| #26 0x58d4dcc96a85 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1649:12 |
| #27 0x58d4dcc96a85 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1657:12 |
| #28 0x58d4dcc96a85 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1351:12 |
| #29 0x58d4dcc96a85 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #30 0x58d4dce1fb05 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3652:30 |
| #31 0x58d4dcccb397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #32 0x58d4dcc7240e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #33 0x58d4dcc7240e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #34 0x58d4dcc69dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #35 0x58d4dcc69dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #36 0x58d4dc8fe26a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #37 0x58d4dc8fe26a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #38 0x58d4dc8f7716 in rb_main /tmp/ruby/src/trunk_asan/main.c:45:12 |
| #39 0x58d4dc8f7716 in main /tmp/ruby/src/trunk_asan/main.c:64:12 |
| #40 0x7b228962a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #41 0x7b228962a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #42 0x58d4dc81b4f4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1714f4) (BuildId: ed499a35c4364fe28c5372d96ddff64a19bd4ac4) |
| previously allocated by thread T0 here: |
| #0 0x58d4dc8b99f2 in malloc (/tmp/ruby/build/trunk_asan/ruby+0x20f9f2) (BuildId: ed499a35c4364fe28c5372d96ddff64a19bd4ac4) |
| #1 0x58d4dc93cb94 in objspace_xmalloc0 /tmp/ruby/src/trunk_asan/gc.c:11955:5 |
| #2 0x58d4dcc3f06d in ruby_strdup /tmp/ruby/src/trunk_asan/util.c:541:11 |
| #3 0x58d4dcffe489 in enc_set_default_encoding /tmp/ruby/src/trunk_asan/encoding.c:1556:30 |
| #4 0x58d4dcb46abc in process_options /tmp/ruby/src/trunk_asan/ruby.c |
| #5 0x58d4dcb46abc in ruby_process_options /tmp/ruby/src/trunk_asan/ruby.c:3104:12 |
| #6 0x58d4dc8fb359 in ruby_options /tmp/ruby/src/trunk_asan/eval.c:117:16 |
| #7 0x58d4dc8f770e in rb_main /tmp/ruby/src/trunk_asan/main.c:45:26 |
| #8 0x58d4dc8f770e in main /tmp/ruby/src/trunk_asan/main.c:64:12 |
| #9 0x7b228962a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #10 0x7b228962a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #11 0x58d4dc81b4f4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1714f4) (BuildId: ed499a35c4364fe28c5372d96ddff64a19bd4ac4) |
| SUMMARY: AddressSanitizer: heap-use-after-free /tmp/ruby/src/trunk_asan/siphash.c:424:17 in ruby_sip_hash13 |
| Shadow bytes around the buggy address: |
| 0x502000014d00: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa |
| 0x502000014d80: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa |
| 0x502000014e00: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa |
| 0x502000014e80: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa |
| 0x502000014f00: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa |
| =>0x502000014f80: fa fa fd fd fa fa[fd]fd fa fa 00 00 fa fa 00 fa |
| 0x502000015000: fa fa 00 fa fa fa 00 00 fa fa 00 00 fa fa 00 fa |
| 0x502000015080: fa fa 00 00 fa fa 00 fa fa fa fd fa fa fa 00 00 |
| 0x502000015100: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa 00 00 |
| 0x502000015180: fa fa 00 00 fa fa 00 00 fa fa 00 fa fa fa 00 00 |
| 0x502000015200: fa fa 01 fa fa fa 00 00 fa fa 00 00 fa fa 01 fa |
| 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 |
| ==3780650==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/ruby/test_sprintf.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 0. |