rev: 5463eff5f6
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.
Logfile: /home/ko1/ruby/logs/brlog.trunk-mjit.20201215-093353
#<BuildRuby:0x00005597d0fa2860
@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.20201215-093353",
@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="TESTS='-j6'",
@timeout=10800>
user system total real
checkout 0.000000 0.000000 0.000000 ( 0.000019)
autoconf 0.000000 0.000000 0.000000 ( 0.000059)
configure 0.000000 0.000000 0.000000 ( 0.000038)
build_up 0.000000 0.008000 6.536000 ( 6.209601)
build_miniruby 0.004000 0.000000 0.092000 ( 0.100291)
build_ruby 0.000000 0.000000 0.092000 ( 0.103588)
build_all 0.004000 0.008000 32.324000 ( 8.925729)
build_install 0.016000 0.004000 35.432000 ( 10.677744)
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 .......................................................................$$$ #<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
29686 2515 11 11 ? -1 Sl 1001 171:47 /tmp/ruby/v3/build/trunk-mjit/miniruby -I/tmp/ruby/v3/src/trunk-mjit/lib -I/tmp/ruby/v3/build/trunk-mjit -I/tmp/ruby/v3/build/trunk-mjit/.ext/common --disable-gems -W0 bootstraptest.tmp.rb
28632 2521 11 11 ? -1 R 1001 0:00 ps jx
11 28630 11 11 ? -1 S 1001 0:00 ruby ./br.rb build_report trunk-mjit --incremental --process-num=6
28630 28631 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.20201215-093353 --root_dir=/tmp/ruby --timeout=10800 --configure_opts=cppflags="-DMJIT_FORCE_ENABLE" --add-env=RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE=30 --incremental --process-num=6
28631 28632 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.20201215-093353 --root_dir=/tmp/ruby --timeout=10800 --configure_opts=cppflags=-DMJIT_FORCE_ENABLE --add-env=RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE=30 --incremental --process-num=6
28632 29679 11 11 ? -1 S 1001 0:00 sh -c make yes-btest TESTS='-j6'
29679 29680 11 11 ? -1 S 1001 0:00 make yes-btest TESTS=-j6
29680 29686 11 11 ? -1 Sl 1001 0:01 /usr/bin/ruby --disable=gems /tmp/ruby/v3/src/trunk-mjit/bootstraptest/runner.rb --ruby=./miniruby -I/tmp/ruby/v3/src/trunk-mjit/lib -I. -I.ext/common --disable-gems
{10=>[11], 29686=>[2515], 28632=>[2521, 29679], 11=>[28630], 28630=>[28631], 28631=>[28632], 29679=>[29680], 29680=>[29686]}
"timeout 60 gdb -p 2521 -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, 2521]
#<Errno::ESRCH: No such process>
"timeout 60 gdb -p 2515 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
[New LWP 2516]
[New LWP 2519]
[New LWP 2520]
[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=0x55e130f41970, private=0) at lowlevellock.c:52
>>> Threads Id Target Id Frame
* 1 Thread 0x7f024f61eb80 (LWP 2515) "miniruby" __lll_lock_wait (futex=futex@entry=0x55e130f41970, private=0) at lowlevellock.c:52
2 Thread 0x7f024c072700 (LWP 2516) "ruby-mjitworker" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e12fae6b28 <mjit_gc_wakeup+40>) at ../sysdeps/nptl/futex-internal.h:183
3 Thread 0x7f024b871700 (LWP 2519) "miniruby" __lll_lock_wait (futex=futex@entry=0x55e130f41970, private=0) at lowlevellock.c:52
4 Thread 0x7f024b670700 (LWP 2520) "miniruby" 0x000055e12f834b9d in verbose (level=4, format=0x55e12f9e12fa "Unlocked %s") at /tmp/ruby/v3/src/trunk-mjit/mjit_worker.c:327
>>> Machine level backtrace
Thread 4 (Thread 0x7f024b670700 (LWP 2520)):
#0 0x000055e12f834b9d in verbose (level=4, format=0x55e12f9e12fa "Unlocked %s") at /tmp/ruby/v3/src/trunk-mjit/mjit_worker.c:327
#1 0x000055e12f8397e3 in CRITICAL_SECTION_FINISH (msg=0x55e12f9e16d6 "mjit_mark rb_gc_mark", level=4) at /tmp/ruby/v3/src/trunk-mjit/mjit_worker.c:450
#2 mjit_mark () at /tmp/ruby/v3/src/trunk-mjit/mjit.c:923
#3 0x000055e12f9b97fb in rb_vm_mark (ptr=ptr@entry=0x55e130f41940) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2598
#4 0x000055e12f7e2bb6 in gc_mark_roots (objspace=objspace@entry=0x55e130f41fe0, categoryp=categoryp@entry=0x0) at /tmp/ruby/v3/src/trunk-mjit/gc.c:6547
#5 0x000055e12f7e46a8 in gc_marks_start (full_mark=<optimized out>, objspace=0x55e130f41fe0) at /tmp/ruby/v3/src/trunk-mjit/gc.c:7648
#6 gc_marks (full_mark=<optimized out>, objspace=0x55e130f41fe0) at /tmp/ruby/v3/src/trunk-mjit/gc.c:7468
#7 gc_start (objspace=0x55e130f41fe0, reason=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/gc.c:8307
#8 0x000055e12f7e94d1 in heap_prepare (heap=<optimized out>, objspace=0x55e130f41fe0) at /tmp/ruby/v3/src/trunk-mjit/gc.c:2008
#9 heap_next_freepage (heap=<optimized out>, objspace=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/gc.c:2184
#10 ractor_cache_slots (cr=<optimized out>, cr=<optimized out>, objspace=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/gc.c:2203
#11 newobj_slowpath (wb_protected=1, cr=0x55e131068430, objspace=0x55e130f41fe0, flags=5, klass=94425678047200) at /tmp/ruby/v3/src/trunk-mjit/gc.c:2239
#12 newobj_slowpath_wb_protected (klass=94425678047200, flags=5, objspace=0x55e130f41fe0, cr=0x55e131068430) at /tmp/ruby/v3/src/trunk-mjit/gc.c:2258
#13 0x000055e12f7e9994 in newobj_of0 (cr=<optimized out>, wb_protected=1, flags=5, klass=94425678047200) at /tmp/ruby/v3/src/trunk-mjit/gc.c:2296
#14 newobj_of (wb_protected=1, v3=0, v2=0, v1=0, flags=5, klass=94425678047200) at /tmp/ruby/v3/src/trunk-mjit/gc.c:2317
#15 rb_wb_protected_newobj_of (klass=klass@entry=94425678047200, flags=flags@entry=5) at /tmp/ruby/v3/src/trunk-mjit/gc.c:2339
#16 0x000055e12f92c133 in str_alloc (klass=94425678047200) at /tmp/ruby/v3/src/trunk-mjit/string.c:795
#17 str_new0 (klass=klass@entry=94425678047200, ptr=0x7f023c00c028 "5739", len=4, termlen=1) at /tmp/ruby/v3/src/trunk-mjit/string.c:795
#18 0x000055e12f93031b in str_new (len=<optimized out>, ptr=<optimized out>, klass=94425678047200) at /tmp/ruby/v3/src/trunk-mjit/string.c:815
#19 str_new_frozen_buffer (klass=94425678047200, orig=orig@entry=139647573344280, copy_encoding=copy_encoding@entry=1) at /tmp/ruby/v3/src/trunk-mjit/string.c:1306
#20 0x000055e12f93089d in str_new_frozen (orig=139647573344280, klass=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/string.c:1297
#21 fstr_update_callback (key=0x7f024b56f4e8, value=0x7f024b56f4f0, data=139647830652240, existing=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/string.c:334
#22 0x000055e12f920868 in rb_st_update (tab=tab@entry=0x55e130fab2a0, key=<optimized out>, key@entry=139647573344280, func=func@entry=0x55e12f930780 <fstr_update_callback>, arg=arg@entry=139647830652240) at /tmp/ruby/v3/src/trunk-mjit/st.c:1417
#23 0x000055e12f940fd6 in register_fstring (copy=false, str=139647573344280) at /tmp/ruby/v3/src/trunk-mjit/string.c:399
#24 rb_fstring (str=139647573344280) at /tmp/ruby/v3/src/trunk-mjit/string.c:378
#25 rb_fstring (str=139647573344280) at /tmp/ruby/v3/src/trunk-mjit/string.c:353
#26 str_uminus (str=139647573344280) at /tmp/ruby/v3/src/trunk-mjit/string.c:2783
#27 0x000055e12f999bb3 in vm_call_cfunc_with_frame (ec=0x55e131068010, reg_cfp=0x7f024b66fc20, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:2871
#28 0x000055e12f9af934 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-mjit/vm_callinfo.h:336
#29 vm_exec_core (ec=0x55e131068010, initial=94425654891258) at ../../src/trunk-mjit/insns.def:789
#30 0x000055e12f9a42fe in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2166
#31 0x000055e12f9a7c2f in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94425677810000, iseq=0x55e130f65d58, ec=0x55e131068010) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1266
#32 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x7f024b56f8c8, argc=1, self=94425677810000, captured=<optimized out>, ec=0x55e131068010) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1338
#33 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:1356
#34 vm_yield (argc=1, kw_splat=0, argv=0x7f024b56f8c8, ec=0x55e131068010) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1401
#35 rb_yield_0 (argv=0x7f024b56f8c8, argc=1) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1143
#36 rb_yield_1 (val=<optimized out>, val@entry=11479) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1149
#37 0x000055e12f8670ac in int_dotimes (num=200001) at /tmp/ruby/v3/src/trunk-mjit/include/ruby/internal/arithmetic/long.h:95
#38 0x000055e12f999bb3 in vm_call_cfunc_with_frame (ec=0x55e131068010, reg_cfp=0x7f024b66fc90, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:2871
#39 0x000055e12f9afa7f 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
#40 vm_exec_core (ec=0x55e131068010, initial=94425654891258) at ../../src/trunk-mjit/insns.def:770
#41 0x000055e12f9a42fe in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2166
#42 0x000055e12f95d04c in thread_do_start_proc (th=0x55e131067de0) at /tmp/ruby/v3/src/trunk-mjit/thread.c:725
#43 0x000055e12f95fd3f in thread_do_start (th=0x55e131067de0) at /tmp/ruby/v3/src/trunk-mjit/thread.c:766
#44 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/thread.c:822
#45 0x000055e12f96059b in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/thread_pthread.c:994
#46 0x00007f024fa3c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#47 0x00007f024f742293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7f024b871700 (LWP 2519)):
#0 __lll_lock_wait (futex=futex@entry=0x55e130f41970, private=0) at lowlevellock.c:52
#1 0x00007f024fa4107b in __pthread_mutex_cond_lock (mutex=mutex@entry=0x55e130f41970) at ../nptl/pthread_mutex_lock.c:80
#2 0x00007f024fa43260 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e130f41970, cond=0x55e131064d18) at pthread_cond_wait.c:627
#3 __pthread_cond_wait (cond=cond@entry=0x55e131064d18, mutex=mutex@entry=0x55e130f41970) at pthread_cond_wait.c:638
#4 0x000055e12f95ac4d in rb_native_cond_wait (cond=cond@entry=0x55e131064d18, mutex=mutex@entry=0x55e130f41970) at /tmp/ruby/v3/src/trunk-mjit/thread_pthread.c:503
#5 0x000055e12f9c12da in vm_lock_enter (cr=0x55e131064c50, vm=0x55e130f41940, locked=<optimized out>, no_barrier=<optimized out>, lev=0x7f024b770404) at /tmp/ruby/v3/src/trunk-mjit/vm_sync.c:89
#6 0x000055e12f7a2e4a in rb_vm_lock_enter (file=<synthetic pointer>, line=421, lev=0x7f024b770404) at /tmp/ruby/v3/src/trunk-mjit/vm_sync.h:71
#7 rb_enc_from_index (index=2) at /tmp/ruby/v3/src/trunk-mjit/encoding.c:421
#8 rb_enc_get (obj=obj@entry=139647573417000) at /tmp/ruby/v3/src/trunk-mjit/encoding.c:1069
#9 0x000055e12f940c7a in rb_str_resize (str=str@entry=139647573417000, len=4) at /tmp/ruby/v3/src/trunk-mjit/string.c:2849
#10 0x000055e12f940f91 in rb_fstring (str=139647573417000) at /tmp/ruby/v3/src/trunk-mjit/include/ruby/internal/core/rstring.h:128
#11 rb_fstring (str=139647573417000) at /tmp/ruby/v3/src/trunk-mjit/string.c:353
#12 str_uminus (str=139647573417000) at /tmp/ruby/v3/src/trunk-mjit/string.c:2783
#13 0x000055e12f999bb3 in vm_call_cfunc_with_frame (ec=0x55e131065360, reg_cfp=0x7f024b870c20, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:2871
#14 0x000055e12f9af934 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-mjit/vm_callinfo.h:336
#15 vm_exec_core (ec=0x55e131065360, initial=128) at ../../src/trunk-mjit/insns.def:789
#16 0x000055e12f9a42fe in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2166
#17 0x000055e12f9a7c2f in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94425677453040, iseq=0x55e130f65d58, ec=0x55e131065360) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1266
#18 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x7f024b7707e8, argc=1, self=94425677453040, captured=<optimized out>, ec=0x55e131065360) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1338
#19 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:1356
#20 vm_yield (argc=1, kw_splat=0, argv=0x7f024b7707e8, ec=0x55e131065360) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1401
#21 rb_yield_0 (argv=0x7f024b7707e8, argc=1) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1143
#22 rb_yield_1 (val=<optimized out>, val@entry=14783) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1149
#23 0x000055e12f8670ac in int_dotimes (num=200001) at /tmp/ruby/v3/src/trunk-mjit/include/ruby/internal/arithmetic/long.h:95
#24 0x000055e12f999bb3 in vm_call_cfunc_with_frame (ec=0x55e131065360, reg_cfp=0x7f024b870c90, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:2871
#25 0x000055e12f9a5659 in vm_call_method_each_type (ec=0x55e131065360, cfp=0x7f024b870c90, calling=0x7f024b770a60) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3361
#26 0x000055e12f9a5d64 in vm_call_method (ec=0x55e131065360, cfp=0x7f024b870c90, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3479
#27 0x000055e12f9afa7f 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
#28 vm_exec_core (ec=0x55e131065360, initial=128) at ../../src/trunk-mjit/insns.def:770
#29 0x000055e12f9a42fe in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2166
#30 0x000055e12f95d04c in thread_do_start_proc (th=0x55e131065170) at /tmp/ruby/v3/src/trunk-mjit/thread.c:725
#31 0x000055e12f95fd3f in thread_do_start (th=0x55e131065170) at /tmp/ruby/v3/src/trunk-mjit/thread.c:766
#32 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/thread.c:822
#33 0x000055e12f96059b in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/thread_pthread.c:994
#34 0x00007f024fa3c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#35 0x00007f024f742293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7f024c072700 (LWP 2516)):
#0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e12fae6b28 <mjit_gc_wakeup+40>) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e12fae6c00 <mjit_engine_mutex>, cond=0x55e12fae6b00 <mjit_gc_wakeup>) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=cond@entry=0x55e12fae6b00 <mjit_gc_wakeup>, mutex=mutex@entry=0x55e12fae6c00 <mjit_engine_mutex>) at pthread_cond_wait.c:638
#3 0x000055e12f95ac4d in rb_native_cond_wait (cond=cond@entry=0x55e12fae6b00 <mjit_gc_wakeup>, mutex=mutex@entry=0x55e12fae6c00 <mjit_engine_mutex>) at /tmp/ruby/v3/src/trunk-mjit/thread_pthread.c:503
#4 0x000055e12f837712 in get_from_list (list=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/mjit_worker.c:505
#5 mjit_worker () at /tmp/ruby/v3/src/trunk-mjit/mjit_worker.c:1404
#6 0x000055e12f95566e in mjit_worker (arg=0x55e12f837230 <mjit_worker>) at /tmp/ruby/v3/src/trunk-mjit/thread_pthread.c:1941
#7 0x00007f024fa3c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8 0x00007f024f742293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7f024f61eb80 (LWP 2515)):
#0 __lll_lock_wait (futex=futex@entry=0x55e130f41970, private=0) at lowlevellock.c:52
#1 0x00007f024fa3f0a3 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x55e130f41970) at ../nptl/pthread_mutex_lock.c:80
#2 0x000055e12f95a23d in rb_native_mutex_lock (lock=lock@entry=0x55e130f41970) at /tmp/ruby/v3/src/trunk-mjit/thread_pthread.c:397
#3 0x000055e12f9c1226 in vm_lock_enter (cr=0x55e130f428e0, vm=0x55e130f41940, locked=<optimized out>, no_barrier=<optimized out>, lev=0x7ffcb489b5c4) at /tmp/ruby/v3/src/trunk-mjit/vm_sync.c:56
#4 0x000055e12f8c9fe5 in rb_vm_lock_enter (file=0x55e12fa06f80 "/tmp/ruby/v3/src/trunk-mjit/ractor.c", line=1573, lev=0x7ffcb489b5c4) at /tmp/ruby/v3/src/trunk-mjit/vm_sync.h:71
#5 rb_ractor_blocking_threads_dec (cr=0x55e130f428e0, file=file@entry=0x55e12fa10a38 "/tmp/ruby/v3/src/trunk-mjit/thread.c", line=line@entry=1639) at /tmp/ruby/v3/src/trunk-mjit/ractor.c:1573
#6 0x000055e12f96214e in blocking_region_end (region=0x7ffcb489b640, th=0x55e130f41e40) at /tmp/ruby/v3/src/trunk-mjit/thread.c:1639
#7 rb_nogvl (func=func@entry=0x55e12f8c4cc0 <ractor_sleep_wo_gvl>, data1=data1@entry=0x55e130f428e0, ubf=<optimized out>, ubf@entry=0x55e12f8c4bf0 <ractor_sleep_interrupt>, data2=<optimized out>, data2@entry=0x55e130f428e0, flags=flags@entry=2) at /tmp/ruby/v3/src/trunk-mjit/thread.c:1669
#8 0x000055e12f8c8aaf in ractor_sleep (ec=0x55e130f426d0, cr=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/ractor.c:494
#9 ractor_select (ec=<optimized out>, rs=<optimized out>, alen=1, yielded_value=<optimized out>, move=<optimized out>, ret_r=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/ractor.c:947
#10 0x000055e12f8c8b78 in ractor_take (r=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/ractor.c:1047
#11 builtin_inline_class_132 (ec=<optimized out>, self=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/ractor.rb:133
#12 0x000055e12f9b1417 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:5502
#13 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:5502
#14 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:5490
#15 vm_exec_core (ec=0x55e130f426d0, initial=128) at ../../src/trunk-mjit/insns.def:1492
#16 0x000055e12f9a42fe in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2166
#17 0x000055e12f9a7f5e in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94425678070840, iseq=0x55e130f65f88, ec=0x55e130f426d0) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1266
#18 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x7ffcb489ba30, argc=1, self=94425678070840, captured=<optimized out>, ec=0x55e130f426d0) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1338
#19 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:1356
#20 vm_yield (argc=1, kw_splat=0, argv=0x7ffcb489ba30, ec=0x55e130f426d0) at /tmp/ruby/v3/src/trunk-mjit/vm.c:1401
#21 rb_yield_0 (argv=0x7ffcb489ba30, argc=1) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1143
#22 rb_yield_1 (val=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1149
#23 rb_yield (val=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_eval.c:1159
#24 0x000055e12f7298e6 in rb_ary_collect (ary=94425677453760) at /tmp/ruby/v3/src/trunk-mjit/include/ruby/internal/core/rarray.h:172
#25 0x000055e12f999bb3 in vm_call_cfunc_with_frame (ec=0x55e130f426d0, reg_cfp=0x7f024f61cfa0, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:2871
#26 0x000055e12f9a5659 in vm_call_method_each_type (ec=0x55e130f426d0, cfp=0x7f024f61cfa0, calling=0x7ffcb489bcd0) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3361
#27 0x000055e12f9a5d64 in vm_call_method (ec=0x55e130f426d0, cfp=0x7f024f61cfa0, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/vm_insnhelper.c:3479
#28 0x000055e12f9afa7f 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
#29 vm_exec_core (ec=0x55e130f426d0, initial=128) at ../../src/trunk-mjit/insns.def:770
#30 0x000055e12f9a42fe in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-mjit/vm.c:2166
#31 0x000055e12f7c071d in rb_ec_exec_node (ec=ec@entry=0x55e130f426d0, n=n@entry=0x55e130f66050) at /tmp/ruby/v3/src/trunk-mjit/eval.c:317
#32 0x000055e12f7c532f in ruby_run_node (n=0x55e130f66050) at /tmp/ruby/v3/src/trunk-mjit/eval.c:375
#33 0x000055e12f71f183 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit/main.c:50
>>> Dump Ruby level backtrace
Exception ignored in: <gdb._GdbOutputFile object at 0x7f56366ac610>
Traceback (most recent call last):
[Inferior 1 (process 2515) detached]
File "/usr/share/gdb/python/gdb/__init__.py", line 43, in flush
def flush(self):
KeyboardInterrupt:
[nil, 2515]
"timeout 60 gdb -p 29686 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
Fstderr output is not empty
th: 0x55e130f41e40, native_id: 0x7f024f61eb80
-- Control frame information -----------------------------------------------
c:0005 p:0003 s:0019 e:000018 METHOD <internal:ractor>:132
me:
[New LWP 29688]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
26 ../sysdeps/unix/sysv/linux/read.c: No such file or directory.
__GI___libc_read (nbytes=8192, buf=0x5618b3a8dd10, fd=6) at ../sysdeps/unix/sysv/linux/read.c:26
>>> Threads Id Target Id Frame
* 1 Thread 0x7f1530a6d740 (LWP 29686) "ruby" __GI___libc_read (nbytes=8192, buf=0x5618b3a8dd10, fd=6) at ../sysdeps/unix/sysv/linux/read.c:26
2 Thread 0x7f152d513700 (LWP 29688) "runner.rb:476" __GI___libc_read (nbytes=8192, buf=0x7f1528005920, fd=5) at ../sysdeps/unix/sysv/linux/read.c:26
>>> Machine level backtrace
Thread 2 (Thread 0x7f152d513700 (LWP 29688)):
#0 __GI___libc_read (nbytes=8192, buf=0x7f1528005920, fd=5) at ../sysdeps/unix/sysv/linux/read.c:26
#1 __GI___libc_read (fd=5, buf=0x7f1528005920, nbytes=8192) at ../sysdeps/unix/sysv/linux/read.c:24
#2 0x00007f1530f78799 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#3 0x00007f15310853ff in rb_thread_io_blocking_region () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#4 0x00007f1530f7f3ea in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#5 0x00007f1530f52797 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#6 0x00007f1530f7a1ac in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#7 0x00007f1530f7eb66 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#8 0x00007f1530f81bbb in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#9 0x00007f15310b4026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#10 0x00007f15310a7406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#11 0x00007f15310b80ba in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#12 0x00007f15310be870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#13 0x00007f15310c2336 in rb_vm_invoke_proc () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#14 0x00007f1531083ac3 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#15 0x00007f1531085c10 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#16 0x00007f153108604d in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#17 0x00007f1530c9a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#18 0x00007f1530dd6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7f1530a6d740 (LWP 29686)):
#0 __GI___libc_read (nbytes=8192, buf=0x5618b3a8dd10, fd=6) at ../sysdeps/unix/sysv/linux/read.c:26
#1 __GI___libc_read (fd=6, buf=0x5618b3a8dd10, nbytes=8192) at ../sysdeps/unix/sysv/linux/read.c:24
#2 0x00007f1530f78799 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#3 0x00007f15310853ff in rb_thread_io_blocking_region () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#4 0x00007f1530f7f3ea in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#5 0x00007f1530f52797 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#6 0x00007f1530f7a1ac in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#7 0x00007f1530f7eb66 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#8 0x00007f1530f8af77 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#9 0x00007f15310b4026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#10 0x00007f15310a7406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#11 0x00007f15310b80ba in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#12 0x00007f15310be870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#13 0x00007f1530f98663 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#14 0x00007f1530f9880b in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#15 0x00007f15310b4026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#16 0x00007f15310a7406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#17 0x00007f15310b80ba in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#18 0x00007f15310be870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#19 0x00007f15310cb9f1 in rb_yield () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#20 0x00007f1530ed345c in rb_ary_each () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#21 0x00007f15310b4026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#22 0x00007f15310c0dab in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#23 0x00007f15310a7406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#24 0x00007f15310b8131 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#25 0x00007f15310be870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#26 0x00007f15310cb9f1 in rb_yield () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#27 0x00007f1530f52797 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#28 0x00007f1530f32ebf in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#29 0x00007f15310b4026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#30 0x00007f15310c0dab in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#31 0x00007f15310a7406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#32 0x00007f15310b8131 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#33 0x00007f15310be870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#34 0x00007f1530f4f491 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#35 0x00007f1530f542ee in ruby_run_node () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#36 0x00005618b1c3217f in ?? ()
#37 0x00007f1530cdb0b3 in __libc_start_main (main=0x5618b1c32120, argc=4, argv=0x7ffc4d8f8638, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc4d8f8628) at ../csu/libc-start.c:308
#38 0x00005618b1c321ce in _start ()
>>> Dump Ruby level backtrace
/home/ko1/ruby/build-ruby/gdbscript:12: Error in sourced command file:
No symbol "rb_vmdebug_stack_dump_all_threads" in current context.
[Inferior 1 (process 29686) detached]
[nil, 29686]
"timeout 60 gdb -p 29680 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
make: *** [uncommon.mk:761: yes-btest] 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, 29680]
#<Errno::ESRCH: No such process>
"timeout 60 gdb -p 29679 -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 29679 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, 29679]
0.008000 0.000000 10858.800000 (10860.817014)
/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:308:in `block in test_btest'
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:307:in `test_btest'
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: 10886.84 sec