rev: ac4d53bd46
test-all :
test-spec:
exit statuses:
"make update-unicode -j6" exit with 0.
"make update-download -j6" exit with 0.
"make update-rubyspec -j6" exit with 0.
"make update-src -j6" exit with 0.
"make after-update -j6" exit with 0.
"make miniruby -j6" exit with 0.
"make ruby -j6" exit with 0.
"make all -j6" exit with 0.
"make install -j6" exit with 0.
"make yes-btest RUN_OPTS=\"--disable-gems --jit-debug=-ggdb3\"" exit with 0.
"make yes-test-basic RUN_OPTS=\"--disable-gems --jit-debug=-ggdb3\"" exit with 0.
Logfile: /home/ko1/ruby/logs/brlog.trunk-mjit.20210813-072439
#<BuildRuby:0x000055e67a518720
@BUILD_DIR="/tmp/ruby/v3/build",
@INSTALL_DIR="/tmp/ruby/v3/install",
@REPOSITORY="https://github.com/ruby/ruby.git",
@REPOSITORY_TYPE=:git,
@SRC_DIR="/tmp/ruby/v3/src",
@TARGET_BUILD_DIR="/tmp/ruby/v3/build/trunk-mjit",
@TARGET_INSTALL_DIR="/tmp/ruby/v3/install/trunk-mjit",
@TARGET_NAME="trunk-mjit",
@TARGET_SRC_DIR="/tmp/ruby/v3/src/trunk-mjit",
@build_opts="-j6",
@configure_opts=["cppflags=-DMJIT_FORCE_ENABLE"],
@gist=false,
@git_branch=nil,
@git_worktree=nil,
@incremental=true,
@logfile="/home/ko1/ruby/logs/brlog.trunk-mjit.20210813-072439",
@make="make",
@quiet=false,
@ruby_env=
[["RUBY_DEBUG", "ci"], ["RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE", "30"]],
@steps=
["checkout",
"autoconf",
"configure",
"build_up",
"build_miniruby",
"build_ruby",
"build_all",
"build_install",
"test_btest",
"test_basic",
"test_all",
"test_rubyspec"],
@svn_revision=nil,
@test_opts="RUN_OPTS=\"--disable-gems --jit-debug=-ggdb3\"",
@timeout=10800>
user system total real
checkout 0.000000 0.000000 0.000000 ( 0.000019)
autoconf 0.000000 0.000000 0.000000 ( 0.000041)
configure 0.000000 0.000000 0.000000 ( 0.000038)
build_up From https://github.com/ruby/ruby
1a16940..ac4d53b master -> origin/master
0.012000 0.004000 100.988000 ( 36.538883)
build_miniruby 0.000000 0.000000 0.168000 ( 0.179855)
build_ruby 0.000000 0.004000 3.784000 ( 3.507717)
build_all 0.008000 0.004000 27.264000 ( 7.347973)
build_install 0.036000 0.000000 30.152000 ( 13.252555)
test_btest test_attr.rb ..
test_autoload.rb ........
test_block.rb ..........................................................
test_class.rb ................................................
test_env.rb ..
test_eval.rb .....................................
test_exception.rb ..................................
test_fiber.rb .....
test_finalizer.rb .
test_flip.rb .
test_flow.rb ..............................................................
test_fork.rb ....
test_gc.rb ..
test_insns.rb ...............................................................................................................................................................................................................................................................................................................................................................................................
test_io.rb .........
test_jump.rb .............................
test_literal.rb ............................................................................................................................................................
test_literal_suffix.rb ................................................
test_load.rb ..
test_marshal.rb .
test_massign.rb ..................................
test_method.rb ...............................................................................................................................................................................................................................
test_objectspace.rb ......
test_proc.rb .....................................
test_ractor.rb ..........................................................................................
test_string.rb .
test_struct.rb .
test_syntax.rb ............................................................................................................................................................
test_thread.rb .................................................
Fiber count: 10000 (skipping)
PASS all 1489 tests
0.000000 0.000000 1095.448000 (942.814866)
test_basic 0.008000 0.004000 5.324000 ( 4.194286)
test_all $$$ #<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-mjit --incremental --process-num=6
11 15659 11 11 ? -1 Sl 1001 0:00 ruby ./br.rb build_report trunk-mjit --incremental --process-num=6
15659 15661 11 11 ? -1 S 1001 0:00 sh -c ruby /home/ko1/ruby/build-ruby/build-ruby.rb --target_name=trunk-mjit --logfile=/home/ko1/ruby/logs/brlog.trunk-mjit.20210813-072439 --root_dir=/tmp/ruby --timeout=10800 --configure_opts=cppflags="-DMJIT_FORCE_ENABLE" --add-env=RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE=30 --test_opts='RUN_OPTS="--disable-gems --jit-debug=-ggdb3"' --incremental --process-num=6
15661 15662 11 11 ? -1 Sl 1001 0:00 ruby /home/ko1/ruby/build-ruby/build-ruby.rb --target_name=trunk-mjit --logfile=/home/ko1/ruby/logs/brlog.trunk-mjit.20210813-072439 --root_dir=/tmp/ruby --timeout=10800 --configure_opts=cppflags=-DMJIT_FORCE_ENABLE --add-env=RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE=30 --test_opts=RUN_OPTS="--disable-gems --jit-debug=-ggdb3" --incremental --process-num=6
15662 23352 11 11 ? -1 S 1001 0:00 sh -c make yes-test-all RUN_OPTS="--disable-gems --jit-debug=-ggdb3"
23352 23353 11 11 ? -1 S 1001 0:00 make yes-test-all RUN_OPTS=--disable-gems --jit-debug=-ggdb3
23353 23367 11 11 ? -1 Sl 1001 4:23 /tmp/ruby/v3/src/trunk-mjit/test/runner.rb: TestGCCompact#test_compact_count
15662 29330 11 11 ? -1 R 1001 0:00 ps jx
{10=>[11], 11=>[15659], 15659=>[15661], 15661=>[15662], 15662=>[23352, 29330], 23352=>[23353], 23353=>[23367]}
"timeout 60 gdb -p 23367 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
[New LWP 28734]
warning: Could not load shared library symbols for 209 libraries, e.g. /tmp/_ruby_mjit_p23367u0.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
52 lowlevellock.c: No such file or directory.
__lll_lock_wait (futex=futex@entry=0x564b32419880 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
>>> Threads Id Target Id Frame
* 1 Thread 0x7f32bbd87b80 (LWP 23367) "ruby" __lll_lock_wait (futex=futex@entry=0x564b32419880 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
2 Thread 0x7f32b0bf1700 (LWP 28734) "ruby-mjitworker" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564b324197ec <mjit_worker_wakeup+44>) at ../sysdeps/nptl/futex-internal.h:183
>>> Machine level backtrace
Thread 2 (Thread 0x7f32b0bf1700 (LWP 28734)):
#0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564b324197ec <mjit_worker_wakeup+44>) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564b32419880 <mjit_engine_mutex>, cond=0x564b324197c0 <mjit_worker_wakeup>) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=cond@entry=0x564b324197c0 <mjit_worker_wakeup>, mutex=mutex@entry=0x564b32419880 <mjit_engine_mutex>) at pthread_cond_wait.c:638
#3 0x0000564b321eaccd in rb_native_cond_wait (cond=cond@entry=0x564b324197c0 <mjit_worker_wakeup>, mutex=mutex@entry=0x564b32419880 <mjit_engine_mutex>) at /tmp/ruby/v3/src/trunk-mjit/thread_pthread.c:545
#4 0x0000564b320c9d8b in mjit_worker () at /tmp/ruby/v3/src/trunk-mjit/mjit_worker.c:1438
#5 0x0000564b321e54fe in mjit_worker (arg=0x564b320c9c70 <mjit_worker>) at /tmp/ruby/v3/src/trunk-mjit/thread_pthread.c:2019
#6 0x00007f32bc1a5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7 0x00007f32bbeab293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7f32bbd87b80 (LWP 23367)):
#0 __lll_lock_wait (futex=futex@entry=0x564b32419880 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
#1 0x00007f32bc1a80a3 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x564b32419880 <mjit_engine_mutex>) at ../nptl/pthread_mutex_lock.c:80
#2 0x0000564b321ea2ad in rb_native_mutex_lock (lock=lock@entry=0x564b32419880 <mjit_engine_mutex>) at /tmp/ruby/v3/src/trunk-mjit/thread_pthread.c:439
#3 0x0000564b320c8062 in CRITICAL_SECTION_START (level=3, msg=0x564b3230a40e "in stop_worker") at /tmp/ruby/v3/src/trunk-mjit/mjit_worker.c:446
#4 stop_worker () at /tmp/ruby/v3/src/trunk-mjit/mjit.c:773
#5 0x0000564b320cc31b in mjit_pause (wait_p=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/mjit.c:806
#6 0x0000564b320cc40d in mjit_cancel_all (reason=0x564b3230a7f0 "GC.compact is used") at /tmp/ruby/v3/src/trunk-mjit/mjit.c:99
#7 mjit_cancel_all (reason=0x564b3230a7f0 "GC.compact is used") at /tmp/ruby/v3/src/trunk-mjit/mjit.c:88
#8 mjit_update_references (iseq=0x7f32bbc69b30) at /tmp/ruby/v3/src/trunk-mjit/mjit.c:115
#9 0x0000564b3206b0a3 in gc_ref_update (stride=40, page=0x564b3326d570, objspace=0x564b3326bf90, vend=0x7f32bbc6bfe8, vstart=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/gc.c:10061
#10 gc_update_references (heap=0x564b3326bfb8, objspace=0x564b3326bf90) at /tmp/ruby/v3/src/trunk-mjit/gc.c:10086
#11 gc_compact_finish (objspace=0x564b3326bf90, heap=0x564b3326bfb8) at /tmp/ruby/v3/src/trunk-mjit/gc.c:5195
#12 0x0000564b3207161b in gc_page_sweep (sweep_page=0x564b332865d0, heap=0x564b3326bfb8, objspace=0x564b3326bf90) at /tmp/ruby/v3/src/trunk-mjit/gc.c:5433
#13 gc_sweep_step (objspace=0x564b3326bf90, heap=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/gc.c:5630
#14 0x0000564b32071a33 in gc_sweep_rest (objspace=0x564b3326bf90) at /tmp/ruby/v3/src/trunk-mjit/gc.c:5684
#15 gc_sweep (objspace=0x564b3326bf90) at /tmp/ruby/v3/src/trunk-mjit/gc.c:5818
#16 0x0000564b320752a8 in gc_marks (full_mark=<optimized out>, objspace=0x564b3326bf90) at /tmp/ruby/v3/src/trunk-mjit/gc.c:8144
#17 gc_start (objspace=0x564b3326bf90, reason=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/gc.c:9013
#18 0x0000564b32078dd3 in garbage_collect (reason=238592, objspace=0x564b3326bf90) at /tmp/ruby/v3/src/trunk-mjit/gc.c:8899
#19 gc_start_internal (compact=20, immediate_sweep=20, immediate_mark=20, full_mark=20, self=139855875295160, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/gc.c:9245
#20 gc_compact (ec=0x564b3326c650, self=139855875295160) at /tmp/ruby/v3/src/trunk-mjit/gc.c:10201
#21 0x0000564b32242cd2 in invoke_bf (reg_cfp=<optimized out>, bf=<optimized out>, bf=<optimized out>, argv=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:5639
#22 vm_invoke_builtin_delegate (start_index=<optimized out>, bf=<optimized out>, cfp=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:5639
#23 vm_invoke_builtin_delegate (start_index=<optimized out>, bf=<optimized out>, cfp=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:5627
#24 vm_exec_core (ec=0x564b3326c650, initial=128) at ../../src/trunk-mjit/insns.def:1469
#25 0x0000564b3223579e in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2164
#26 0x0000564b322394fe in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=139855875444200, iseq=0x7f32b8b2e980, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1264
#27 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x7ffdaa48d5f8, argc=1, self=139855875444200, captured=<optimized out>, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1336
#28 invoke_block_from_c_bh (argc=<optimized out>, kw_splat=<optimized out>, passed_block_handler=<optimized out>, cref=<optimized out>, is_lambda=<optimized out>, force_blockarg=<optimized out>, argv=<optimized out>, block_handler=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1354
#29 vm_yield (argc=1, kw_splat=0, argv=0x7ffdaa48d5f8, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1399
#30 rb_yield_0 (argv=0x7ffdaa48d5f8, argc=1) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1350
#31 rb_yield (val=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1366
#32 0x0000564b32267826 in rb_ary_collect (ary=139854928237200) at /tmp/ruby/v3/src/trunk-mjit/include/ruby/internal/core/rarray.h:172
#33 0x0000564b3222a4bb in vm_call_cfunc_with_frame (ec=0x564b3326c650, reg_cfp=0x7f32bbd85b08, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:2989
#34 0x0000564b32234b43 in vm_sendish (ec=0x564b3326c650, reg_cfp=0x7f32bbd85b08, cd=0x564b3344f520, block_handler=<optimized out>, method_explorer=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_callinfo.h:336
#35 0x0000564b3223f5bb in vm_exec_core (ec=0x564b3326c650, initial=128) at ../../src/trunk-mjit/insns.def:756
#36 0x0000564b3223579e in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2164
#37 0x0000564b322394fe in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=139855875444200, iseq=0x7f32b8b2c9c8, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1264
#38 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x7ffdaa48da18, argc=1, self=139855875444200, captured=<optimized out>, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1336
#39 invoke_block_from_c_bh (argc=<optimized out>, kw_splat=<optimized out>, passed_block_handler=<optimized out>, cref=<optimized out>, is_lambda=<optimized out>, force_blockarg=<optimized out>, argv=<optimized out>, block_handler=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1354
#40 vm_yield (argc=1, kw_splat=0, argv=0x7ffdaa48da18, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1399
#41 rb_yield_0 (argv=0x7ffdaa48da18, argc=1) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1350
#42 rb_yield (val=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1366
#43 0x0000564b3226133c in rb_ary_each (ary=139855723269840) at /tmp/ruby/v3/src/trunk-mjit/include/ruby/internal/core/rarray.h:172
#44 0x0000564b3222a4bb in vm_call_cfunc_with_frame (ec=0x564b3326c650, reg_cfp=0x7f32bbd85be8, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:2989
#45 0x0000564b32236aa9 in vm_call_method_each_type (ec=0x564b3326c650, cfp=0x7f32bbd85be8, calling=0x7ffdaa48dd10) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3479
#46 0x0000564b32237184 in vm_call_method (ec=0x564b3326c650, cfp=0x7f32bbd85be8, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3597
#47 0x0000564b32236f07 in vm_call_refined (calling=0x7ffdaa48dd10, cfp=0x7f32bbd85be8, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3458
#48 vm_call_method_each_type (ec=0x564b3326c650, cfp=0x7f32bbd85be8, calling=0x7ffdaa48dd10) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3536
#49 0x0000564b32237184 in vm_call_method (ec=0x564b3326c650, cfp=0x7f32bbd85be8, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3597
#50 0x0000564b32234b43 in vm_sendish (ec=0x564b3326c650, reg_cfp=0x7f32bbd85be8, cd=0x564b33400740, block_handler=<optimized out>, method_explorer=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_callinfo.h:336
#51 0x0000564b3223f5bb in vm_exec_core (ec=0x564b3326c650, initial=128) at ../../src/trunk-mjit/insns.def:756
#52 0x0000564b3223579e in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2164
#53 0x0000564b322394fe in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=139855875444200, iseq=0x7f32b8b2d4e0, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1264
#54 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x7ffdaa48dfc8, argc=1, self=139855875444200, captured=<optimized out>, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1336
#55 invoke_block_from_c_bh (argc=<optimized out>, kw_splat=<optimized out>, passed_block_handler=<optimized out>, cref=<optimized out>, is_lambda=<optimized out>, force_blockarg=<optimized out>, argv=<optimized out>, block_handler=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1354
#56 vm_yield (argc=1, kw_splat=0, argv=0x7ffdaa48dfc8, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1399
#57 rb_yield_0 (argv=0x7ffdaa48dfc8, argc=1) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1350
#58 rb_yield (val=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1366
#59 0x0000564b3226133c in rb_ary_each (ary=139855723271040) at /tmp/ruby/v3/src/trunk-mjit/include/ruby/internal/core/rarray.h:172
#60 0x0000564b3222a4bb in vm_call_cfunc_with_frame (ec=0x564b3326c650, reg_cfp=0x7f32bbd85d70, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:2989
#61 0x0000564b32236aa9 in vm_call_method_each_type (ec=0x564b3326c650, cfp=0x7f32bbd85d70, calling=0x7ffdaa48e2c0) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3479
#62 0x0000564b32237184 in vm_call_method (ec=0x564b3326c650, cfp=0x7f32bbd85d70, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3597
#63 0x0000564b32236f07 in vm_call_refined (calling=0x7ffdaa48e2c0, cfp=0x7f32bbd85d70, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3458
#64 vm_call_method_each_type (ec=0x564b3326c650, cfp=0x7f32bbd85d70, calling=0x7ffdaa48e2c0) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3536
#65 0x0000564b32237184 in vm_call_method (ec=0x564b3326c650, cfp=0x7f32bbd85d70, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3597
#66 0x0000564b32234b43 in vm_sendish (ec=0x564b3326c650, reg_cfp=0x7f32bbd85d70, cd=0x564b334579c0, block_handler=<optimized out>, method_explorer=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_callinfo.h:336
#67 0x0000564b3223f5bb in vm_exec_core (ec=0x564b3326c650, initial=128) at ../../src/trunk-mjit/insns.def:756
#68 0x0000564b32235f8d in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2173
#69 0x0000564b320bc181 in load_iseq_eval (fname=139855875434640, ec=0x564b3326c650) at /tmp/ruby/v3/src/trunk-mjit/load.c:636
#70 require_internal (ec=0x564b3326c650, fname=<optimized out>, exception=1) at /tmp/ruby/v3/src/trunk-mjit/load.c:1112
#71 0x0000564b320bc659 in rb_require_string (fname=139855875437080) at /tmp/ruby/v3/src/trunk-mjit/load.c:1190
#72 rb_f_require_relative (obj=<optimized out>, fname=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/load.c:899
#73 0x0000564b3222a4bb in vm_call_cfunc_with_frame (ec=0x564b3326c650, reg_cfp=0x7f32bbd85fa0, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:2989
#74 0x0000564b32236aa9 in vm_call_method_each_type (ec=0x564b3326c650, cfp=0x7f32bbd85fa0, calling=0x7ffdaa48e920) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3479
#75 0x0000564b32237184 in vm_call_method (ec=0x564b3326c650, cfp=0x7f32bbd85fa0, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3597
#76 0x0000564b3223f50b in vm_sendish (method_explorer=<optimized out>, block_handler=<optimized out>, cd=<optimized out>, reg_cfp=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_callinfo.h:336
#77 vm_exec_core (ec=0x564b3326c650, initial=128) at ../../src/trunk-mjit/insns.def:775
#78 0x0000564b3223579e in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2164
#79 0x0000564b3205061b in rb_ec_exec_node (ec=ec@entry=0x564b3326c650, n=n@entry=0x7f32bbc60dc8) at /tmp/ruby/v3/src/trunk-mjit/eval.c:317
#80 0x0000564b320554af in ruby_run_node (n=0x7f32bbc60dc8) at /tmp/ruby/v3/src/trunk-mjit/eval.c:375
#81 0x0000564b32047ba3 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/main.c:47
>>> Dump Ruby level backtrace
th: 0x564b3326be10, native_id: 0x7f32bbd87b80
-- Control frame information -----------------------------------------------
c:0030 p:0003 s:0171 e:000170 METHOD <internal:gc>:213
me:
called_id: compact, type: iseq
owner class: 0x00007f32bbc4bc70 [3LM ] T_CLASS (annon)
self: 0x00007f32bbc447b8 [3LMP ] T_MODULE GC
c:0029 p:0026 s:0167 e:000166 METHOD /tmp/ruby/v3/src/trunk-mjit/test/ruby/test_gc_compact.rb:166
me:
called_id: test_compact_count, type: iseq
owner class: 0x00007f32b37f9bc0 [3LMP ] T_CLASS TestGCCompact
self: 0x00007f328351e228 [3LMP ] T_OBJECT (TestGCCompact)len:8 ptr:0x00007f32bb8f2940
lvars:
count: T_FIXNUM 0
c:0028 p:0056 s:0162 e:000161 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:1284
me:
called_id: run_test, type: iseq
owner class: 0x00007f32b8b72db0 [3LM ] T_CLASS MiniTest::Unit::TestCase
self: 0x00007f328351e228 [3LMP ] T_OBJECT (TestGCCompact)len:8 ptr:0x00007f32bb8f2940
lvars:
name: 0x00007f3283515330 [3LMPR ] T_STRING (String)test_compact_count
progname: 0x00007f32bbc55d38 [3LMP ] T_STRING (String)/tmp/ruby/v3/src/trunk-mjit/test/runner.rb
c:0027 p:0064 s:0156 e:000155 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/minitest/unit.rb:1324
me:
called_id: run, type: iseq
owner class: 0x00007f32b8b72db0 [3LM ] T_CLASS MiniTest::Unit::TestCase
self: 0x00007f328351e228 [3LMP ] T_OBJECT (TestGCCompact)len:8 ptr:0x00007f32bb8f2940
lvars:
runner: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
start_time: 0x00007f328351e1d8 [0 MP U] time (Time)time
result: 0x00007f32bbc587b8 [3LMP ] T_STRING (String)
time: T_NIL
e: T_NIL
c:0026 p:0013 s:0147 e:000146 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit/testcase.rb:18
me:
called_id: run, type: iseq
owner class: 0x00007f32b8b4d588 [3LM ] T_CLASS Test::Unit::TestCase
self: 0x00007f328351e228 [3LMP ] T_OBJECT (TestGCCompact)len:8 ptr:0x00007f32bb8f2940
lvars:
runner: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
c:0025 p:0093 s:0142 e:000141 BLOCK /tmp/ruby/v3/src/trunk-mjit/tool/lib/minitest/unit.rb:980 [FINISH]
me:
called_id: _run_suite, type: iseq
owner class: 0x00007f32b8b30e88 [3LMP ] T_CLASS MiniTest::Unit
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
method: 0x00007f3283515330 [3LMPR ] T_STRING (String)test_compact_count
inst: 0x00007f328351e228 [3LMP ] T_OBJECT (TestGCCompact)len:8 ptr:0x00007f32bb8f2940
start_time: T_NIL
result: T_NIL
c:0024 p:---- s:0135 e:000134 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x00007f32bbc359e8 [3LMP ] T_CLASS Array
self: 0x00007f3283515290 [1 MP ] T_ARRAY (Array)[ T] len: 4, capa:20 ptr:0x00007f32bb927b88
c:0023 p:0145 s:0131 e:000130 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/minitest/unit.rb:969
me:
called_id: _run_suite, type: iseq
owner class: 0x00007f32b8b30e88 [3LMP ] T_CLASS MiniTest::Unit
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
suite: 0x00007f32b37f9bc0 [3LMP ] T_CLASS TestGCCompact
type: T_SYMBOL test
header: 0x00007f32835154c0 [1 MP ] T_STRING (String)test_suite_header
filter: 0x00007f32b8b09f90 [3LMP ] T_REGEXP
all_test_methods: 0x00007f32835152e0 [1 MP ] T_ARRAY (Array)[ ] len: 4, capa:4 ptr:0x0000564b39cc9600
filtered_test_methods: 0x00007f3283515290 [1 MP ] T_ARRAY (Array)[ T] len: 4, capa:20 ptr:0x00007f32bb927b88
leakchecker: 0x00007f3283515150 [1 MP ] T_OBJECT (LeakChecker)len:7 ptr:0x00007f32bb927c38
trace: T_NIL
assertions: T_NIL
c:0022 p:0042 s:0118 e:000117 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:1137
me:
called_id: _run_suite, type: iseq
owner class: 0x00007f32b8b4b120 [3LM ] T_MODULE (Module)Test::Unit::ExcludesOption
defined_class: 0x00007f32b8b4a6a8 [3LM ] T_ICLASS src:Test::Unit::ExcludesOption
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
suite: 0x00007f32b37f9bc0 [3LMP ] T_CLASS TestGCCompact
type: T_SYMBOL test
ex: T_NIL
c:0021 p:0010 s:0111 e:000109 BLOCK /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:628 [FINISH]
me:
called_id: _run_suites, type: iseq
owner class: 0x00007f32b8b4cf70 [3LM ] T_MODULE (Module)Test::Unit::Parallel
defined_class: 0x00007f32b8b4a8d8 [3LM ] T_ICLASS src:Test::Unit::Parallel
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
suite: 0x00007f32b37f9bc0 [3LMP ] T_CLASS TestGCCompact
e: T_NIL
c:0020 p:---- s:0105 e:000104 CFUNC :each
me:
called_id: each, type: cfunc
owner class: 0x00007f32bbc359e8 [3LMP ] T_CLASS Array
self: 0x00007f32b2b48ed0 [3LMP ] T_ARRAY (Array)[ ] len: 950, capa:950 ptr:0x0000564b39c015c0
c:0019 p:0054 s:0101 E:000d18 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:626
me:
called_id: _run_suites, type: iseq
owner class: 0x00007f32b8b4cf70 [3LM ] T_MODULE (Module)Test::Unit::Parallel
defined_class: 0x00007f32b8b4a8d8 [3LM ] T_ICLASS src:Test::Unit::Parallel
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
suites: 0x00007f32b2b48ed0 [3LMP ] T_ARRAY (Array)[ ] len: 950, capa:950 ptr:0x0000564b39c015c0
type: T_SYMBOL test
result: 0x00007f32b2908940 [3LMP ] T_ARRAY (Array)[ ] len: 411, capa:436 ptr:0x0000564b3b10f040
c:0018 p:0008 s:0094 E:000fa8 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:663
me:
called_id: _run_suites, type: iseq
owner class: 0x00007f32b8b4be40 [3LM ] T_MODULE (Module)Test::Unit::Skipping
defined_class: 0x00007f32b8b4a838 [3LM ] T_ICLASS src:Test::Unit::Skipping
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
suites: 0x00007f32b2b48ed0 [3LMP ] T_ARRAY (Array)[ ] len: 950, capa:950 ptr:0x0000564b39c015c0
type: T_SYMBOL test
result: T_NIL
c:0017 p:0146 s:0087 E:002528 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/minitest/unit.rb:908
me:
called_id: _run_anything, type: iseq
owner class: 0x00007f32b8b30e88 [3LMP ] T_CLASS MiniTest::Unit
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
type: T_SYMBOL test
suites: 0x00007f32b2b48ed0 [3LMP ] T_ARRAY (Array)[ ] len: 950, capa:950 ptr:0x0000564b39c015c0
test_count: T_FIXNUM 0
assertion_count: T_FIXNUM 0
sync: T_TRUE
old_sync: T_FALSE
start: 0x00007f32b2af75a8 [0LMP U] time (Time)time
results: T_NIL
t: T_NIL
c:0016 p:0016 s:0074 E:0016c8 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:1074
me:
called_id: _run_anything, type: iseq
owner class: 0x00007f32b8b4b1e8 [3LM ] T_MODULE (Module)Test::Unit::RepeatOption
defined_class: 0x00007f32b8b4a798 [3LM ] T_ICLASS src:Test::Unit::RepeatOption
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
type: T_SYMBOL test
c:0015 p:0005 s:0069 E:000710 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/minitest/unit.rb:1141
me:
called_id: run_tests, type: iseq
owner class: 0x00007f32b8b30e88 [3LMP ] T_CLASS MiniTest::Unit
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
c:0014 p:0006 s:0065 E:000bb8 BLOCK /tmp/ruby/v3/src/trunk-mjit/tool/lib/minitest/unit.rb:1128 [FINISH]
me:
called_id: _run, type: iseq
owner class: 0x00007f32b8b30e88 [3LMP ] T_CLASS MiniTest::Unit
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
plugin: 0x00007f32b8b2f9e8 [3LMP ] T_STRING (String)run_tests
c:0013 p:---- s:0061 e:000060 CFUNC :each
me:
called_id: each, type: cfunc
owner class: 0x00007f32bbc359e8 [3LMP ] T_CLASS Array
self: 0x00007f32b2b49380 [3LMP ] T_ARRAY (Array)[E ] len: 1 (embed)
c:0012 p:0047 s:0057 E:001668 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/minitest/unit.rb:1127
me:
called_id: _run, type: iseq
owner class: 0x00007f32b8b30e88 [3LMP ] T_CLASS MiniTest::Unit
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
args: 0x00007f32bbc6ea18 [3LMP ] T_HASH (Hash)[A ] 8
c:0011 p:0013 s:0052 E:000be8 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/minitest/unit.rb:1115
me:
called_id: run, type: iseq
owner class: 0x00007f32b8b30e88 [3LMP ] T_CLASS MiniTest::Unit
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
args: 0x00007f32bbc3cc20 [3LMP ] T_ARRAY shared -> 0x00007f32b8b0a738 [3LM ] T_ARRAY (Array)[ ] len: 829, capa:2 ptr:0x0000564b335d2470
c:0010 p:0008 s:0047 E:000b70 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:848
me:
called_id: run, type: iseq
owner class: 0x00007f32b8b4bc38 [3LM ] T_MODULE (Module)Test::Unit::StatusLine
defined_class: 0x00007f32b8b4a928 [3LM ] T_ICLASS src:Test::Unit::StatusLine
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
args: 0x00007f32b2b4a0c8 [3LMP ] T_ARRAY (Array)[E ] len: 1 (embed)
result: T_NIL
c:0009 p:0008 s:0041 E:000e60 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:696
me:
called_id: run, type: iseq
owner class: 0x00007f32b8b4bd50 [3LM ] T_MODULE (Module)Test::Unit::Statistics
defined_class: 0x00007f32b8b4a888 [3LM ] T_ICLASS src:Test::Unit::Statistics
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
args: 0x00007f32b2b4a208 [3LMP ] T_ARRAY (Array)[E ] len: 1 (embed)
result: T_NIL
c:0008 p:0017 s:0035 E:0010d8 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:31
me:
called_id: run, type: iseq
owner class: 0x00007f32b8b4d290 [3LM ] T_MODULE Test::Unit::RunCount
defined_class: 0x00007f32b8b4a5e0 [3LM ] T_ICLASS src:Test::Unit::RunCount
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
(null): 0x00007f32b2b4a2f8 [3LMP ] T_ARRAY (Array)[E ] len: 1 (embed)
c:0007 p:0006 s:0030 E:000c08 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:1176
me:
called_id: run, type: iseq
owner class: 0x00007f32b8b4aa90 [3LM ] T_CLASS Test::Unit::Runner
self: 0x00007f32bbc68de8 [3LMP ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:22 ptr:0x0000564b39c03690
lvars:
argv: 0x00007f32bbc3cc20 [3LMP ] T_ARRAY shared -> 0x00007f32b8b0a738 [3LM ] T_ARRAY (Array)[ ] len: 829, capa:2 ptr:0x0000564b335d2470
c:0006 p:0032 s:0025 E:001c70 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:1246
me:
called_id: run, type: iseq
owner class: 0x00007f32b8b4a3d8 [3LMP ] T_CLASS Test::Unit::AutoRunner
self: 0x00007f32bbc68fa0 [3LMP ] T_OBJECT (Test::Unit::AutoRunner)len:5 ptr:0x0000564b335bb0d0
c:0005 p:0009 s:0021 E:000608 METHOD /tmp/ruby/v3/src/trunk-mjit/tool/lib/test/unit.rb:1250
me:
called_id: run, type: iseq
owner class: 0x00007f32b8b4a3b0 [3LM ] T_CLASS (annon)
self: 0x00007f32b8b4a3d8 [3LMP ] T_CLASS Test::Unit::AutoRunner
lvars:
args: 0x00007f32bbc69018 [3LMP ] T_ARRAY (Array)[E ] len: 2 (embed)
c:0004 p:0174 s:0016 E:000608 TOP /tmp/ruby/v3/src/trunk-mjit/tool/test/runner.rb:23 [FINISH]
self: 0x00007f32bbc244b8 [3LMP ] T_OBJECT (embed) len:3
lvars:
dir: 0x00007f32bbc690b8 [3LMP ] T_STRING (String)/tmp/ruby/v3/src/trunk-mjit/test
c:0003 p:---- s:0011 e:000010 CFUNC :require_relative
me:
called_id: require_relative, type: cfunc
owner class: 0x00007f32bbc26600 [3LMP ] T_MODULE Kernel
defined_class: 0x00007f32bbc265b0 [3LM ] T_ICLASS src:Kernel
self: 0x00007f32bbc244b8 [3LMP ] T_OBJECT (embed) len:3
c:0002 p:0104 s:0006 E:000900 EVAL /tmp/ruby/v3/src/trunk-mjit/test/runner.rb:12 [FINISH]
self: 0x00007f32bbc244b8 [3LMP ] T_OBJECT (embed) len:3
c:0001 p:0000 s:0003 E:000e10 (none) [FINISH]
self: 0x00007f32bbc244b8 [3LMP ] T_OBJECT (embed) len:3
$1 = 0
">>> Finish
"[Inferior 1 (process 23367) detached]
[nil, 23367]
"timeout 60 gdb -p 23353 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
make: *** [uncommon.mk:817: yes-test-all] Killed
ptrace: No such process.
>>> ThreadsNo threads.
>>> Machine level backtrace
>>> Dump Ruby level backtrace
/home/ko1/ruby/build-ruby/gdbscript:12: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
[nil, 23353]
#<Errno::ESRCH: No such process>
"timeout 60 gdb -p 23352 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
warning: process 23352 is a zombie - the process has already terminated
ptrace: Operation not permitted.
>>> ThreadsNo threads.
>>> Machine level backtrace
>>> Dump Ruby level backtrace
/home/ko1/ruby/build-ruby/gdbscript:12: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
[nil, 23352]
"timeout 60 gdb -p 29330 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
ptrace: No such process.
>>> ThreadsNo threads.
>>> Machine level backtrace
>>> Dump Ruby level backtrace
/home/ko1/ruby/build-ruby/gdbscript:12: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
[nil, 29330]
#<Errno::ESRCH: No such process>
0.004000 0.004000 1882.332000 (10802.097266)
/home/ko1/ruby/build-ruby/build-ruby.rb:174:in `each_line': execution expired (Timeout::Error)
from /home/ko1/ruby/build-ruby/build-ruby.rb:174:in `block (2 levels) in cmd'
from /usr/lib/ruby/2.7.0/timeout.rb:110:in `timeout'
from /home/ko1/ruby/build-ruby/build-ruby.rb:173:in `block in cmd'
from /home/ko1/ruby/build-ruby/build-ruby.rb:170:in `popen'
from /home/ko1/ruby/build-ruby/build-ruby.rb:170:in `cmd'
from /home/ko1/ruby/build-ruby/build-ruby.rb:320:in `block in test_all'
from /home/ko1/ruby/build-ruby/build-ruby.rb:243:in `block in builddir'
from /home/ko1/ruby/build-ruby/build-ruby.rb:242:in `chdir'
from /home/ko1/ruby/build-ruby/build-ruby.rb:242:in `builddir'
from /home/ko1/ruby/build-ruby/build-ruby.rb:319:in `test_all'
from /home/ko1/ruby/build-ruby/build-ruby.rb:382:in `block (4 levels) in run'
from /usr/lib/ruby/2.7.0/benchmark.rb:293:in `measure'
from /usr/lib/ruby/2.7.0/benchmark.rb:375:in `item'
from /home/ko1/ruby/build-ruby/build-ruby.rb:380:in `block (3 levels) in run'
from /home/ko1/ruby/build-ruby/build-ruby.rb:379:in `each'
from /home/ko1/ruby/build-ruby/build-ruby.rb:379:in `block (2 levels) in run'
from /usr/lib/ruby/2.7.0/benchmark.rb:173:in `benchmark'
from /usr/lib/ruby/2.7.0/benchmark.rb:205:in `bm'
from /home/ko1/ruby/build-ruby/build-ruby.rb:378:in `block in run'
from /usr/lib/ruby/2.7.0/benchmark.rb:293:in `measure'
from /home/ko1/ruby/build-ruby/build-ruby.rb:377:in `run'
from /home/ko1/ruby/build-ruby/build-ruby.rb:551:in `<main>'
total: 11809.93 sec