| "make update-unicode DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| "make update-download DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| "make update-rubyspec DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| "make update-src DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| "make after-update DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 512. |
| make[1]: *** No rule to make target 'id.h', needed by 'ripper.y'. Stop. |
| make: *** [uncommon.mk:1198: /tmp/ruby/v3/src/trunk-gc-asserts/ext/ripper/ripper.c] Error 2 |
| "make miniruby DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| "make ruby DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| "make all DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| "make install DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| "make yes-btest TESTOPTS=-q TESTS='-j6'" exit with 0. |
| "make yes-test-basic TESTS='-j6'" exit with 0. |
| make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j6' |
| $$$ #<Timeout::Error: execution expired> |
| ### enter analyzing mode for stuck processes |
| $$$ ps jx |
| PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND |
| 10 11 11 11 ? -1 Ss 1001 0:00 sh build-loop.sh trunk-gc-asserts --incremental --process-num=6 |
| 11 4009 11 11 ? -1 Sl 1001 0:00 ruby ./br.rb build_report trunk-gc-asserts --incremental --process-num=6 |
| 4009 4012 11 11 ? -1 S 1001 0:00 sh -c ruby /home/ko1/ruby/build-ruby/build-ruby.rb --target_name=trunk-gc-asserts --logfile=/home/ko1/ruby/logs/brlog.trunk-gc-asserts.20220201-170225 --root_dir=/tmp/ruby --timeout=10800 --build_opts='DEFS="-DRGENGC_CHECK_MODE=2"' --add-env=RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE=30 --incremental --process-num=6 |
| 4012 4013 11 11 ? -1 Sl 1001 0:00 ruby /home/ko1/ruby/build-ruby/build-ruby.rb --target_name=trunk-gc-asserts --logfile=/home/ko1/ruby/logs/brlog.trunk-gc-asserts.20220201-170225 --root_dir=/tmp/ruby --timeout=10800 --build_opts=DEFS="-DRGENGC_CHECK_MODE=2" --add-env=RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE=30 --incremental --process-num=6 |
| 4013 7087 11 11 ? -1 S 1001 0:00 sh -c make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j6' |
| 7087 7088 11 11 ? -1 S 1001 0:00 make yes-test-all TESTOPTS=--stderr-on-failure TESTS=-j6 |
| 7088 7096 11 11 ? -1 S 1001 0:58 /tmp/ruby/v3/build/trunk-gc-asserts/ruby --disable-gems /tmp/ruby/v3/src/trunk-gc-asserts/test/runner.rb --ruby=./miniruby -I/tmp/ruby/v3/src/trunk-gc-asserts/lib -I. -I.ext/common /tmp/ruby/v3/src/trunk-gc-asserts/tool/runruby.rb --extout=.ext -- --disable-gems --excludes-dir=/tmp/ruby/v3/src/trunk-gc-asserts/test/excludes --name=!/memory_leak/ --stderr-on-failure -j6 |
| 7096 7097 11 11 ? -1 Rl 1001 159:51 /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/parallel.rb: TestComprehensiveCaseMapping#test_UTF-8_downcase |
| 4013 17547 11 11 ? -1 R 1001 0:00 ps jx |
| {10=>[11], 11=>[4009], 4009=>[4012], 4012=>[4013], 4013=>[7087, 17547], 7087=>[7088], 7088=>[7096], 7096=>[7097]} |
| $ timeout 60 gdb -p 7097 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| [New LWP 17546] |
| [Thread debugging using libthread_db enabled] |
| Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". |
| 0x00007f1ef7acd857 in cc_table_memsize_i (ccs_ptr=94661317394944, data_ptr=0x7ffce93d5290) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:4526 |
| 4526 *total_size += sizeof(ccs->entries[0]) * ccs->capa; |
| >>> Threads Id Target Id Frame |
| * 1 Thread 0x7f1ef7585f40 (LWP 7097) "ruby" 0x00007f1ef7acd857 in cc_table_memsize_i (ccs_ptr=94661317394944, data_ptr=0x7ffce93d5290) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:4526 |
| 2 Thread 0x7f1ef496b700 (LWP 17546) "parallel.rb:46" 0x00007f1ef769caff in __GI___poll (fds=fds@entry=0x7f1ef486a5f0, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 |
| >>> Machine level backtrace |
| Thread 2 (Thread 0x7f1ef496b700 (LWP 17546)): |
| #0 0x00007f1ef769caff in __GI___poll (fds=fds@entry=0x7f1ef486a5f0, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 |
| #1 0x00007f1ef7aff76a in poll (__timeout=-1, __nfds=1, __fds=0x7f1ef486a5f0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 |
| #2 nogvl_wait_for (th=<optimized out>, events=1, fptr=0x56180fcaa5c0) at /tmp/ruby/v3/src/trunk-gc-asserts/io.c:11695 |
| #3 nogvl_wait_for (events=1, fptr=0x56180fcaa5c0, th=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/io.c:11678 |
| #4 internal_read_func (ptr=ptr@entry=0x7f1ef486a860) at /tmp/ruby/v3/src/trunk-gc-asserts/io.c:1092 |
| #5 0x00007f1ef7c5811d in rb_thread_io_blocking_region (func=0x7f1ef7aff6d0 <internal_read_func>, data1=0x7f1ef486a860, fd=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/thread.c:1808 |
| #6 0x00007f1ef7abf32e in rb_ensure (b_proc=b_proc@entry=0x7f1ef7b004d0 <read_internal_call>, data1=data1@entry=139770928212064, e_proc=e_proc@entry=0x7f1ef7c23f00 <rb_str_unlocktmp>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/eval.c:993 |
| #7 0x00007f1ef7c3b1e1 in rb_str_locktmp_ensure (str=<optimized out>, func=func@entry=0x7f1ef7b004d0 <read_internal_call>, arg=arg@entry=139770928212064) at /tmp/ruby/v3/src/trunk-gc-asserts/string.c:3021 |
| #8 0x00007f1ef7b14a6f in read_internal_locktmp (iis=0x7f1ef486a860, str=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/io.c:3214 |
| #9 io_getpartial (argc=<optimized out>, argv=<optimized out>, io=<optimized out>, no_exception=no_exception@entry=8, nonblock=nonblock@entry=0) at /tmp/ruby/v3/src/trunk-gc-asserts/io.c:3214 |
| #10 0x00007f1ef7b14f05 in io_readpartial (argc=<optimized out>, argv=<optimized out>, io=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/io.c:3332 |
| #11 0x00007f1ef7c8f76b in vm_call_cfunc_with_frame (ec=0x561810bcb810, reg_cfp=0x7f1ef496abd0, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/vm_insnhelper.c:3037 |
| #12 0x00007f1ef7c9d9c2 in vm_sendish (block_handler=<optimized out>, method_explorer=<optimized out>, cd=<optimized out>, reg_cfp=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/vm_callinfo.h:349 |
| #13 vm_exec_core (ec=0x561810bcb810, initial=1) at ../../src/trunk-gc-asserts/insns.def:778 |
| #14 0x00007f1ef7ca3593 in rb_vm_exec (ec=0x561810bcb810, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-gc-asserts/vm.c:2211 |
| #15 0x00007f1ef7cab6d3 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x56180f6fe3d0, argc=argc@entry=0, argv=argv@entry=0x7f1ef486abf0, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-gc-asserts/vm.c:1521 |
| #16 0x00007f1ef7c58785 in thread_do_start_proc (th=0x56180f49ab50) at /tmp/ruby/v3/src/trunk-gc-asserts/thread.c:716 |
| #17 0x00007f1ef7c58dac in thread_do_start (th=0x56180f49ab50) at /tmp/ruby/v3/src/trunk-gc-asserts/thread.c:735 |
| #18 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/thread.c:809 |
| #19 0x00007f1ef7c59811 in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/thread_pthread.c:1054 |
| #20 0x00007f1ef79a3609 in start_thread (arg=<optimized out>) at pthread_create.c:477 |
| #21 0x00007f1ef76a9293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 |
| Thread 1 (Thread 0x7f1ef7585f40 (LWP 7097)): |
| #0 0x00007f1ef7acd857 in cc_table_memsize_i (ccs_ptr=94661317394944, data_ptr=0x7ffce93d5290) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:4526 |
| #1 0x00007f1ef7c4dc75 in rb_id_table_foreach_values (tbl=tbl@entry=0x56180df9ef70, func=func@entry=0x7f1ef7acd850 <cc_table_memsize_i>, data=data@entry=0x7ffce93d5290) at /tmp/ruby/v3/src/trunk-gc-asserts/id_table.c:296 |
| #2 0x00007f1ef7ada1b2 in cc_table_memsize (cc_table=0x56180df9ef70) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:4534 |
| #3 obj_memsize_of (use_all_types=0, obj=139770940075440) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:4594 |
| #4 obj_memsize_of (use_all_types=0, obj=139770940075440) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:4539 |
| #5 check_rvalue_consistency_force (obj=139770940075440, terminate=0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:1434 |
| #6 0x00007f1ef7ade189 in check_children_i (child=139770940075440, ptr=0x7ffce93d53e0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:7588 |
| #7 0x00007f1ef7ae0091 in gc_mark (obj=139770940075440, objspace=0x56180df5a0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:6824 |
| #8 gc_mark_children (objspace=0x56180df5a0b0, obj=139770832449480) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:6978 |
| #9 0x00007f1ef7ae09c6 in rb_objspace_reachable_objects_from (obj=139770832449480, func=0x7f1ef7ade170 <check_children_i>, data=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:11180 |
| #10 0x00007f1ef7ae0b41 in verify_internal_consistency_i (data=0x7ffce93d53e0, stride=40, page_end=0x7f1eeed17fe0, page_start=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:7617 |
| #11 gc_verify_internal_consistency_ (objspace=0x56180df5a0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:7791 |
| #12 0x00007f1ef7ae3323 in gc_verify_internal_consistency (objspace=0x56180df5a0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:7868 |
| #13 gc_marks_finish (objspace=0x56180df5a0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:8039 |
| #14 0x00007f1ef7ae3e0f in gc_marks_rest (objspace=0x56180df5a0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:8175 |
| #15 0x00007f1ef7ae4e98 in gc_marks (full_mark=<optimized out>, objspace=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:8230 |
| #16 gc_start (objspace=<optimized out>, reason=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:9046 |
| #17 0x00007f1ef7ae8ff4 in heap_prepare (heap=<optimized out>, size_pool=<optimized out>, objspace=0x56180df5a0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2185 |
| #18 heap_next_freepage (heap=<optimized out>, size_pool=<optimized out>, objspace=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2406 |
| #19 ractor_cache_slots (size_pool_idx=<optimized out>, cr=<optimized out>, objspace=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2442 |
| #20 newobj_slowpath (size_pool_idx=1, wb_protected=1, cr=<optimized out>, objspace=0x56180df5a0b0, flags=5, klass=139770940075440) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2502 |
| #21 newobj_slowpath_wb_protected (klass=139770940075440, flags=5, objspace=0x56180df5a0b0, cr=<optimized out>, size_pool_idx=1) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2522 |
| #22 0x00007f1ef7ae9706 in newobj_of0 (alloc_size=45, cr=<optimized out>, wb_protected=1, flags=5, klass=139770940075440) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2562 |
| #23 newobj_of (alloc_size=45, wb_protected=1, v3=0, v2=0, v1=0, flags=5, klass=139770940075440) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2573 |
| #24 rb_wb_protected_newobj_of (klass=klass@entry=139770940075440, flags=flags@entry=5, size=size@entry=45) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2595 |
| #25 0x00007f1ef7c249da in str_alloc (size=45, klass=139770940075440) at /tmp/ruby/v3/src/trunk-gc-asserts/string.c:887 |
| #26 str_alloc_embed (capa=21, klass=139770940075440) at /tmp/ruby/v3/src/trunk-gc-asserts/string.c:857 |
| #27 str_new0 (klass=139770940075440, ptr=0x561810656bd8 "\360\233\202\244\360\233\202\244\360\233\202\244\360\233\202\244\360\233\202\244\030V", len=20, termlen=termlen@entry=1) at /tmp/ruby/v3/src/trunk-gc-asserts/string.c:887 |
| #28 0x00007f1ef7c2964e in str_new (len=<optimized out>, ptr=<optimized out>, klass=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/string.c:913 |
| #29 rb_str_new (ptr=<optimized out>, len=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/string.c:919 |
| #30 0x0000000000000028 in ?? () |
| #31 0x0000001419575857 in ?? () |
| #32 0x00007ffce93d5804 in ?? () |
| #33 0x00007ffce93d57a0 in ?? () |
| #34 0x00007f1ef4b35d20 in ?? () |
| #35 0x00007f1eee2c3490 in ?? () |
| #36 0x00007f1ef4b35d4c in ?? () |
| #37 0x4188d28e2736a700 in ?? () |
| #38 0x00007ffce93d59a0 in ?? () |
| #39 0x000056180df5aaa0 in ?? () |
| #40 0x00007f1ef4b35d20 in ?? () |
| #41 0x0000000000000000 in ?? () |
| >>> Dump Ruby level backtrace |
| th: 0x56180df59f30, native_id: 0x7f1ef7585f40 |
| -- Control frame information ----------------------------------------------- |
| c:0017 p:---- s:0109 e:000108 CFUNC :downcase |
| me: |
| called_id: downcase, type: cfunc |
| owner class: 0x00007f1ef53badb0 [3LM ] T_CLASS String |
| self: 0x00007f1ef4b35d20 [1 M ] T_STRING (String) [embed] len: 20, capa: 55 "????????????????????" |
| c:0016 p:0070 s:0105 e:000104 BLOCK /tmp/ruby/v3/src/trunk-gc-asserts/test/ruby/enc/test_case_comprehensive.rb:156 [FINISH] |
| me: |
| called_id: test_UTF-8_downcase, type: bmethod |
| owner class: 0x00007f1eefb64148 [3LM ] T_CLASS TestComprehensiveCaseMapping |
| self: 0x00007f1eef23c8b8 [3LM ] T_OBJECT (TestComprehensiveCaseMapping)len:8 ptr:0x000056180fe2bcf0 |
| lvars: |
| code: 0x00007f1eef397f78 [3LM ] T_STRING (String) [embed] len: 4, capa: 15 "????" |
| source: 0x00007f1ef4b35d20 [1 M ] T_STRING (String) [embed] len: 20, capa: 55 "????????????????????" |
| target: 0x00007f1eee2c3508 [1 M ] T_STRING (String) [shared] len: 20 "????????????????????" |
| result: T_NIL |
| c:0015 p:---- s:0098 e:000097 CFUNC :each |
| me: |
| called_id: each, type: cfunc |
| owner class: 0x00007f1ef53ad408 [3LM ] T_CLASS Array |
| self: 0x00007f1eee441dd0 [3LM ] T_ARRAY (Array)[ ] len: 33791, capa:37834 ptr:0x000056180ea764d0 |
| c:0014 p:0006 s:0094 E:002070 BLOCK /tmp/ruby/v3/src/trunk-gc-asserts/test/ruby/enc/test_case_comprehensive.rb:153 [FINISH] |
| me: |
| called_id: test_UTF-8_downcase, type: bmethod |
| owner class: 0x00007f1eefb64148 [3LM ] T_CLASS TestComprehensiveCaseMapping |
| self: 0x00007f1eef23c8b8 [3LM ] T_OBJECT (TestComprehensiveCaseMapping)len:8 ptr:0x000056180fe2bcf0 |
| c:0013 p:0041 s:0091 e:000090 METHOD /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/testcase.rb:200 |
| me: |
| called_id: run_test, type: iseq |
| owner class: 0x00007f1ef4b06098 [3LM ] T_CLASS Test::Unit::TestCase |
| self: 0x00007f1eef23c8b8 [3LM ] T_OBJECT (TestComprehensiveCaseMapping)len:8 ptr:0x000056180fe2bcf0 |
| lvars: |
| name: T_SYMBOL test_UTF-8_downcase |
| progname: 0x00007f1ef49ffde8 [3LM ] T_STRING (String) [embed] len: 64, capa: 135 "/tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/parallel.rb" |
| c:0012 p:0059 s:0085 e:000084 METHOD /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/testcase.rb:168 |
| me: |
| called_id: run, type: iseq |
| owner class: 0x00007f1ef4b06098 [3LM ] T_CLASS Test::Unit::TestCase |
| self: 0x00007f1eef23c8b8 [3LM ] T_OBJECT (TestComprehensiveCaseMapping)len:8 ptr:0x000056180fe2bcf0 |
| lvars: |
| runner: 0x00007f1ef4abdfc8 [3LM ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000056180e3baa80 |
| start_time: 0x00007f1eef23c7c8 [0 M U ] time (Time)time |
| result: 0x00007f1ef74563d0 [3LM ] T_STRING (String) [embed] len: 0, capa: 15 "" |
| time: T_NIL |
| e: T_NIL |
| c:0011 p:0089 s:0076 e:000075 BLOCK /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit.rb:1534 [FINISH] |
| me: |
| called_id: _run_suite, type: iseq |
| owner class: 0x00007f1ef4b21050 [3LM ] T_CLASS Test::Unit::Runner |
| self: 0x00007f1ef4abdfc8 [3LM ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000056180e3baa80 |
| lvars: |
| method: T_SYMBOL test_UTF-8_downcase |
| inst: 0x00007f1eef23c8b8 [3LM ] T_OBJECT (TestComprehensiveCaseMapping)len:8 ptr:0x000056180fe2bcf0 |
| start_time: T_NIL |
| result: T_NIL |
| c:0010 p:---- s:0069 e:000068 CFUNC :map |
| me: |
| called_id: map, type: cfunc |
| owner class: 0x00007f1ef53ad408 [3LM ] T_CLASS Array |
| self: 0x00007f1eef392c08 [3LM ] T_ARRAY (Array)[ ] len: 422, capa:422 ptr:0x000056180fb42850 |
| c:0009 p:0117 s:0065 e:000064 METHOD /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit.rb:1521 |
| me: |
| called_id: _run_suite, type: iseq |
| owner class: 0x00007f1ef4b21050 [3LM ] T_CLASS Test::Unit::Runner |
| self: 0x00007f1ef4abdfc8 [3LM ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000056180e3baa80 |
| lvars: |
| suite: 0x00007f1eefb64148 [3LM ] T_CLASS TestComprehensiveCaseMapping |
| type: T_SYMBOL test |
| header: 0x00007f1eef361748 [3LM ] T_STRING (String) len: 17, capa: 31 "test_suite_header" |
| filter: 0x00007f1ef4a2dec8 [3LM ] T_REGEXP (Regexp) |
| all_test_methods: 0x00007f1eef392c08 [3LM ] T_ARRAY (Array)[ ] len: 422, capa:422 ptr:0x000056180fb42850 |
| leakchecker: 0x00007f1eef391e70 [3LM ] T_OBJECT (LeakChecker)len:7 ptr:0x000056180fc22a70 |
| trace: T_NIL |
| assertions: T_NIL |
| c:0008 p:0042 s:0053 e:000052 METHOD /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit.rb:1314 |
| me: |
| called_id: orig_run_suite, type: iseq |
| owner class: 0x00007f1ef4b215f0 [3LM ] T_MODULE (Module)Test::Unit::ExcludesOption |
| defined_class: 0x00007f1ef4b20150 [3LM ] T_ICLASS src:Test::Unit::ExcludesOption |
| self: 0x00007f1ef4abdfc8 [3LM ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000056180e3baa80 |
| lvars: |
| suite: 0x00007f1eefb64148 [3LM ] T_CLASS TestComprehensiveCaseMapping |
| type: T_SYMBOL test |
| ex: T_NIL |
| c:0007 p:0110 s:0046 E:000040 METHOD /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/parallel.rb:58 |
| me: |
| called_id: _run_suite, type: iseq |
| owner class: 0x00007f1ef4ae9ba0 [3LM ] T_CLASS Test::Unit::Worker |
| self: 0x00007f1ef4abdfc8 [3LM ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000056180e3baa80 |
| lvars: |
| suite: 0x00007f1eefb64148 [3LM ] T_CLASS TestComprehensiveCaseMapping |
| type: T_SYMBOL test |
| orig_testout: 0x00007f1ef7439848 [0LM U ] T_FILE (IO) |
| i: 0x00007f1eef362940 [0LM U ] T_FILE (IO) |
| o: 0x00007f1eef3628c8 [0LM U ] T_FILE (IO) |
| orig_stdin: 0x00007f1ef7439898 [0LM U ] T_FILE (IO) |
| orig_stdout: 0x00007f1ef7439848 [0LM U ] T_FILE (IO) |
| th: 0x00007f1eef362670 [0LM U ] VM/thread (Thread)VM/thread |
| e: T_FIXNUM 0 |
| f: T_FIXNUM 0 |
| s: T_FIXNUM 2 |
| result: T_NIL |
| c:0006 p:0007 s:0030 e:000029 BLOCK /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/parallel.rb:30 [FINISH] |
| me: |
| called_id: _run_suites, type: iseq |
| owner class: 0x00007f1ef4ae9ba0 [3LM ] T_CLASS Test::Unit::Worker |
| self: 0x00007f1ef4abdfc8 [3LM ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000056180e3baa80 |
| lvars: |
| suite: 0x00007f1eefb64148 [3LM ] T_CLASS TestComprehensiveCaseMapping |
| c:0005 p:---- s:0026 e:000025 CFUNC :map |
| me: |
| called_id: map, type: cfunc |
| owner class: 0x00007f1ef53ad408 [3LM ] T_CLASS Array |
| self: 0x00007f1eef362f80 [3LM ] T_ARRAY (Array)[E ] len: 1 (embed) |
| c:0004 p:0005 s:0022 e:000021 METHOD /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/parallel.rb:29 |
| me: |
| called_id: _run_suites, type: iseq |
| owner class: 0x00007f1ef4ae9ba0 [3LM ] T_CLASS Test::Unit::Worker |
| self: 0x00007f1ef4abdfc8 [3LM ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000056180e3baa80 |
| lvars: |
| suites: 0x00007f1eef362f80 [3LM ] T_ARRAY (Array)[E ] len: 1 (embed) |
| type: T_SYMBOL test |
| c:0003 p:0260 s:0016 e:000015 METHOD /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/parallel.rb:128 |
| me: |
| called_id: run, type: iseq |
| owner class: 0x00007f1ef4ae9ba0 [3LM ] T_CLASS Test::Unit::Worker |
| self: 0x00007f1ef4abdfc8 [3LM ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000056180e3baa80 |
| lvars: |
| args: 0x00007f1ef7438d58 [3LM ] T_ARRAY [E ] len: 0 (embed) |
| buf: 0x00007f1eef3c6bc0 [3LM ] T_STRING (String) [embed] len: 84, capa: 135 "run /tmp/ruby/v3/src/trunk-gc-asserts/test/ruby/enc/test_case_comprehensive.rb test |
| " |
| suites: 0x00007f1eee43a490 [3LM ] T_ARRAY (Array)[ ] len: 75, capa:75 ptr:0x000056180fc0c620 |
| e: T_NIL |
| trace: T_NIL |
| err: T_NIL |
| c:0002 p:0127 s:0006 e:000005 EVAL /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/parallel.rb:211 [FINISH] |
| self: 0x00007f1ef7424e20 [3LM ] T_OBJECT (embed) len:3 |
| c:0001 p:0000 s:0003 E:0021b0 (none) [FINISH] |
| self: 0x00007f1ef7424e20 [3LM ] T_OBJECT (embed) len:3 |
| th: 0x56180f49ab50, native_id: 0x7f1ef496b700 |
| -- Control frame information ----------------------------------------------- |
| c:0003 p:---- s:0012 e:000011 CFUNC :readpartial |
| me: |
| called_id: readpartial, type: cfunc |
| owner class: 0x00007f1ef53abea0 [3LM ] T_CLASS IO |
| self: 0x00007f1eef362940 [0LM U ] T_FILE (IO) |
| c:0002 p:0036 s:0007 e:000006 BLOCK /tmp/ruby/v3/src/trunk-gc-asserts/tool/lib/test/unit/parallel.rb:48 [FINISH] |
| me: |
| called_id: _run_suite, type: iseq |
| owner class: 0x00007f1ef4ae9ba0 [3LM ] T_CLASS Test::Unit::Worker |
| self: 0x00007f1ef4abdfc8 [3LM ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000056180e3baa80 |
| lvars: |
| buf: 0x00007f1eef2483e8 [3LM ] T_STRING (String) len: 1, capa: 1024 "." |
| c:0001 p:---- s:0003 e:000002 (none) [FINISH] |
| self: T_NIL |
| $1 = 0 |
| ">>> Finish |
| "[Inferior 1 (process 7097) detached] |
| $ timeout 60 gdb -p 7096 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| running file: /tmp/ruby/v3/src/trunk-gc-asserts/test/ruby/enc/test_case_comprehensive.rb |
| Some worker was crashed. It seems ruby interpreter's bug |
| or, a bug of test/unit/parallel.rb. try again without -j |
| option. |
| [New LWP 17558] |
| [Thread debugging using libthread_db enabled] |
| Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". |
| 0x00007f98bdfeced1 in ptr_in_page_body_p (memb=0x561ed408b808, ptr=0x7f98bae5f088) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2819 |
| 2819 uintptr_t p_body = (uintptr_t)GET_PAGE_BODY(page->start); |
| >>> Threads Id Target Id Frame |
| * 1 Thread 0x7f98bda98f40 (LWP 7096) "ruby" 0x00007f98bdfeced1 in ptr_in_page_body_p (memb=0x561ed408b808, ptr=0x7f98bae5f088) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2819 |
| 2 Thread 0x7f98bae4f700 (LWP 17558) "timeout.rb:97" futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f98bae4ee50, clockid=<optimized out>, expected=0, futex_word=0x7f98bae4ee88) at ../sysdeps/nptl/futex-internal.h:320 |
| >>> Machine level backtrace |
| Thread 2 (Thread 0x7f98bae4f700 (LWP 17558)): |
| #0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f98bae4ee50, clockid=<optimized out>, expected=0, futex_word=0x7f98bae4ee88) at ../sysdeps/nptl/futex-internal.h:320 |
| #1 __pthread_cond_wait_common (abstime=0x7f98bae4ee50, clockid=<optimized out>, mutex=0x7f98be331020 <thread_cache_lock>, cond=0x7f98bae4ee60) at pthread_cond_wait.c:520 |
| #2 __pthread_cond_timedwait (cond=cond@entry=0x7f98bae4ee60, mutex=mutex@entry=0x7f98be331020 <thread_cache_lock>, abstime=abstime@entry=0x7f98bae4ee50) at pthread_cond_wait.c:656 |
| #3 0x00007f98be16c8d8 in native_cond_timedwait (abs=<synthetic pointer>, mutex=0x7f98be331020 <thread_cache_lock>, cond=0x7f98bae4ee60) at /tmp/ruby/v3/src/trunk-gc-asserts/thread_pthread.c:572 |
| #4 register_cached_thread_and_wait (altstack=0x561ed40e9390) at /tmp/ruby/v3/src/trunk-gc-asserts/thread_pthread.c:1116 |
| #5 thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/thread_pthread.c:1061 |
| #6 0x00007f98bdeb6609 in start_thread (arg=<optimized out>) at pthread_create.c:477 |
| #7 0x00007f98bdbbc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 |
| Thread 1 (Thread 0x7f98bda98f40 (LWP 7096)): |
| #0 0x00007f98bdfeced1 in ptr_in_page_body_p (memb=0x561ed408b808, ptr=0x7f98bae5f088) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2819 |
| #1 bsearch (__compar=<optimized out>, __size=8, __nmemb=153, __base=0x561ed408b7f0, __key=0x7f98bae5f088) at /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:33 |
| #2 heap_page_for_ptr (ptr=140293947388040, objspace=0x561ed3cbc0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2840 |
| #3 is_pointer_to_heap (ptr=0x7f98bae5f088, objspace=0x561ed3cbc0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2867 |
| #4 is_pointer_to_heap (ptr=0x7f98bae5f088, objspace=0x561ed3cbc0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:2854 |
| #5 check_rvalue_consistency_force (obj=140293947388040, terminate=1) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:1393 |
| #6 0x00007f98bdff208a in check_rvalue_consistency (obj=140293947388040) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:4296 |
| #7 is_markable_object (objspace=0x561ed3cbc0b0, obj=140293947388040) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:4296 |
| #8 gc_mark_and_pin (obj=140293947388040, objspace=0x561ed3cbc0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:6815 |
| #9 pin_key_mark_value (key=key@entry=140293947388040, value=20, data=data@entry=94690402353328) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:6386 |
| #10 0x00007f98be1303c6 in apply_functor (_=0, d=<synthetic pointer>, v=<optimized out>, k=140293947388040) at /tmp/ruby/v3/src/trunk-gc-asserts/st.c:1570 |
| #11 st_general_foreach (check_p=0, arg=<synthetic pointer>, replace=0x0, func=<optimized out>, tab=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/st.c:1480 |
| #12 rb_st_foreach (tab=<optimized out>, func=0x7f98bdff2020 <pin_key_mark_value>, arg=94690402353328) at /tmp/ruby/v3/src/trunk-gc-asserts/st.c:1577 |
| #13 0x00007f98be006ff7 in rb_hash_stlike_foreach (hash=hash@entry=140293992316840, func=func@entry=0x7f98bdff2020 <pin_key_mark_value>, arg=arg@entry=94690402353328) at /tmp/ruby/v3/src/trunk-gc-asserts/internal/hash.h:162 |
| #14 0x00007f98bdff373b in mark_hash (hash=140293992316840, objspace=0x561ed3cbc0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:6395 |
| #15 gc_mark_children (objspace=0x561ed3cbc0b0, obj=140293992316840) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:7028 |
| #16 0x00007f98bdff39c6 in rb_objspace_reachable_objects_from (obj=140293992316840, func=0x7f98bdfef2f0 <check_generation_i>, data=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:11180 |
| #17 0x00007f98bdff3d21 in verify_internal_consistency_i (data=0x7ffc5d68aee0, stride=40, page_end=0x7f98bd937ff8, page_start=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:7627 |
| #18 gc_verify_internal_consistency_ (objspace=0x561ed3cbc0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:7791 |
| #19 0x00007f98bdff94cc in gc_verify_internal_consistency (objspace=0x561ed3cbc0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:7868 |
| #20 rb_objspace_call_finalizer (objspace=0x561ed3cbc0b0) at /tmp/ruby/v3/src/trunk-gc-asserts/gc.c:4160 |
| #21 0x00007f98bdfd4330 in rb_ec_finalize (ec=0x561ed3cbcaa0) at /tmp/ruby/v3/src/trunk-gc-asserts/vm_core.h:1860 |
| #22 rb_ec_cleanup (ec=ec@entry=0x561ed3cbcaa0, ex0=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/eval.c:256 |
| #23 0x00007f98bdfd4674 in ruby_run_node (n=0x7f98bd96c3e8) at /tmp/ruby/v3/src/trunk-gc-asserts/eval.c:321 |
| #24 0x0000561ed220f2d3 in rb_main (argc=<optimized out>, argv=<optimized out>) at /tmp/ruby/v3/src/trunk-gc-asserts/main.c:47 |
| #25 0x00007f98bdac10b3 in __libc_start_main (main=0x561ed220f160 <main>, argc=8, argv=0x7ffc5d68b1f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc5d68b1e8) at ../csu/libc-start.c:308 |
| #26 0x0000561ed220f19e in _start () at /tmp/ruby/v3/src/trunk-gc-asserts/main.c:56 |
| >>> Dump Ruby level backtrace |
| th: 0x561ed3cbbf30, native_id: 0x7f98bda98f40 |
| -- Control frame information ----------------------------------------------- |
| c:0001 p:0000 s:0003 E:001ac0 (none) [FINISH] |
| self: 0x00007f98bd934e20 [3LM ] T_OBJECT (embed) len:3 |
| $1 = 0 |
| ">>> Finish |
| "[Inferior 1 (process 7096) detached] |
| $ timeout 60 gdb -p 7088 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| make: *** [uncommon.mk:821: yes-test-all] Killed |
| >>> ThreadsNo threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace |
| #<Errno::ESRCH: No such process> |
| $ timeout 60 gdb -p 7087 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| >>> ThreadsNo threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace |
| $ timeout 60 gdb -p 17547 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| >>> ThreadsNo threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace |
| #<Errno::ESRCH: No such process> |