| "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-test-basic TESTS='-j16'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j16'" exit with 512. |
| /tmp/ruby/src/trunk_asan/test/json/json_common_interface_test.rb:215: warning: JSON.dump_default_options is deprecated and will be removed in json 3.0.0 |
| ================================================================= |
| ==273437==ERROR: AddressSanitizer: use-after-poison on address 0x76367c5f0d50 at pc 0x5e6f7c54fac1 bp 0x7ffe69fbf110 sp 0x7ffe69fbf108 |
| READ of size 8 at 0x76367c5f0d50 thread T0 |
| #0 0x5e6f7c54fac0 in rb_rational_plus /tmp/ruby/src/trunk_asan/rational.c:738:51 |
| #1 0x5e6f7cac9f9d in f_divide /tmp/ruby/src/trunk_asan/complex.c:969:25 |
| #2 0x5e6f7cac9f9d in rb_complex_div /tmp/ruby/src/trunk_asan/complex.c:1006:12 |
| #3 0x5e6f7c777157 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3794:11 |
| #4 0x5e6f7c724ce8 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5958:15 |
| #5 0x5e6f7c724ce8 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:898:11 |
| #6 0x5e6f7c713fca in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2595:22 |
| #7 0x5e6f7c794ac1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1626:12 |
| #8 0x5e6f7c794ac1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1640:20 |
| #9 0x5e6f7c740f25 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1677:12 |
| #10 0x5e6f7c740f25 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1685:12 |
| #11 0x5e6f7c740f25 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #12 0x5e6f7c740f25 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #13 0x5e6f7c8f4795 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3650:30 |
| #14 0x5e6f7c777157 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3794:11 |
| #15 0x5e6f7c71e737 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5958:15 |
| #16 0x5e6f7c71e737 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #17 0x5e6f7c713fca in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2595:22 |
| #18 0x5e6f7c794ac1 in invoke_iseq_block_from_c /tmp/ruby/src/trunk_asan/vm.c:1626:12 |
| #19 0x5e6f7c794ac1 in invoke_block_from_c_bh /tmp/ruby/src/trunk_asan/vm.c:1640:20 |
| #20 0x5e6f7c740f25 in vm_yield_with_cref /tmp/ruby/src/trunk_asan/vm.c:1677:12 |
| #21 0x5e6f7c740f25 in vm_yield /tmp/ruby/src/trunk_asan/vm.c:1685:12 |
| #22 0x5e6f7c740f25 in rb_yield_0 /tmp/ruby/src/trunk_asan/vm_eval.c:1344:12 |
| #23 0x5e6f7c740f25 in rb_yield /tmp/ruby/src/trunk_asan/vm_eval.c |
| #24 0x5e6f7c8f4795 in rb_ary_collect /tmp/ruby/src/trunk_asan/array.c:3650:30 |
| #25 0x5e6f7c777157 in vm_call_cfunc_with_frame_ /tmp/ruby/src/trunk_asan/vm_insnhelper.c:3794:11 |
| #26 0x5e6f7c71e737 in vm_sendish /tmp/ruby/src/trunk_asan/vm_insnhelper.c:5958:15 |
| #27 0x5e6f7c71e737 in vm_exec_core /tmp/ruby/build/trunk_asan/../../src/trunk_asan/insns.def:851:11 |
| #28 0x5e6f7c7143ba in vm_exec_loop /tmp/ruby/src/trunk_asan/vm.c:2622:22 |
| #29 0x5e6f7c7143ba in rb_vm_exec /tmp/ruby/src/trunk_asan/vm.c:2601:18 |
| #30 0x5e6f7c3985ca in rb_ec_exec_node /tmp/ruby/src/trunk_asan/eval.c:280:9 |
| #31 0x5e6f7c3985ca in ruby_run_node /tmp/ruby/src/trunk_asan/eval.c:318:30 |
| #32 0x5e6f7c391b46 in rb_main /tmp/ruby/src/trunk_asan/main.c:42:12 |
| #33 0x5e6f7c391b46 in main /tmp/ruby/src/trunk_asan/main.c:62:12 |
| #34 0x76367cc2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 |
| #35 0x76367cc2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 |
| #36 0x5e6f7c2b5914 in _start (/tmp/ruby/build/trunk_asan/ruby+0x163914) (BuildId: a8b3a86eec5e1973facc21c8d17bd7bda180cbbd) |
| Address 0x76367c5f0d50 is a wild pointer inside of access range of size 0x000000000008. |
| SUMMARY: AddressSanitizer: use-after-poison /tmp/ruby/src/trunk_asan/rational.c:738:51 in rb_rational_plus |
| Shadow bytes around the buggy address: |
| 0x76367c5f0a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76367c5f0b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76367c5f0b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76367c5f0c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76367c5f0c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| =>0x76367c5f0d00: 00 00 00 00 00 00 00 f7 f7 f7[f7]f7 00 00 00 00 |
| 0x76367c5f0d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76367c5f0e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76367c5f0e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76367c5f0f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
| 0x76367c5f0f80: 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 |
| ==273437==ABORTING |
| /tmp/ruby/src/trunk_asan/test/ruby/test_complex2.rb:378: [BUG] ASAN error |
| ruby 3.5.0dev (2025-03-27T04:57:26Z master 752a1d7854) +PRISM [x86_64-linux] |
| -- Control frame information ----------------------------------------------- |
| c:0015 p:---- s:0102 e:000101 CFUNC :/ |
| c:0014 p:6053 s:0097 e:000094 METHOD /tmp/ruby/src/trunk_asan/test/ruby/test_complex2.rb:378 |
| c:0013 p:0037 s:0091 e:000090 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/testcase.rb:202 |
| c:0012 p:0052 s:0085 e:000084 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/testcase.rb:170 |
| c:0011 p:0082 s:0076 e:000075 BLOCK /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1677 [FINISH] |
| c:0010 p:---- s:0069 e:000068 CFUNC :map |
| c:0009 p:0103 s:0065 e:000064 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1664 |
| c:0008 p:0035 s:0053 e:000052 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1368 |
| c:0007 p:0069 s:0046 E:0007f0 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:52 |
| c:0006 p:0007 s:0030 e:000029 BLOCK /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:24 [FINISH] |
| c:0005 p:---- s:0026 e:000025 CFUNC :map |
| c:0004 p:0005 s:0022 e:000021 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:23 |
| c:0003 p:0210 s:0016 e:000015 METHOD /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:122 |
| c:0002 p:0051 s:0006 e:000005 EVAL /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:220 [FINISH] |
| c:0001 p:0000 s:0003 E:001650 DUMMY [FINISH] |
| -- Ruby level backtrace information ---------------------------------------- |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:220:in '<main>' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:122:in 'run' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:23:in '_run_suites' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:23:in 'map' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:24:in 'block in _run_suites' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:52:in '_run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1368:in '_run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1664:in '_run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1664:in 'map' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1677:in 'block in _run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/testcase.rb:170:in 'run' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/testcase.rb:202:in 'run_test' |
| /tmp/ruby/src/trunk_asan/test/ruby/test_complex2.rb:378:in 'test_kumi' |
| /tmp/ruby/src/trunk_asan/test/ruby/test_complex2.rb:378:in '/' |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 1 |
| Ruby thread count for this ractor: 2 |
| -- C level backtrace information ------------------------------------------- |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb: Complex_Test2#test_kumi(___interceptor_backtrace+0x79) [0x5e6f7c2fbcf9] |
| [0x5e6f7cbdb5d7] |
| [0x5e6f7cb211a1] |
| [0x5e6f7cb20e7c] |
| [0x5e6f7c37821a] |
| [0x5e6f7c358c9f] |
| [0x5e6f7c35bd2d] |
| [0x5e6f7c35ca8c] |
| [0x5e6f7c54fac1] |
| [0x5e6f7cac9f9e] |
| [0x5e6f7c777158] |
| [0x5e6f7c724ce9] |
| [0x5e6f7c713fcb] |
| [0x5e6f7c794ac2] |
| [0x5e6f7c740f26] |
| [0x5e6f7c8f4796] |
| [0x5e6f7c777158] |
| [0x5e6f7c71e738] |
| [0x5e6f7c713fcb] |
| [0x5e6f7c794ac2] |
| [0x5e6f7c740f26] |
| [0x5e6f7c8f4796] |
| [0x5e6f7c777158] |
| [0x5e6f7c71e738] |
| [0x5e6f7c7143bb] |
| [0x5e6f7c3985cb] |
| [0x5e6f7c391b47] |
| [0x76367cc2a1ca] |
| [0x76367cc2a28b] |
| [0x5e6f7c2b5915] |
| -- Other runtime information ----------------------------------------------- |
| * Loaded script: /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb: Complex_Test2#test_kumi |
| * Loaded features: |
| 0 enumerator.so |
| 1 thread.rb |
| 2 fiber.so |
| 3 rational.so |
| 4 complex.so |
| 5 ruby2_keywords.rb |
| 6 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/enc/encdb.so |
| 7 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/enc/trans/transdb.so |
| 8 /tmp/ruby/src/trunk_asan/lib/open3/version.rb |
| 9 /tmp/ruby/src/trunk_asan/lib/open3.rb |
| 10 /tmp/ruby/src/trunk_asan/lib/timeout.rb |
| 11 /tmp/ruby/build/trunk_asan/rbconfig.rb |
| 12 /tmp/ruby/src/trunk_asan/tool/lib/find_executable.rb |
| 13 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/rbconfig/sizeof.so |
| 14 /tmp/ruby/src/trunk_asan/tool/lib/envutil.rb |
| 15 /tmp/ruby/src/trunk_asan/tool/lib/colorize.rb |
| 16 /tmp/ruby/src/trunk_asan/tool/lib/leakchecker.rb |
| 17 /tmp/ruby/src/trunk_asan/lib/prettyprint.rb |
| 18 /tmp/ruby/src/trunk_asan/lib/pp.rb |
| 19 /tmp/ruby/src/trunk_asan/tool/lib/test/unit/assertions.rb |
| 20 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/-test-/asan.so |
| 21 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/io/console.so |
| 22 /tmp/ruby/src/trunk_asan/tool/lib/core_assertions.rb |
| 23 /tmp/ruby/src/trunk_asan/tool/lib/test/unit/testcase.rb |
| 24 /tmp/ruby/src/trunk_asan/lib/optparse.rb |
| 25 /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb |
| 26 /tmp/ruby/src/trunk_asan/tool/lib/tracepointchecker.rb |
| 27 /tmp/ruby/src/trunk_asan/tool/lib/zombie_hunter.rb |
| 28 /tmp/ruby/src/trunk_asan/lib/delegate.rb |
| 29 /tmp/ruby/src/trunk_asan/lib/fileutils.rb |
| 30 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/etc.so |
| 31 /tmp/ruby/src/trunk_asan/lib/tmpdir.rb |
| 32 /tmp/ruby/src/trunk_asan/lib/tempfile.rb |
| 33 /tmp/ruby/src/trunk_asan/tool/lib/iseq_loader_checker.rb |
| 34 /tmp/ruby/src/trunk_asan/tool/lib/gc_checker.rb |
| 35 /tmp/ruby/src/trunk_asan/tool/test/init.rb |
| 36 /tmp/ruby/src/trunk_asan/lib/rubygems/compatibility.rb |
| 37 /tmp/ruby/src/trunk_asan/lib/rubygems/defaults.rb |
| 38 /tmp/ruby/src/trunk_asan/lib/rubygems/deprecate.rb |
| 39 /tmp/ruby/src/trunk_asan/lib/rubygems/errors.rb |
| 40 /tmp/ruby/src/trunk_asan/lib/rubygems/target_rbconfig.rb |
| 41 /tmp/ruby/src/trunk_asan/lib/rubygems/unknown_command_spell_checker.rb |
| 42 /tmp/ruby/src/trunk_asan/lib/rubygems/exceptions.rb |
| 43 /tmp/ruby/src/trunk_asan/lib/rubygems/basic_specification.rb |
| 44 /tmp/ruby/src/trunk_asan/lib/rubygems/stub_specification.rb |
| 45 /tmp/ruby/src/trunk_asan/lib/rubygems/platform.rb |
| 46 /tmp/ruby/src/trunk_asan/lib/rubygems/specification_record.rb |
| 47 /tmp/ruby/src/trunk_asan/lib/rubygems/util/list.rb |
| 48 /tmp/ruby/src/trunk_asan/lib/rubygems/version.rb |
| 49 /tmp/ruby/src/trunk_asan/lib/rubygems/requirement.rb |
| 50 /tmp/ruby/src/trunk_asan/lib/rubygems/specification.rb |
| 51 /tmp/ruby/src/trunk_asan/lib/rubygems/util.rb |
| 52 /tmp/ruby/src/trunk_asan/lib/rubygems/dependency.rb |
| 53 /tmp/ruby/src/trunk_asan/lib/rubygems/core_ext/kernel_gem.rb |
| 54 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/monitor.so |
| 55 /tmp/ruby/build/trunk_asan/.ext/common/monitor.rb |
| 56 /tmp/ruby/src/trunk_asan/lib/rubygems.rb |
| 57 /tmp/ruby/src/trunk_asan/lib/rubygems/path_support.rb |
| 58 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/date_core.so |
| 59 /tmp/ruby/build/trunk_asan/.ext/common/date.rb |
| 60 /tmp/ruby/src/trunk_asan/test/date/test_switch_hitter.rb |
| 61 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/enc/euc_jp.so |
| 62 /tmp/ruby/src/trunk_asan/test/ruby/test_unicode_escape.rb |
| 63 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/enc/windows_31j.so |
| 64 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/stringio.so |
| 65 /tmp/ruby/src/trunk_asan/test/ruby/sentence.rb |
| 66 /tmp/ruby/src/trunk_asan/test/ruby/test_yield.rb |
| 67 /tmp/ruby/src/trunk_asan/lib/prism/polyfill/byteindex.rb |
| 68 /tmp/ruby/src/trunk_asan/lib/prism/polyfill/warn.rb |
| 69 /tmp/ruby/src/trunk_asan/lib/prism/node.rb |
| 70 /tmp/ruby/src/trunk_asan/lib/prism/node_ext.rb |
| 71 /tmp/ruby/src/trunk_asan/lib/prism/parse_result.rb |
| 72 /tmp/ruby/src/trunk_asan/lib/prism/string_query.rb |
| 73 /tmp/ruby/src/trunk_asan/lib/prism/pack.rb |
| 74 prism/prism.so |
| 75 /tmp/ruby/src/trunk_asan/lib/prism.rb |
| 76 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/ripper.so |
| 77 /tmp/ruby/build/trunk_asan/.ext/common/ripper/core.rb |
| 78 /tmp/ruby/build/trunk_asan/.ext/common/ripper/lexer.rb |
| 79 /tmp/ruby/build/trunk_asan/.ext/common/ripper/filter.rb |
| 80 /tmp/ruby/build/trunk_asan/.ext/common/ripper/sexp.rb |
| 81 /tmp/ruby/build/trunk_asan/.ext/common/ripper.rb |
| 82 /tmp/ruby/src/trunk_asan/test/prism/test_helper.rb |
| 83 /tmp/ruby/src/trunk_asan/test/prism/ruby/location_test.rb |
| 84 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/enc/utf_16le.so |
| 85 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/enc/trans/utf_16_32.so |
| 86 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/enc/utf_32le.so |
| 87 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/-test-/bignum.so |
| 88 /tmp/ruby/src/trunk_asan/test/-ext-/bignum/test_big2str.rb |
| 89 /tmp/ruby/src/trunk_asan/lib/shellwords.rb |
| 90 /tmp/ruby/src/trunk_asan/lib/mkmf.rb |
| 91 /tmp/ruby/src/trunk_asan/test/mkmf/base.rb |
| 92 /tmp/ruby/src/trunk_asan/test/mkmf/test_pkg_config.rb |
| 93 /tmp/ruby/build/trunk_asan/.ext/x86_64-linux/objspace.so |
| 94 /tmp/ruby/build/trunk_asan/.ext/common/objspace.rb |
| 95 /tmp/ruby/src/trunk_asan/test/ruby/test_string_memory.rb |
| 96 /tmp/ruby/src/trunk_asan/test/prism/regexp_test.rb |
| 97 /tmp/ruby/src/trunk_asan/test/ruby/test_complex2.rb |
| running file: /tmp/ruby/src/trunk_asan/test/ruby/test_complex2.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.wc79ht: |
| * drwx------ 2 60 2025-03-27 08:02:45 +0000 d20250327-273448-kahy6v/ |
| * -rw-r--r-- 1 223 2025-03-27 08:02:45 +0000 test-script |
| test-script: No such file or directory @ rb_check_realpath_internal - test-script (Errno::ENOENT) |
| make: *** [uncommon.mk:953: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 0. |