rev: f7dc4d5cda
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-wait.20210112-075650
#<BuildRuby:0x000055e82fb4f2b8
@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-wait",
@TARGET_INSTALL_DIR="/tmp/ruby/v3/install/trunk-mjit-wait",
@TARGET_NAME="trunk-mjit-wait",
@TARGET_SRC_DIR="/tmp/ruby/v3/src/trunk-mjit-wait",
@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-wait.20210112-075650",
@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 --jit-wait --jit-warnings --jit-min-calls=5\"",
@timeout=18000>
user system total real
checkout 0.000000 0.000000 0.000000 ( 0.000020)
autoconf 0.000000 0.000000 0.000000 ( 0.000040)
configure 0.000000 0.000000 0.000000 ( 0.000035)
build_up 0.012000 0.000000 10.228000 ( 6.843317)
build_miniruby 0.004000 0.000000 0.144000 ( 0.165560)
build_ruby 0.000000 0.000000 0.148000 ( 0.189341)
build_all 0.008000 0.004000 45.500000 ( 13.548073)
build_install 0.020000 0.004000 49.860000 ( 15.864915)
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-wait --incremental --process-num=6
11 8552 11 11 ? -1 Sl 1001 0:00 ruby ./br.rb build_report trunk-mjit-wait --incremental --process-num=6
8552 8554 11 11 ? -1 S 1001 0:00 sh -c ruby /home/ko1/ruby/build-ruby/build-ruby.rb --target_name=trunk-mjit-wait --logfile=/home/ko1/ruby/logs/brlog.trunk-mjit-wait.20210112-075650 --root_dir=/tmp/ruby --timeout=18000 --configure_opts=cppflags="-DMJIT_FORCE_ENABLE" --add-env=RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE=30 --test_opts='RUN_OPTS="--disable-gems --jit-debug=-ggdb3 --jit-wait --jit-warnings --jit-min-calls=5"' --incremental --process-num=6
8554 8555 11 11 ? -1 Sl 1001 0:00 ruby /home/ko1/ruby/build-ruby/build-ruby.rb --target_name=trunk-mjit-wait --logfile=/home/ko1/ruby/logs/brlog.trunk-mjit-wait.20210112-075650 --root_dir=/tmp/ruby --timeout=18000 --configure_opts=cppflags=-DMJIT_FORCE_ENABLE --add-env=RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE=30 --test_opts=RUN_OPTS="--disable-gems --jit-debug=-ggdb3 --jit-wait --jit-warnings --jit-min-calls=5" --incremental --process-num=6
8555 9602 11 11 ? -1 S 1001 0:00 sh -c make yes-btest RUN_OPTS="--disable-gems --jit-debug=-ggdb3 --jit-wait --jit-warnings --jit-min-calls=5"
9602 9603 11 11 ? -1 S 1001 0:00 make yes-btest RUN_OPTS=--disable-gems --jit-debug=-ggdb3 --jit-wait --jit-warnings --jit-min-calls=5
9603 9609 11 11 ? -1 Sl 1001 0:01 /usr/bin/ruby --disable=gems /tmp/ruby/v3/src/trunk-mjit-wait/bootstraptest/runner.rb --ruby=./miniruby -I/tmp/ruby/v3/src/trunk-mjit-wait/lib -I. -I.ext/common --disable-gems --jit-debug=-ggdb3 --jit-wait --jit-warnings --jit-min-calls=5
9609 15272 11 11 ? -1 Sl 1001 286:21 /tmp/ruby/v3/build/trunk-mjit-wait/miniruby -I/tmp/ruby/v3/src/trunk-mjit-wait/lib -I/tmp/ruby/v3/build/trunk-mjit-wait -I/tmp/ruby/v3/build/trunk-mjit-wait/.ext/common --disable-gems --jit-debug=-ggdb3 --jit-wait --jit-warnings --jit-min-calls=5 -W0 bootstraptest.tmp.rb
8555 15293 11 11 ? -1 R 1001 0:00 ps jx
{10=>[11], 11=>[8552], 8552=>[8554], 8554=>[8555], 8555=>[9602, 15293], 9602=>[9603], 9603=>[9609], 9609=>[15272]}
"timeout 60 gdb -p 15272 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
[New LWP 15273]
[New LWP 15276]
[New LWP 15277]
[New LWP 15278]
[New LWP 15279]
warning: Could not load shared library symbols for 2 libraries, e.g. /tmp/_ruby_mjit_p15272u0.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=0x55b53ae4eb60 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
>>> Threads Id Target Id Frame
* 1 Thread 0x7f01ac727b80 (LWP 15272) "miniruby" __lll_lock_wait (futex=futex@entry=0x55b53ae4eb60 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
2 Thread 0x7f01a917b700 (LWP 15273) "ruby-mjitworker" 0x000055b53ab9ba6a in get_from_list (list=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/ccan/list/list.h:761
3 Thread 0x7f01a897a700 (LWP 15276) "miniruby" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b53b8c301c) at ../sysdeps/nptl/futex-internal.h:183
4 Thread 0x7f01a8779700 (LWP 15277) "miniruby" __lll_lock_wait (futex=futex@entry=0x55b53ae4eb60 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
5 Thread 0x7f01a8578700 (LWP 15278) "miniruby" __lll_lock_wait (futex=futex@entry=0x55b53ae4eb60 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
6 Thread 0x7f01a8377700 (LWP 15279) "miniruby" __lll_lock_wait (futex=futex@entry=0x55b53ae4eb60 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
>>> Machine level backtrace
Thread 6 (Thread 0x7f01a8377700 (LWP 15279)):
#0 __lll_lock_wait (futex=futex@entry=0x55b53ae4eb60 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
#1 0x00007f01acb480a3 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x55b53ae4eb60 <mjit_engine_mutex>) at ../nptl/pthread_mutex_lock.c:80
#2 0x000055b53acbec4d in rb_native_mutex_lock (lock=lock@entry=0x55b53ae4eb60 <mjit_engine_mutex>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:397
#3 0x000055b53ab99a7a in CRITICAL_SECTION_START (level=3, msg=0x55b53ad47c20 "in rb_mjit_wait_call for a client wakeup") at /tmp/ruby/v3/src/trunk-mjit-wait/mjit_worker.c:442
#4 mjit_wait (body=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.c:315
#5 0x000055b53ab9c9c5 in rb_mjit_wait_call (ec=0x55b53b8cb9a0, body=0x55b53b8c23f0) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.c:330
#6 0x000055b53ad0a07e in mjit_exec_slowpath (body=0x55b53b8c23f0, iseq=<optimized out>, ec=0x55b53b8cb9a0) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.h:124
#7 mjit_exec (ec=0x55b53b8cb9a0) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.h:163
#8 rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:2161
#9 0x000055b53acc1a47 in thread_do_start_proc (th=0x55b53b8cd440) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:725
#10 0x000055b53acc3e0f in thread_do_start (th=0x55b53b8cd440) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:766
#11 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:822
#12 0x000055b53acc466b in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:994
#13 0x00007f01acb45609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007f01ac84b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 5 (Thread 0x7f01a8578700 (LWP 15278)):
#0 __lll_lock_wait (futex=futex@entry=0x55b53ae4eb60 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
#1 0x00007f01acb480a3 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x55b53ae4eb60 <mjit_engine_mutex>) at ../nptl/pthread_mutex_lock.c:80
#2 0x000055b53acbec4d in rb_native_mutex_lock (lock=lock@entry=0x55b53ae4eb60 <mjit_engine_mutex>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:397
#3 0x000055b53ab99a7a in CRITICAL_SECTION_START (level=3, msg=0x55b53ad47c20 "in rb_mjit_wait_call for a client wakeup") at /tmp/ruby/v3/src/trunk-mjit-wait/mjit_worker.c:442
#4 mjit_wait (body=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.c:315
#5 0x000055b53ab9c9c5 in rb_mjit_wait_call (ec=0x55b53b8c6d00, body=0x55b53b8c23f0) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.c:330
#6 0x000055b53ad0a07e in mjit_exec_slowpath (body=0x55b53b8c23f0, iseq=<optimized out>, ec=0x55b53b8c6d00) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.h:124
#7 mjit_exec (ec=0x55b53b8c6d00) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.h:163
#8 rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:2161
#9 0x000055b53acc1a47 in thread_do_start_proc (th=0x55b53b8ca330) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:725
#10 0x000055b53acc3e0f in thread_do_start (th=0x55b53b8ca330) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:766
#11 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:822
#12 0x000055b53acc466b in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:994
#13 0x00007f01acb45609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007f01ac84b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7f01a8779700 (LWP 15277)):
#0 __lll_lock_wait (futex=futex@entry=0x55b53ae4eb60 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
#1 0x00007f01acb480a3 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x55b53ae4eb60 <mjit_engine_mutex>) at ../nptl/pthread_mutex_lock.c:80
#2 0x000055b53acbec4d in rb_native_mutex_lock (lock=lock@entry=0x55b53ae4eb60 <mjit_engine_mutex>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:397
#3 0x000055b53ab9c8e3 in CRITICAL_SECTION_START (level=3, msg=0x55b53ad47806 "in add_iseq_to_process") at /tmp/ruby/v3/src/trunk-mjit-wait/mjit_worker.c:442
#4 mjit_add_iseq_to_process (compile_info=0x0, iseq=0x55b53b7e4d48) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.c:277
#5 mjit_add_iseq_to_process (compile_info=0x0, iseq=0x55b53b7e4d48) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.c:258
#6 rb_mjit_add_iseq_to_process (iseq=0x55b53b7e4d48) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.c:292
#7 0x000055b53acf7585 in mjit_exec_slowpath (body=0x55b53b8d47c0, iseq=<optimized out>, ec=0x55b53b82a3c0) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.h:122
#8 mjit_exec (ec=0x55b53b82a3c0) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.h:163
#9 0x000055b53ad18528 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-wait/vm_insnhelper.c:4539
#10 vm_exec_core (ec=0x55b53b82a3c0, initial=128) at ../../src/trunk-mjit-wait/insns.def:789
#11 0x000055b53ad0981e in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:2162
#12 0x000055b53acc1a47 in thread_do_start_proc (th=0x55b53b8ccde0) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:725
#13 0x000055b53acc3e0f in thread_do_start (th=0x55b53b8ccde0) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:766
#14 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:822
#15 0x000055b53acc466b in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:994
#16 0x00007f01acb45609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#17 0x00007f01ac84b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7f01a897a700 (LWP 15276)):
#0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b53b8c301c) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55b53b8c2fc8, cond=0x55b53b8c2ff0) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=cond@entry=0x55b53b8c2ff0, mutex=mutex@entry=0x55b53b8c2fc8) at pthread_cond_wait.c:638
#3 0x000055b53acbf65d in rb_native_cond_wait (cond=cond@entry=0x55b53b8c2ff0, mutex=mutex@entry=0x55b53b8c2fc8) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:503
#4 0x000055b53ac282cc in ractor_cond_wait (r=0x55b53b8c2fa0) at /tmp/ruby/v3/src/trunk-mjit-wait/ractor.c:502
#5 ractor_sleep_wo_gvl (ptr=0x55b53b8c2fa0) at /tmp/ruby/v3/src/trunk-mjit-wait/ractor.c:502
#6 0x000055b53acc6a2a in rb_nogvl (func=func@entry=0x55b53ac28280 <ractor_sleep_wo_gvl>, data1=data1@entry=0x55b53b8c2fa0, ubf=<optimized out>, ubf@entry=0x55b53ac28190 <ractor_sleep_interrupt>, data2=<optimized out>, data2@entry=0x55b53b8c2fa0, flags=flags@entry=3) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:1669
#7 0x000055b53ac2cbde in ractor_sleep (ec=0x55b53b8c36e0, cr=0x55b53b8c2fa0) at /tmp/ruby/v3/src/trunk-mjit-wait/ractor.c:566
#8 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-wait/ractor.c:1194
#9 0x000055b53ac2cd50 in ractor_yield (r=<optimized out>, move=<optimized out>, obj=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/include/ruby/internal/special_consts.h:121
#10 builtin_inline_class_627 (ec=<optimized out>, self=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/ractor.rb:628
#11 0x000055b53ad1718a 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-wait/vm_insnhelper.c:5574
#12 vm_invoke_builtin_delegate (start_index=<optimized out>, bf=<optimized out>, cfp=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/vm_insnhelper.c:5574
#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-wait/vm_insnhelper.c:5562
#14 vm_exec_core (ec=0x55b53b8c36e0, initial=128) at ../../src/trunk-mjit-wait/insns.def:1493
#15 0x000055b53ad0981e in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:2162
#16 0x000055b53ad0c6a4 in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94236875375240, iseq=0x55b53b7b4a80, ec=0x55b53b8c36e0) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:1262
#17 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x0, argc=0, self=94236875375240, captured=<optimized out>, ec=0x55b53b8c36e0) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:1334
#18 invoke_block_from_c_bh (argc=<optimized out>, argv=<optimized out>, kw_splat=<optimized out>, passed_block_handler=<optimized out>, cref=<optimized out>, is_lambda=<optimized out>, force_blockarg=<optimized out>, block_handler=<optimized out>, ec=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:1352
#19 vm_yield (argc=0, argv=0x0, kw_splat=0, ec=0x55b53b8c36e0) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:1397
#20 rb_yield_0 (argv=0x0, argc=0) at /tmp/ruby/v3/src/trunk-mjit-wait/vm_eval.c:1171
#21 loop_i (_=_@entry=0) at /tmp/ruby/v3/src/trunk-mjit-wait/vm_eval.c:1270
#22 0x000055b53ab2a872 in rb_vrescue2 (b_proc=0x55b53ad0c3a0 <loop_i>, data1=0, r_proc=0x55b53acf7300 <loop_stop>, data2=0, args=args@entry=0x7f01a8879710) at /tmp/ruby/v3/src/trunk-mjit-wait/eval.c:1019
#23 0x000055b53ab2aace in rb_rescue2 (b_proc=<optimized out>, data1=<optimized out>, r_proc=<optimized out>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/eval.c:996
#24 0x000055b53acfef2b in vm_call_cfunc_with_frame (ec=0x55b53b8c36e0, reg_cfp=0x7f01a8979c90, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/vm_insnhelper.c:2896
#25 0x000055b53ad0ab29 in vm_call_method_each_type (ec=0x55b53b8c36e0, cfp=0x7f01a8979c90, calling=0x7f01a88799a0) at /tmp/ruby/v3/src/trunk-mjit-wait/vm_insnhelper.c:3386
#26 0x000055b53ad0b204 in vm_call_method (ec=0x55b53b8c36e0, cfp=0x7f01a8979c90, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/vm_insnhelper.c:3504
#27 0x000055b53ad02300 in vm_sendish (ec=0x55b53b8c36e0, reg_cfp=0x7f01a8979c90, cd=0x55b53b8c22b0, block_handler=<optimized out>, method_explorer=mexp_search_method) at /tmp/ruby/v3/src/trunk-mjit-wait/vm_callinfo.h:336
#28 0x000055b53ad15258 in vm_exec_core (ec=0x55b53b8c36e0, initial=128) at ../../src/trunk-mjit-wait/insns.def:770
#29 0x000055b53ad0981e in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:2162
#30 0x000055b53acc1a47 in thread_do_start_proc (th=0x55b53b8c34f0) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:725
#31 0x000055b53acc3e0f in thread_do_start (th=0x55b53b8c34f0) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:766
#32 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:822
#33 0x000055b53acc466b in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:994
#34 0x00007f01acb45609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#35 0x00007f01ac84b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7f01a917b700 (LWP 15273)):
#0 0x000055b53ab9ba6a in get_from_list (list=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/ccan/list/list.h:761
#1 mjit_worker () at /tmp/ruby/v3/src/trunk-mjit-wait/mjit_worker.c:1408
#2 0x000055b53acba07e in mjit_worker (arg=0x55b53ab9b5f0 <mjit_worker>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:1941
#3 0x00007f01acb45609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#4 0x00007f01ac84b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7f01ac727b80 (LWP 15272)):
#0 __lll_lock_wait (futex=futex@entry=0x55b53ae4eb60 <mjit_engine_mutex>, private=0) at lowlevellock.c:52
#1 0x00007f01acb480a3 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x55b53ae4eb60 <mjit_engine_mutex>) at ../nptl/pthread_mutex_lock.c:80
#2 0x000055b53acbec4d in rb_native_mutex_lock (lock=lock@entry=0x55b53ae4eb60 <mjit_engine_mutex>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:397
#3 0x000055b53ab9c6e2 in CRITICAL_SECTION_START (level=3, msg=0x55b53ad47991 "in mjit_cont_new") at /tmp/ruby/v3/src/trunk-mjit-wait/mjit_worker.c:442
#4 mjit_cont_new (ec=0x55b53b8e5170) at /tmp/ruby/v3/src/trunk-mjit-wait/mjit.c:186
#5 0x000055b53aaedcd5 in cont_init_mjit_cont (cont=0x55b53b8e5120) at /tmp/ruby/v3/src/trunk-mjit-wait/cont.c:1124
#6 cont_init_mjit_cont (cont=0x55b53b8e5120) at /tmp/ruby/v3/src/trunk-mjit-wait/cont.c:1120
#7 rb_fiber_init_mjit_cont (fiber=0x55b53b8e5120) at /tmp/ruby/v3/src/trunk-mjit-wait/cont.c:1163
#8 rb_threadptr_root_fiber_setup (th=th@entry=0x55b53b8e4f80) at /tmp/ruby/v3/src/trunk-mjit-wait/cont.c:2102
#9 0x000055b53ad1fad5 in th_init (self=94236876644800, th=0x55b53b8e4f80) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:3077
#10 ruby_thread_init (self=94236876644800) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:3077
#11 rb_thread_alloc (klass=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:3090
#12 0x000055b53acc0364 in rb_thread_create_ractor (g=g@entry=0x55b53b8e4a30, args=args@entry=94236876645400, proc=proc@entry=94236876645320) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:1120
#13 0x000055b53ac2866c in ractor_create (ec=0x55b53b7a0680, self=<optimized out>, loc=94236876645120, name=<optimized out>, args=94236876645400, block=94236876645320) at /tmp/ruby/v3/src/trunk-mjit-wait/ractor.c:1569
#14 0x00007f01a81737e9 in ?? ()
#15 0x0000000000000000 in ?? ()
>>> Dump Ruby level backtrace
$1 = 0
">>> Finish
"[Inferior 1 (process 15272) detached]
[nil, 15272]
"timeout 60 gdb -p 9609 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
Fstderr output is not empty
th: 0x55b53b79fe20, native_id: 0x7f01ac727b80
-- Control frame information -----------------------------------------------
c:0008 p:0064 s:0035 e:000034 METHOD <internal:ractor>:266
me:
called_id: new, type: iseq
owner class: 0x000055b53b8162a8 [3LM R ] T_CLASS (annon)
self: 0x000055b53b8162d0 [3LM R ] T_CLASS Ractor
lvars:
args: 0x000055b53b8ea418 [0 ] T_ARRAY (Array)[E ] len: 2 (embed)
name: T_NIL
(null): T_FIXNUM 0
block: 0x000055b53b8ea3c8 [0 ] proc (Proc) block (2 levels) in <main>@bootstraptest.tmp.rb:10
b: 0x000055b53b8ea3c8 [0 ] proc (Proc) block (2 levels) in <main>@bootstraptest.tmp.rb:10
loc: 0x000055b53b8ea300 [0 ] T_STRING (String)bootstraptest.tmp.rb:10
c:0007 p:0017 s:0025 E:000a68 BLOCK bootstraptest.tmp.rb:10 [FINISH]
self: 0x000055b53b85c4b0 [3LM R ] T_OBJECT (embed) len:3
lvars:
i: T_FIXNUM 8
c:0006 p:---- s:0021 e:000020 IFUNC
me:
called_id: map, type: cfunc
owner class: 0x000055b53b857988 [3LM ] T_MODULE (Module)Enumerable
defined_class: 0x000055b53b817e78 [3LM R ] T_ICLASS src:Enumerable
self: 0x000055b53b8ebf70 [0 U] enumerator (Enumerator)enumerator
c:0005 p:---- s:0018 e:000017 CFUNC :times
me:
called_id: times, type: cfunc
owner class: 0x000055b53b84c6a0 [3LM R ] T_CLASS Integer
self: T_FIXNUM 10
c:0004 p:---- s:0015 e:000014 CFUNC :each
me:
called_id: each, type: cfunc
owner class: 0x000055b53b817ec8 [3LM R ] T_CLASS Enumerator
self: 0x000055b53b8ebf70 [0 U] enumerator (Enumerator)enumerator
c:0003 p:---- s:0012 e:000011 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x000055b53b857988 [3LM ] T_MODULE (Module)Enumerable
defined_class: 0x000055b53b817e78 [3LM R ] T_ICLASS src:Enumerable
self: 0x000055b53b8ebf70 [0 U] enumerator (Enumerator)enumerator
c:0002 p:0036 s:0008 E:001ed8 EVAL bootstraptest.tmp.rb:9 [FINISH]
self: 0x000055b53b85c4b0 [3LM R ] T_OBJECT (embed) len:3
lvars:
pipe: 0x000055b53b7b4288 [0 U] ractor (Ractor)r:2
c:0001 p:0000 s:0003 E:001570 (none) [FINISH]
self: 0x000055b53b85c4b0 [3LM R ] T_OBJECT (embed) len:3
[New LWP 9611]
[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=0x55835158a240, fd=6) at ../sysdeps/unix/sysv/linux/read.c:26
>>> Threads Id Target Id Frame
* 1 Thread 0x7fdaab768740 (LWP 9609) "ruby" __GI___libc_read (nbytes=8192, buf=0x55835158a240, fd=6) at ../sysdeps/unix/sysv/linux/read.c:26
2 Thread 0x7fdaa820e700 (LWP 9611) "runner.rb:476" __GI___libc_read (nbytes=8039, buf=0x7fdaa4005589, fd=5) at ../sysdeps/unix/sysv/linux/read.c:26
>>> Machine level backtrace
Thread 2 (Thread 0x7fdaa820e700 (LWP 9611)):
#0 __GI___libc_read (nbytes=8039, buf=0x7fdaa4005589, fd=5) at ../sysdeps/unix/sysv/linux/read.c:26
#1 __GI___libc_read (fd=5, buf=0x7fdaa4005589, nbytes=8039) at ../sysdeps/unix/sysv/linux/read.c:24
#2 0x00007fdaabc73799 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#3 0x00007fdaabd803ff in rb_thread_io_blocking_region () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#4 0x00007fdaabc7a3ea in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#5 0x00007fdaabc4d797 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#6 0x00007fdaabc751ac in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#7 0x00007fdaabc79b66 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#8 0x00007fdaabc7cbbb in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#9 0x00007fdaabdaf026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#10 0x00007fdaabda2406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#11 0x00007fdaabdb30ba in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#12 0x00007fdaabdb9870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#13 0x00007fdaabdbd336 in rb_vm_invoke_proc () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#14 0x00007fdaabd7eac3 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#15 0x00007fdaabd80c10 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#16 0x00007fdaabd8104d in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#17 0x00007fdaab995609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#18 0x00007fdaabad1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7fdaab768740 (LWP 9609)):
#0 __GI___libc_read (nbytes=8192, buf=0x55835158a240, fd=6) at ../sysdeps/unix/sysv/linux/read.c:26
#1 __GI___libc_read (fd=6, buf=0x55835158a240, nbytes=8192) at ../sysdeps/unix/sysv/linux/read.c:24
#2 0x00007fdaabc73799 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#3 0x00007fdaabd803ff in rb_thread_io_blocking_region () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#4 0x00007fdaabc7a3ea in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#5 0x00007fdaabc4d797 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#6 0x00007fdaabc751ac in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#7 0x00007fdaabc79b66 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#8 0x00007fdaabc85f77 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#9 0x00007fdaabdaf026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#10 0x00007fdaabda2406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#11 0x00007fdaabdb30ba in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#12 0x00007fdaabdb9870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#13 0x00007fdaabc93663 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#14 0x00007fdaabc9380b in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#15 0x00007fdaabdaf026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#16 0x00007fdaabda2406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#17 0x00007fdaabdb30ba in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#18 0x00007fdaabdb9870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#19 0x00007fdaabdc69f1 in rb_yield () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#20 0x00007fdaabbce45c in rb_ary_each () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#21 0x00007fdaabdaf026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#22 0x00007fdaabdbbdab in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#23 0x00007fdaabda2406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#24 0x00007fdaabdb3131 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#25 0x00007fdaabdb9870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#26 0x00007fdaabdc69f1 in rb_yield () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#27 0x00007fdaabc4d797 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#28 0x00007fdaabc2debf in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#29 0x00007fdaabdaf026 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#30 0x00007fdaabdbbdab in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#31 0x00007fdaabda2406 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#32 0x00007fdaabdb3131 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#33 0x00007fdaabdb9870 in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#34 0x00007fdaabc4a491 in ?? () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#35 0x00007fdaabc4f2ee in ruby_run_node () from /lib/x86_64-linux-gnu/libruby-2.7.so.2.7
#36 0x000055834fe0a17f in ?? ()
#37 0x00007fdaab9d60b3 in __libc_start_main (main=0x55834fe0a120, argc=4, argv=0x7ffd2db62ef8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd2db62ee8) at ../csu/libc-start.c:308
#38 0x000055834fe0a1ce 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 9609) detached]
[nil, 9609]
"timeout 60 gdb -p 9603 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
make: *** [uncommon.mk:763: 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, 9603]
#<Errno::ESRCH: No such process>
"timeout 60 gdb -p 9602 -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 9602 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, 9602]
"timeout 60 gdb -p 15293 -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, 15293]
#<Errno::ESRCH: No such process>
0.008000 0.000000 17995.168000 (18001.838092)
/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: 18038.45 sec