| "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. |
| nil versions are discouraged and will be deprecated in Rubygems 4 |
| ================================================================= |
| ==134999==ERROR: AddressSanitizer: heap-use-after-free on address 0x502000014fb0 at pc 0x6101caed4b31 bp 0x7ffff2c11b00 sp 0x7ffff2c11af8 |
| READ of size 8 at 0x502000014fb0 thread T0 |
| #0 0x6101caed4b30 in ruby_sip_hash13 /tmp/ruby/src/trunk_asan/siphash.c:424:17 |
| #1 0x6101cafc95ed in str_do_hash /tmp/ruby/src/trunk_asan/string.c:359:20 |
| #2 0x6101cafaff0d in do_hash /tmp/ruby/src/trunk_asan/st.c:321:33 |
| #3 0x6101cafaff0d in st_general_delete /tmp/ruby/src/trunk_asan/st.c:1334:12 |
| #4 0x6101cafbecec in rb_str_free /tmp/ruby/src/trunk_asan/string.c:1626:13 |
| #5 0x6101cad94b93 in obj_free /tmp/ruby/src/trunk_asan/gc.c:3330:9 |
| #6 0x6101cad94314 in gc_sweep_plane /tmp/ruby/src/trunk_asan/gc.c:5338:21 |
| #7 0x6101cad8e69e in gc_sweep_page /tmp/ruby/src/trunk_asan/gc.c:5423:13 |
| #8 0x6101cad8e69e in gc_sweep_step /tmp/ruby/src/trunk_asan/gc.c:5702:9 |
| #9 0x6101cad8a2e2 in gc_sweep /tmp/ruby/src/trunk_asan/gc.c:5927:13 |
| #10 0x6101cad9ac91 in gc_start /tmp/ruby/src/trunk_asan/gc.c:9098:13 |
| #11 0x6101cad85471 in heap_prepare /tmp/ruby/src/trunk_asan/gc.c:2532:13 |
| #12 0x6101cad85471 in heap_next_free_page /tmp/ruby/src/trunk_asan/gc.c:2772:9 |
| #13 0x6101cad833f6 in newobj_alloc /tmp/ruby/src/trunk_asan/gc.c:2849:42 |
| #14 0x6101cad63cd7 in newobj_of /tmp/ruby/src/trunk_asan/gc.c:2952:15 |
| #15 0x6101cad63cd7 in rb_wb_protected_newobj_of /tmp/ruby/src/trunk_asan/gc.c:2977:12 |
| #16 0x6101caef5d57 in match_alloc /tmp/ruby/src/trunk_asan/re.c:974:5 |
| #17 0x6101caef5d57 in rb_reg_search_set_match /tmp/ruby/src/trunk_asan/re.c:1794:19 |
| #18 0x6101caefd820 in rb_reg_search0 /tmp/ruby/src/trunk_asan/re.c:1819:12 |
| #19 0x6101caefd820 in rb_reg_search /tmp/ruby/src/trunk_asan/re.c:1825:12 |
| #20 0x6101caefd820 in rb_reg_eqq /tmp/ruby/src/trunk_asan/re.c:3712:13 |
| #21 0x6101cb11c40b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #22 0x6101cb11c40b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #23 0x6101cb11c40b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #24 0x6101cb0d1840 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #25 0x6101cb0d1840 in rb_funcallv_scope /tmp/ruby/src/trunk_asan/vm_eval.c:1054:16 |
| #26 0x6101cb446634 in grep_iter_i /tmp/ruby/src/trunk_asan/enum.c:120:15 |
| #27 0x6101cb0a20ba in vm_yield_with_cfunc /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5120:11 |
| #28 0x6101cb124f68 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1617:16 |
| #29 0x6101cb0d3a85 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1649:12 |
| #30 0x6101cb0d3a85 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1657:12 |
| #31 0x6101cb0d3a85 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1351:12 |
| #32 0x6101cb0d3a85 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #33 0x6101cb427c4c in dir_yield /tmp/ruby/src/trunk_asan/dir.c:823:12 |
| #34 0x6101cb427c4c in dir_each_entry /tmp/ruby/src/trunk_asan/dir.c:879:9 |
| #35 0x6101cb427c4c in dir_each /tmp/ruby/src/trunk_asan/dir.c:849:12 |
| #36 0x6101cb11c40b in vm_call0_cfunc_with_frame /tmp/ruby/src/trunk_asan/vm_eval.c:164:15 |
| #37 0x6101cb11c40b in vm_call0_cfunc /tmp/ruby/src/trunk_asan/vm_eval.c:178:12 |
| #38 0x6101cb11c40b in vm_call0_body /tmp/ruby/src/trunk_asan/vm_eval.c:229:15 |
| #39 0x6101cb120df8 in vm_call0_cc /tmp/ruby/src/trunk_asan/vm_eval.c:101:12 |
| #40 0x6101cb120df8 in rb_call0 /tmp/ruby/src/trunk_asan/vm_eval.c:554:12 |
| #41 0x6101cb0d5765 in rb_call /tmp/ruby/src/trunk_asan/vm_eval.c:880:12 |
| #42 0x6101cb0d5765 in iterate_method /tmp/ruby/src/trunk_asan/vm_eval.c:1535:12 |
| #43 0x6101cb0d5f59 in rb_iterate0 /tmp/ruby/src/trunk_asan/vm_eval.c:1477:18 |
| #44 0x6101cb0d52f6 in rb_iterate_internal /tmp/ruby/src/trunk_asan/vm_eval.c:1509:12 |
| #45 0x6101cb0d52f6 in rb_block_call_kw /tmp/ruby/src/trunk_asan/vm_eval.c:1558:12 |
| #46 0x6101cb0d52f6 in rb_block_call /tmp/ruby/src/trunk_asan/vm_eval.c:1544:12 |
| #47 0x6101cb43fff6 in enum_grep0 /tmp/ruby/src/trunk_asan/enum.c:142:5 |
| #48 0x6101cb43fff6 in enum_grep /tmp/ruby/src/trunk_asan/enum.c:175:12 |
| #49 0x6101cb108397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #50 0x6101cb0af40e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #51 0x6101cb0af40e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #52 0x6101cb0a6a07 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2567:22 |
| #53 0x6101cb1256b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c |
| #54 0x6101cb1256b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1612:20 |
| #55 0x6101cb0d3a85 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1649:12 |
| #56 0x6101cb0d3a85 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1657:12 |
| #57 0x6101cb0d3a85 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1351:12 |
| #58 0x6101cb0d3a85 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #59 0x6101cb25ca65 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3652:30 |
| #60 0x6101cb108397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #61 0x6101cb0af40e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #62 0x6101cb0af40e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #63 0x6101cb0a6dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #64 0x6101cb0a6dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #65 0x6101cb1256b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c |
| #66 0x6101cb1256b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1612:20 |
| #67 0x6101cb0d3a85 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1649:12 |
| #68 0x6101cb0d3a85 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1657:12 |
| #69 0x6101cb0d3a85 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1351:12 |
| #70 0x6101cb0d3a85 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #71 0x6101cb25ca65 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3652:30 |
| #72 0x6101cb108397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #73 0x6101cb0af40e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #74 0x6101cb0af40e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #75 0x6101cb0a6dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #76 0x6101cb0a6dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #77 0x6101cad3b26a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #78 0x6101cad3b26a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #79 0x6101cad34716 in rb_main /tmp/ruby/src/trunk_asan/main.c:45:12 |
| #80 0x6101cad34716 in main /tmp/ruby/src/trunk_asan/main.c:64:12 |
| #81 0x767f1fa2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #82 0x767f1fa2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #83 0x6101cac584f4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1714f4) (BuildId: 6994aa4c3b3ace3391aec38e88d3567204841105) |
| 0x502000014fb0 is located 0 bytes inside of 9-byte region [0x502000014fb0,0x502000014fb9) |
| freed by thread T0 here: |
| #0 0x6101cacf674a in free (/tmp/ruby/build/trunk_asan/ruby+0x20f74a) (BuildId: 6994aa4c3b3ace3391aec38e88d3567204841105) |
| #1 0x6101cad67e6d in objspace_xfree /tmp/ruby/src/trunk_asan/gc.c:12170:9 |
| #2 0x6101cad67e6d in ruby_sized_xfree /tmp/ruby/src/trunk_asan/gc.c:12274:13 |
| #3 0x6101cad67e6d in ruby_xfree /tmp/ruby/src/trunk_asan/gc.c:12285:5 |
| #4 0x6101cb43b43a in enc_set_default_encoding /tmp/ruby/src/trunk_asan/encoding.c:1560:17 |
| #5 0x6101cb43cecc in rb_enc_set_default_internal /tmp/ruby/src/trunk_asan/encoding.c:1721:5 |
| #6 0x6101cb43cecc in set_default_internal /tmp/ruby/src/trunk_asan/encoding.c:1742:5 |
| #7 0x6101cb108397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #8 0x6101cb0b7cdc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #9 0x6101cb0b7cdc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:918:11 |
| #10 0x6101cb0a6dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #11 0x6101cb0a6dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #12 0x6101cb1256b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c |
| #13 0x6101cb1256b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1612:20 |
| #14 0x6101cb0d3a85 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1649:12 |
| #15 0x6101cb0d3a85 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1657:12 |
| #16 0x6101cb0d3a85 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1351:12 |
| #17 0x6101cb0d3a85 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #18 0x6101cb25ca65 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3652:30 |
| #19 0x6101cb108397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #20 0x6101cb0af40e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #21 0x6101cb0af40e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #22 0x6101cb0a6dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #23 0x6101cb0a6dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #24 0x6101cb1256b1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c |
| #25 0x6101cb1256b1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1612:20 |
| #26 0x6101cb0d3a85 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1649:12 |
| #27 0x6101cb0d3a85 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1657:12 |
| #28 0x6101cb0d3a85 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1351:12 |
| #29 0x6101cb0d3a85 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #30 0x6101cb25ca65 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3652:30 |
| #31 0x6101cb108397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #32 0x6101cb0af40e in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #33 0x6101cb0af40e in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:871:11 |
| #34 0x6101cb0a6dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #35 0x6101cb0a6dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #36 0x6101cad3b26a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #37 0x6101cad3b26a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #38 0x6101cad34716 in rb_main /tmp/ruby/src/trunk_asan/main.c:45:12 |
| #39 0x6101cad34716 in main /tmp/ruby/src/trunk_asan/main.c:64:12 |
| #40 0x767f1fa2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #41 0x767f1fa2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #42 0x6101cac584f4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1714f4) (BuildId: 6994aa4c3b3ace3391aec38e88d3567204841105) |
| previously allocated by thread T0 here: |
| #0 0x6101cacf69f2 in malloc (/tmp/ruby/build/trunk_asan/ruby+0x20f9f2) (BuildId: 6994aa4c3b3ace3391aec38e88d3567204841105) |
| #1 0x6101cad79b94 in objspace_xmalloc0 /tmp/ruby/src/trunk_asan/gc.c:11955:5 |
| #2 0x6101cb07c06d in ruby_strdup /tmp/ruby/src/trunk_asan/util.c:541:11 |
| #3 0x6101cb43b3e9 in enc_set_default_encoding /tmp/ruby/src/trunk_asan/encoding.c:1556:30 |
| #4 0x6101caf83abc in process_options /tmp/ruby/src/trunk_asan/ruby.c |
| #5 0x6101caf83abc in ruby_process_options /tmp/ruby/src/trunk_asan/ruby.c:3104:12 |
| #6 0x6101cad38359 in ruby_options /tmp/ruby/src/trunk_asan/eval.c:117:16 |
| #7 0x6101cad3470e in rb_main /tmp/ruby/src/trunk_asan/main.c:45:26 |
| #8 0x6101cad3470e in main /tmp/ruby/src/trunk_asan/main.c:64:12 |
| #9 0x767f1fa2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #10 0x767f1fa2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #11 0x6101cac584f4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1714f4) (BuildId: 6994aa4c3b3ace3391aec38e88d3567204841105) |
| 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 fa 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 fa fa fa fd fa fa fa fd fa fa fa fd fa |
| =>0x502000014f80: fa fa fd fa 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 |
| ==134999==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/socket/test_addrinfo.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.lm1qk5: |
| * drwx------ 2 100 2024-06-26 12:24:55 +0000 d20240626-134998-ieu18v/ |
| * -rw-r--r-- 1 11275 2024-06-26 12:24:55 +0000 mkmf.log |
| * -rw-r--r-- 1 340 2024-06-26 12:24:55 +0000 conftest.c |
| * -rwxr-xr-x 1 1654848 2024-06-26 12:24:55 +0000 conftest* |
| make: *** [uncommon.mk:964: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 0. |