| "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. |
| ================================================================= |
| ==1057129==ERROR: AddressSanitizer: heap-use-after-free on address 0x502000c04b10 at pc 0x55d465d0fd5a bp 0x7ffd4c277690 sp 0x7ffd4c276e30 |
| READ of size 8 at 0x502000c04b10 thread T0 |
| #0 0x55d465d0fd59 in MemcmpInterceptorCommon(void*, int (*)(void const*, void const*, unsigned long), void const*, void const*, unsigned long) (/tmp/ruby/build/trunk_asan/ruby+0x18dd59) (BuildId: 15558f0b6c075cd643b86a19e19623690a96ab4e) |
| #1 0x55d465d101ad in bcmp (/tmp/ruby/build/trunk_asan/ruby+0x18e1ad) (BuildId: 15558f0b6c075cd643b86a19e19623690a96ab4e) |
| #2 0x55d466064865 in rb_str_hash_cmp /tmp/ruby/src/trunk_asan/string.c:3803:13 |
| #3 0x55d466048205 in find_table_entry_ind /tmp/ruby/src/trunk_asan/st.c:884:13 |
| #4 0x55d466048205 in rb_st_lookup /tmp/ruby/src/trunk_asan/st.c:1068:15 |
| #5 0x55d4660a7dfd in lookup_str_sym_with_lock /tmp/ruby/src/trunk_asan/symbol.c:719:9 |
| #6 0x55d4660a7189 in lookup_str_sym /tmp/ruby/src/trunk_asan/symbol.c:738:15 |
| #7 0x55d4660a7189 in rb_intern3 /tmp/ruby/src/trunk_asan/symbol.c:758:11 |
| #8 0x55d46657f282 in tokenize_ident /tmp/ruby/build/trunk_asan/parse.y:10208:16 |
| #9 0x55d46657f282 in parse_ident /tmp/ruby/build/trunk_asan/parse.y:10539:13 |
| #10 0x55d466567daf in parser_yylex /tmp/ruby/build/trunk_asan/parse.y:11282:12 |
| #11 0x55d4665111b9 in yylex /tmp/ruby/build/trunk_asan/parse.y:11294:9 |
| #12 0x55d4665111b9 in ruby_yyparse /tmp/ruby/build/trunk_asan/parse.c:11519:16 |
| #13 0x55d466559496 in yycompile0 /tmp/ruby/build/trunk_asan/parse.y:7539:9 |
| #14 0x55d4661d54aa in rb_suppress_tracing /tmp/ruby/src/trunk_asan/vm_trace.c:487:18 |
| #15 0x55d46654ff67 in yycompile /tmp/ruby/build/trunk_asan/parse.y:7596:5 |
| #16 0x55d46654ff67 in rb_parser_compile /tmp/ruby/build/trunk_asan/parse.y:7636:12 |
| #17 0x55d46602d7b8 in parser_compile /tmp/ruby/src/trunk_asan/ruby_parser.c:659:21 |
| #18 0x55d46602b8b6 in parser_compile_file_path /tmp/ruby/src/trunk_asan/ruby_parser.c:733:12 |
| #19 0x55d46602b8b6 in rb_parser_compile_file_path /tmp/ruby/src/trunk_asan/ruby_parser.c:783:27 |
| #20 0x55d4660211ed in load_file_internal /tmp/ruby/src/trunk_asan/ruby.c:2712:17 |
| #21 0x55d465dda096 in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1059:18 |
| #22 0x55d46601af70 in load_file /tmp/ruby/src/trunk_asan/ruby.c:2848:12 |
| #23 0x55d46601af70 in rb_parser_load_file /tmp/ruby/src/trunk_asan/ruby.c:2874:12 |
| #24 0x55d465ecb7c4 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:769:25 |
| #25 0x55d465ec6926 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #26 0x55d465ec4bda in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #27 0x55d465ec4bda in rb_f_require_relative /tmp/ruby/src/trunk_asan/load.c:1041:12 |
| #28 0x55d4661a3397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #29 0x55d466152cdc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #30 0x55d466152cdc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:918:11 |
| #31 0x55d466141a07 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2567:22 |
| #32 0x55d465ecb932 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:781:5 |
| #33 0x55d465ec6926 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #34 0x55d465ec480f in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #35 0x55d465ec480f in rb_require_string /tmp/ruby/src/trunk_asan/load.c:1379:12 |
| #36 0x55d465ec480f in rb_f_require /tmp/ruby/src/trunk_asan/load.c:1021:12 |
| #37 0x55d4661a3397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #38 0x55d46618b7fc in vm_call_method_each_type /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4749:16 |
| #39 0x55d466191344 in vm_call_alias /tmp/ruby/src/trunk_asan/vm_insnhelper.c:4158:12 |
| #40 0x55d466152cdc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #41 0x55d466152cdc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:918:11 |
| #42 0x55d466141dc0 in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2594:22 |
| #43 0x55d466141dc0 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2573:18 |
| #44 0x55d465dd626a in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:281:9 |
| #45 0x55d465dd626a in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:319:30 |
| #46 0x55d465dcf716 in rb_main /tmp/ruby/src/trunk_asan/main.c:45:12 |
| #47 0x55d465dcf716 in main /tmp/ruby/src/trunk_asan/main.c:64:12 |
| #48 0x777c73a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #49 0x777c73a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #50 0x55d465cf34f4 in _start (/tmp/ruby/build/trunk_asan/ruby+0x1714f4) (BuildId: 15558f0b6c075cd643b86a19e19623690a96ab4e) |
| 0x502000c04b11 is located 0 bytes after 1-byte region [0x502000c04b10,0x502000c04b11) |
| freed by thread T0 here: |
| #0 0x55d465d91e29 in realloc (/tmp/ruby/build/trunk_asan/ruby+0x20fe29) (BuildId: 15558f0b6c075cd643b86a19e19623690a96ab4e) |
| #1 0x55d465e15046 in objspace_xrealloc /tmp/ruby/src/trunk_asan/gc.c:12028:5 |
| #2 0x55d46655d083 in rb_parser_str_buf_cat /tmp/ruby/build/trunk_asan/parse.y:2335:5 |
| #3 0x55d46655d083 in parser_add_delayed_token /tmp/ruby/build/trunk_asan/parse.y:7729:9 |
| #4 0x55d46655c636 in nextline /tmp/ruby/build/trunk_asan/parse.y:7776:5 |
| #5 0x55d466564cae in nextc0 /tmp/ruby/build/trunk_asan/parse.y:7803:13 |
| #6 0x55d466564cae in parser_yylex /tmp/ruby/build/trunk_asan/parse.y:10662:25 |
| #7 0x55d4665111b9 in yylex /tmp/ruby/build/trunk_asan/parse.y:11294:9 |
| #8 0x55d4665111b9 in ruby_yyparse /tmp/ruby/build/trunk_asan/parse.c:11519:16 |
| #9 0x55d466559496 in yycompile0 /tmp/ruby/build/trunk_asan/parse.y:7539:9 |
| #10 0x55d4661d54aa in rb_suppress_tracing /tmp/ruby/src/trunk_asan/vm_trace.c:487:18 |
| #11 0x55d46654ff67 in yycompile /tmp/ruby/build/trunk_asan/parse.y:7596:5 |
| #12 0x55d46654ff67 in rb_parser_compile /tmp/ruby/build/trunk_asan/parse.y:7636:12 |
| #13 0x55d46602d7b8 in parser_compile /tmp/ruby/src/trunk_asan/ruby_parser.c:659:21 |
| #14 0x55d46602b8b6 in parser_compile_file_path /tmp/ruby/src/trunk_asan/ruby_parser.c:733:12 |
| #15 0x55d46602b8b6 in rb_parser_compile_file_path /tmp/ruby/src/trunk_asan/ruby_parser.c:783:27 |
| #16 0x55d4660211ed in load_file_internal /tmp/ruby/src/trunk_asan/ruby.c:2712:17 |
| #17 0x55d465dda096 in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1059:18 |
| #18 0x55d46601af70 in load_file /tmp/ruby/src/trunk_asan/ruby.c:2848:12 |
| #19 0x55d46601af70 in rb_parser_load_file /tmp/ruby/src/trunk_asan/ruby.c:2874:12 |
| #20 0x55d465ecb7c4 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:769:25 |
| #21 0x55d465ec6926 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #22 0x55d465ec4bda in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #23 0x55d465ec4bda in rb_f_require_relative /tmp/ruby/src/trunk_asan/load.c:1041:12 |
| #24 0x55d4661a3397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #25 0x55d466152cdc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #26 0x55d466152cdc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:918:11 |
| #27 0x55d466141a07 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2567:22 |
| #28 0x55d465ecb932 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:781:5 |
| #29 0x55d465ec6926 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #30 0x55d465ec4bda in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #31 0x55d465ec4bda in rb_f_require_relative /tmp/ruby/src/trunk_asan/load.c:1041:12 |
| #32 0x55d4661a3397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #33 0x55d466152cdc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #34 0x55d466152cdc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:918:11 |
| #35 0x55d466141a07 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2567:22 |
| #36 0x55d465ecb932 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:781:5 |
| #37 0x55d465ec6926 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #38 0x55d465ec480f in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #39 0x55d465ec480f in rb_require_string /tmp/ruby/src/trunk_asan/load.c:1379:12 |
| #40 0x55d465ec480f in rb_f_require /tmp/ruby/src/trunk_asan/load.c:1021:12 |
| #41 0x55d4661a3397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| previously allocated by thread T0 here: |
| #0 0x55d465d91bec in calloc (/tmp/ruby/build/trunk_asan/ruby+0x20fbec) (BuildId: 15558f0b6c075cd643b86a19e19623690a96ab4e) |
| #1 0x55d465e14dbd in calloc1 /tmp/ruby/src/trunk_asan/gc.c:1849:12 |
| #2 0x55d465e14dbd in objspace_xcalloc /tmp/ruby/src/trunk_asan/gc.c:12218:5 |
| #3 0x55d465e14dbd in ruby_xcalloc_body /tmp/ruby/src/trunk_asan/gc.c:12225:12 |
| #4 0x55d46655cde1 in rb_parser_string_new /tmp/ruby/build/trunk_asan/parse.y:2023:16 |
| #5 0x55d46655cde1 in parser_add_delayed_token /tmp/ruby/build/trunk_asan/parse.y:7724:32 |
| #6 0x55d46655c636 in nextline /tmp/ruby/build/trunk_asan/parse.y:7776:5 |
| #7 0x55d466564cae in nextc0 /tmp/ruby/build/trunk_asan/parse.y:7803:13 |
| #8 0x55d466564cae in parser_yylex /tmp/ruby/build/trunk_asan/parse.y:10662:25 |
| #9 0x55d4665111b9 in yylex /tmp/ruby/build/trunk_asan/parse.y:11294:9 |
| #10 0x55d4665111b9 in ruby_yyparse /tmp/ruby/build/trunk_asan/parse.c:11519:16 |
| #11 0x55d466559496 in yycompile0 /tmp/ruby/build/trunk_asan/parse.y:7539:9 |
| #12 0x55d4661d54aa in rb_suppress_tracing /tmp/ruby/src/trunk_asan/vm_trace.c:487:18 |
| #13 0x55d46654ff67 in yycompile /tmp/ruby/build/trunk_asan/parse.y:7596:5 |
| #14 0x55d46654ff67 in rb_parser_compile /tmp/ruby/build/trunk_asan/parse.y:7636:12 |
| #15 0x55d46602d7b8 in parser_compile /tmp/ruby/src/trunk_asan/ruby_parser.c:659:21 |
| #16 0x55d46602b8b6 in parser_compile_file_path /tmp/ruby/src/trunk_asan/ruby_parser.c:733:12 |
| #17 0x55d46602b8b6 in rb_parser_compile_file_path /tmp/ruby/src/trunk_asan/ruby_parser.c:783:27 |
| #18 0x55d4660211ed in load_file_internal /tmp/ruby/src/trunk_asan/ruby.c:2712:17 |
| #19 0x55d465dda096 in rb_ensure /tmp/ruby/src/trunk_asan/eval.c:1059:18 |
| #20 0x55d46601af70 in load_file /tmp/ruby/src/trunk_asan/ruby.c:2848:12 |
| #21 0x55d46601af70 in rb_parser_load_file /tmp/ruby/src/trunk_asan/ruby.c:2874:12 |
| #22 0x55d465ecb7c4 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:769:25 |
| #23 0x55d465ec6926 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #24 0x55d465ec4bda in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #25 0x55d465ec4bda in rb_f_require_relative /tmp/ruby/src/trunk_asan/load.c:1041:12 |
| #26 0x55d4661a3397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #27 0x55d466152cdc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #28 0x55d466152cdc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:918:11 |
| #29 0x55d466141a07 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2567:22 |
| #30 0x55d465ecb932 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:781:5 |
| #31 0x55d465ec6926 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #32 0x55d465ec4bda in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #33 0x55d465ec4bda in rb_f_require_relative /tmp/ruby/src/trunk_asan/load.c:1041:12 |
| #34 0x55d4661a3397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| #35 0x55d466152cdc in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5938:15 |
| #36 0x55d466152cdc in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:918:11 |
| #37 0x55d466141a07 in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2567:22 |
| #38 0x55d465ecb932 in load_iseq_eval /tmp/ruby/src/trunk_asan/load.c:781:5 |
| #39 0x55d465ec6926 in require_internal /tmp/ruby/src/trunk_asan/load.c:1287:21 |
| #40 0x55d465ec480f in rb_require_string_internal /tmp/ruby/src/trunk_asan/load.c:1386:18 |
| #41 0x55d465ec480f in rb_require_string /tmp/ruby/src/trunk_asan/load.c:1379:12 |
| #42 0x55d465ec480f in rb_f_require /tmp/ruby/src/trunk_asan/load.c:1021:12 |
| #43 0x55d4661a3397 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3770:11 |
| SUMMARY: AddressSanitizer: heap-use-after-free (/tmp/ruby/build/trunk_asan/ruby+0x18dd59) (BuildId: 15558f0b6c075cd643b86a19e19623690a96ab4e) in MemcmpInterceptorCommon(void*, int (*)(void const*, void const*, unsigned long), void const*, void const*, unsigned long) |
| Shadow bytes around the buggy address: |
| 0x502000c04880: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd |
| 0x502000c04900: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa |
| 0x502000c04980: fa fa 00 fa fa fa fd fa fa fa fd fa fa fa 00 00 |
| 0x502000c04a00: fa fa fd fa fa fa 00 00 fa fa fd fd fa fa fd fa |
| 0x502000c04a80: fa fa 00 fa fa fa 00 00 fa fa fd fa fa fa fd fa |
| =>0x502000c04b00: fa fa[fd]fa fa fa fd fa fa fa 00 fa fa fa fd fa |
| 0x502000c04b80: fa fa fd fd fa fa fd fa fa fa fd fa fa fa fd fa |
| 0x502000c04c00: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 00 |
| 0x502000c04c80: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa |
| 0x502000c04d00: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa |
| 0x502000c04d80: fa fa 00 fa fa fa fd fa fa fa fd fa fa fa fd 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 |
| ==1057129==ABORTING |
| running file: /tmp/ruby/src/trunk_asan/test/fiber/test_address_resolve.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. |