rev: 012cafa5c7
test-all :
test-spec:
exit statuses:
"git clone --depth 1 https://github.com/ruby/ruby.git trunk-mjit-wait" exit with 0.
"autoconf" exit with 0.
"/tmp/ruby/v3/src/trunk-mjit-wait/configure --prefix=/tmp/ruby/v3/install/trunk-mjit-wait --disable-install-doc cppflags=-DMJIT_FORCE_ENABLE" exit with 0.
"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 512.
"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 --jit-wait --jit-warnings --jit-min-calls=5\"" exit with 0.
"make yes-test-basic RUN_OPTS=\"--disable-gems --jit-debug=-ggdb3 --jit-wait --jit-warnings --jit-min-calls=5\"" exit with 0.
Logfile: /home/ko1/ruby/logs/brlog.trunk-mjit-wait.20211019-024449
#<BuildRuby:0x000055e290630448
@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.20211019-024449",
@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 Cloning into 'trunk-mjit-wait'...
0.000000 0.004000 2.780000 ( 6.413402)
autoconf 0.000000 0.000000 1.868000 ( 1.894889)
configure configure: WARNING: something wrong with CXXFLAGS=""
0.124000 0.032000 40.124000 ( 53.269382)
build_up + cp /tmp/ruby/v3/src/trunk-mjit-wait/enc/jis/props.h.blt /tmp/ruby/v3/src/trunk-mjit-wait/enc/jis/props.h
make[1]: *** No rule to make target 'id.h', needed by 'ripper.y'. Stop.
make: *** [uncommon.mk:1193: /tmp/ruby/v3/src/trunk-mjit-wait/ext/ripper/ripper.c] Error 2
make: *** Waiting for unfinished jobs....
0.012000 0.008000 9.984000 ( 25.026735)
build_miniruby 0.016000 0.000000 5.508000 ( 2.516557)
build_ruby 0.004000 0.000000 3.100000 ( 2.975680)
build_all 0.124000 0.012000 239.276000 ( 59.003799)
build_install 0.020000 0.012000 14.044000 ( 5.767933)
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 1491 tests
0.004000 0.000000 881.264000 (859.901285)
test_basic 0.012000 0.000000 5.656000 ( 4.514614)
test_all MJIT warning: Skipped to compile unsupported instruction: defineclass
MJIT warning: Skipped to compile unsupported instruction: defineclass
MJIT warning: Skipped to compile unsupported instruction: defineclass
#<Thread:0x00007fdbcf4cfba0 /tmp/ruby/v3/src/trunk-mjit-wait/test/net/http/test_https.rb:274 run> terminated with exception (report_on_exception is true):
/tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit/assertions.rb:109:in `assert': [Net::OpenTimeout] exception expected, not #<Errno::ECONNREFUSED: Failed to open TCP connection to localhost:46881 (Connection refused - connect(2) for 127.0.0.1:46881)>. (Test::Unit::AssertionFailedError)
from /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/core_assertions.rb:484:in `assert'
from /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit/assertions.rb:352:in `flunk'
from /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/core_assertions.rb:398:in `block in assert_raise'
from /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit/assertions.rb:108:in `assert'
from /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/core_assertions.rb:484:in `assert'
from /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/core_assertions.rb:397:in `rescue in assert_raise'
from /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/core_assertions.rb:385:in `assert_raise'
from /tmp/ruby/v3/src/trunk-mjit-wait/test/net/http/test_https.rb:275:in `block (2 levels) in test_timeout_during_SSL_handshake'
/tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:1214:in `__connect_nonblock': Failed to open TCP connection to localhost:46881 (Connection refused - connect(2) for 127.0.0.1:46881) (Errno::ECONNREFUSED)
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:1214:in `connect_nonblock'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:56:in `connect_internal'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:137:in `connect'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:642:in `block in tcp'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:227:in `each'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:227:in `foreach'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:632:in `tcp'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:990:in `connect'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:968:in `do_start'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:957:in `start'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:1521:in `request'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:1279:in `get'
from /tmp/ruby/v3/src/trunk-mjit-wait/test/net/http/test_https.rb:276:in `block (3 levels) in test_timeout_during_SSL_handshake'
from /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/core_assertions.rb:384:in `assert_raise'
from /tmp/ruby/v3/src/trunk-mjit-wait/test/net/http/test_https.rb:275:in `block (2 levels) in test_timeout_during_SSL_handshake'
/tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:1214:in `__connect_nonblock': Connection refused - connect(2) for 127.0.0.1:46881 (Errno::ECONNREFUSED)
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:1214:in `connect_nonblock'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:56:in `connect_internal'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:137:in `connect'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:642:in `block in tcp'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:227:in `each'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:227:in `foreach'
from /tmp/ruby/v3/build/trunk-mjit-wait/.ext/common/socket.rb:632:in `tcp'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:990:in `connect'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:968:in `do_start'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:957:in `start'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:1521:in `request'
from /tmp/ruby/v3/src/trunk-mjit-wait/lib/net/http.rb:1279:in `get'
from /tmp/ruby/v3/src/trunk-mjit-wait/test/net/http/test_https.rb:276:in `block (3 levels) in test_timeout_during_SSL_handshake'
from /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/core_assertions.rb:384:in `assert_raise'
from /tmp/ruby/v3/src/trunk-mjit-wait/test/net/http/test_https.rb:275:in `block (2 levels) in test_timeout_during_SSL_handshake'
MJIT warning: Skipped to compile unsupported instruction: defineclass
MJIT warning: Skipped to compile unsupported instruction: defineclass
$$$ #<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 7683 11 11 ? -1 Sl 1001 0:00 ruby ./br.rb build_report trunk-mjit-wait --incremental --process-num=6
7683 7685 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.20211019-024449 --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
7685 7686 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.20211019-024449 --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
7686 27196 11 11 ? -1 S 1001 0:00 sh -c make yes-test-all RUN_OPTS="--disable-gems --jit-debug=-ggdb3 --jit-wait --jit-warnings --jit-min-calls=5"
27196 27197 11 11 ? -1 S 1001 0:00 make yes-test-all RUN_OPTS=--disable-gems --jit-debug=-ggdb3 --jit-wait --jit-warnings --jit-min-calls=5
27197 27276 11 11 ? -1 Sl 1001 3:37 /tmp/ruby/v3/src/trunk-mjit-wait/test/runner.rb: TestFiberMutex#test_condition_variable
7686 32319 11 11 ? -1 R 1001 0:00 ps jx
{10=>[11], 11=>[7683], 7683=>[7685], 7685=>[7686], 7686=>[27196, 32319], 27196=>[27197], 27197=>[27276]}
"timeout 60 gdb -p 27276 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
[New LWP 1460]
[New LWP 31946]
warning: Could not load shared library symbols for 5983 libraries, e.g. /tmp/_ruby_mjit_p27276u0.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".
44 ../sysdeps/unix/sysv/linux/ppoll.c: No such file or directory.
0x00007fdbda9debf6 in __ppoll (fds=fds@entry=0x7ffe6ca5d308, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
>>> Threads Id Target Id Frame
* 1 Thread 0x7fdbda8c7b80 (LWP 27276) "ruby" 0x00007fdbda9debf6 in __ppoll (fds=fds@entry=0x7ffe6ca5d308, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
2 Thread 0x7fdbce300700 (LWP 1460) "ruby-mjitworker" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a5322e87ec <mjit_worker_wakeup+44>) at ../sysdeps/nptl/futex-internal.h:183
3 Thread 0x7fdbcec21700 (LWP 31946) "test_mutex.rb:*" 0x00007fdbda9e112b in __GI___select (nfds=nfds@entry=8, readfds=readfds@entry=0x7fdba00164c0, writefds=writefds@entry=0x7fdba0004830, exceptfds=exceptfds@entry=0x7fdba0012490, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
>>> Machine level backtrace
Thread 3 (Thread 0x7fdbcec21700 (LWP 31946)):
#0 0x00007fdbda9e112b in __GI___select (nfds=nfds@entry=8, readfds=readfds@entry=0x7fdba00164c0, writefds=writefds@entry=0x7fdba0004830, exceptfds=exceptfds@entry=0x7fdba0012490, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x000055a5320bdd5b in rb_fd_select (timeout=<optimized out>, exceptfds=0x7fdba0012490, writefds=0x7fdba0004830, readfds=0x7fdba00164c0, n=8) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:4083
#2 native_fd_select (th=<optimized out>, timeout=<optimized out>, exceptfds=0x7fdba0012490, writefds=0x7fdba0004830, readfds=0x7fdba00164c0, n=8) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:1239
#3 do_select (p=p@entry=140582042338768) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:4257
#4 0x000055a531f236b4 in rb_ensure (b_proc=b_proc@entry=0x55a5320bda70 <do_select>, data1=data1@entry=140582042338768, e_proc=e_proc@entry=0x55a5320b1fe0 <select_set_free>, data2=data2@entry=140582042338768) at /tmp/ruby/v3/src/trunk-mjit-wait/eval.c:993
#5 0x000055a5320c062e in rb_thread_fd_select (max=max@entry=8, read=read@entry=0x7fdbceb20890, write=write@entry=0x7fdbceb208a0, except=except@entry=0x7fdbceb208b0, timeout=timeout@entry=0x0) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:4348
#6 0x000055a531f656cd in select_internal (fds=<optimized out>, tp=0x0, except=<optimized out>, write=<optimized out>, read=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/io.c:9471
#7 select_call (arg=arg@entry=140582042339440) at /tmp/ruby/v3/src/trunk-mjit-wait/io.c:9541
#8 0x000055a531f236b4 in rb_ensure (b_proc=b_proc@entry=0x55a531f65440 <select_call>, data1=data1@entry=140582042339440, e_proc=e_proc@entry=0x55a531f5fc40 <select_end>, data2=data2@entry=140582042339440) at /tmp/ruby/v3/src/trunk-mjit-wait/eval.c:993
#9 0x000055a531f5fb81 in rb_f_select (argc=<optimized out>, argv=<optimized out>, obj=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/io.c:9889
#10 0x000055a5320f6ccb in vm_call_cfunc_with_frame (ec=0x55a53abc7eb0, reg_cfp=0x7fdbcec20bb8, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/vm_insnhelper.c:2982
#11 0x000055a532111353 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_callinfo.h:335
#12 vm_exec_core (ec=0x55a53abc7eb0, initial=140581259011264) at ../../src/trunk-mjit-wait/insns.def:777
#13 0x000055a532101ede in rb_vm_exec (ec=<optimized out>, mjit_enable_p=true) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:2161
#14 0x000055a5321099e3 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x55a53abc80c0, argc=argc@entry=0, argv=argv@entry=0x7fdbceb20c00, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:1486
#15 0x000055a5320b983d in thread_do_start_proc (th=0x55a53abc8130) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:737
#16 0x000055a5320bbd3c in thread_do_start (th=0x55a53abc8130) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:756
#17 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:830
#18 0x000055a5320bc66b in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:1047
#19 0x00007fdbdace5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#20 0x00007fdbda9eb293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7fdbce300700 (LWP 1460)):
#0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a5322e87ec <mjit_worker_wakeup+44>) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a5322e8880 <mjit_engine_mutex>, cond=0x55a5322e87c0 <mjit_worker_wakeup>) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=cond@entry=0x55a5322e87c0 <mjit_worker_wakeup>, mutex=mutex@entry=0x55a5322e8880 <mjit_engine_mutex>) at pthread_cond_wait.c:638
#3 0x000055a5320b73cd in rb_native_cond_wait (cond=cond@entry=0x55a5322e87c0 <mjit_worker_wakeup>, mutex=mutex@entry=0x55a5322e8880 <mjit_engine_mutex>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:545
#4 0x000055a531f969ab in mjit_worker () at /tmp/ruby/v3/src/trunk-mjit-wait/mjit_worker.c:1438
#5 0x000055a5320b1b3e in mjit_worker (arg=0x55a531f96890 <mjit_worker>) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:2015
#6 0x00007fdbdace5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7 0x00007fdbda9eb293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7fdbda8c7b80 (LWP 27276)):
#0 0x00007fdbda9debf6 in __ppoll (fds=fds@entry=0x7ffe6ca5d308, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1 0x000055a5320b8460 in rb_sigwait_sleep (th=th@entry=0x55a533922e20, sigwait_fd=sigwait_fd@entry=3, rel=rel@entry=0x0) at /tmp/ruby/v3/src/trunk-mjit-wait/hrtime.h:148
#2 0x000055a5320bd09f in native_sleep (th=th@entry=0x55a533922e20, rel=0x0) at /tmp/ruby/v3/src/trunk-mjit-wait/thread_pthread.c:2229
#3 0x000055a5320bd41e in thread_join_sleep (arg=arg@entry=140730721228032) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:1194
#4 0x000055a531f236b4 in rb_ensure (b_proc=b_proc@entry=0x55a5320bd370 <thread_join_sleep>, data1=data1@entry=140730721228032, e_proc=e_proc@entry=0x55a5320b1760 <remove_from_join_list>, data2=data2@entry=140730721228032) at /tmp/ruby/v3/src/trunk-mjit-wait/eval.c:993
#5 0x000055a5320b5fff in thread_join (limit=0x0, timeout=8, target_th=0x55a53abc8130) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:1245
#6 thread_join_m (argc=<optimized out>, argv=<optimized out>, self=140582055933240) at /tmp/ruby/v3/src/trunk-mjit-wait/thread.c:1344
#7 0x000055a5320f6ccb in vm_call_cfunc_with_frame (ec=0x55a533923670, reg_cfp=0x7fdbda8c5a28, calling=<optimized out>) at /tmp/ruby/v3/src/trunk-mjit-wait/vm_insnhelper.c:2982
#8 0x000055a532111353 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_callinfo.h:335
#9 vm_exec_core (ec=0x55a533923670, initial=1) at ../../src/trunk-mjit-wait/insns.def:777
#10 0x000055a532101ede in rb_vm_exec (ec=<optimized out>, mjit_enable_p=false) at /tmp/ruby/v3/src/trunk-mjit-wait/vm.c:2161
#11 0x00007fdbcf0e89ba in ?? ()
#12 0x00007ffe6ca5d6a0 in ?? ()
#13 0x00007ffe6ca5d6d0 in ?? ()
#14 0x0000000000000000 in ?? ()
>>> Dump Ruby level backtrace
th: 0x55a533922e20, native_id: 0x7fdbda8c7b80
-- Control frame information -----------------------------------------------
c:0028 p:---- s:0162 e:000161 CFUNC :join
me:
called_id: join, type: cfunc
owner class: 0x00007fdbda78f3d0 [3LM ] T_CLASS Thread
self: 0x00007fdbcf817538 [0 U] VM/thread (Thread)VM/thread
c:0027 p:0051 s:0158 E:001aa8 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/test/fiber/test_mutex.rb:135 [FINISH]
me:
called_id: test_condition_variable, type: iseq
owner class: 0x00007fdbd7200b88 [3LM R ] T_CLASS TestFiberMutex
self: 0x00007fdbcf817d58 [0 ] T_OBJECT (TestFiberMutex)len:10 ptr:0x00007fdbda5d7318
lvars:
mutex: 0x00007fdbcf817628 [0 ] mutex (Thread::Mutex)mutex
condition: 0x00007fdbcf8175d8 [0 ] condvar (Thread::ConditionVariable)condvar
signalled: T_FIXNUM 2
c:0026 p:0056 s:0151 e:000150 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit/testcase.rb:200 [FINISH]
me:
called_id: run_test, type: iseq
owner class: 0x00007fdbd7645928 [3LM R ] T_CLASS Test::Unit::TestCase
self: 0x00007fdbcf817d58 [0 ] T_OBJECT (TestFiberMutex)len:10 ptr:0x00007fdbda5d7318
lvars:
name: T_SYMBOL test_condition_variable
progname: 0x00007fdbda79bd60 [3LM ] T_STRING (String)/tmp/ruby/v3/src/trunk-mjit-wait/test/runner.rb
c:0025 p:0059 s:0145 e:000144 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit/testcase.rb:168 [FINISH]
me:
called_id: run, type: iseq
owner class: 0x00007fdbd7645928 [3LM R ] T_CLASS Test::Unit::TestCase
self: 0x00007fdbcf817d58 [0 ] T_OBJECT (TestFiberMutex)len:10 ptr:0x00007fdbda5d7318
lvars:
runner: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
start_time: 0x00007fdbcf817c68 [0 U] time (Time)time
result: 0x00007fdbda79e740 [3LM ] T_STRING (String)
time: T_NIL
e: T_NIL
c:0024 p:0099 s:0136 e:000135 BLOCK /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1525 [FINISH]
me:
called_id: _run_suite, type: iseq
owner class: 0x00007fdbd7603320 [3LM ] T_CLASS Test::Unit::Runner
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
method: T_SYMBOL test_condition_variable
inst: 0x00007fdbcf817d58 [0 ] T_OBJECT (TestFiberMutex)len:10 ptr:0x00007fdbda5d7318
start_time: T_NIL
result: T_NIL
c:0023 p:---- s:0129 e:000128 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x00007fdbda774260 [3LM ] T_CLASS Array
self: 0x00007fdbcf812178 [0 ] T_ARRAY (Array)[ ] len: 8, capa:16 ptr:0x000055a53aac4cf0
c:0022 p:0127 s:0125 e:000124 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1512
me:
called_id: _run_suite, type: iseq
owner class: 0x00007fdbd7603320 [3LM ] T_CLASS Test::Unit::Runner
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
suite: 0x00007fdbd7200b88 [3LM R ] T_CLASS TestFiberMutex
type: T_SYMBOL test
header: 0x00007fdbcf812678 [0 ] T_STRING (String)test_suite_header
filter: 0x00007fdbd76341f0 [3LM ] T_REGEXP (Regexp)
all_test_methods: 0x00007fdbcf812178 [0 ] T_ARRAY (Array)[ ] len: 8, capa:16 ptr:0x000055a53aac4cf0
leakchecker: 0x00007fdbcf812060 [0 ] T_OBJECT (LeakChecker)len:7 ptr:0x00007fdbda5d6d40
trace: T_NIL
assertions: T_NIL
c:0021 p:0042 s:0113 e:000112 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1305
me:
called_id: _run_suite, type: iseq
owner class: 0x00007fdbd7603a00 [3LM ] T_MODULE (Module)Test::Unit::ExcludesOption
defined_class: 0x00007fdbd7601d40 [3LM ] T_ICLASS src:Test::Unit::ExcludesOption
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
suite: 0x00007fdbd7200b88 [3LM R ] T_CLASS TestFiberMutex
type: T_SYMBOL test
ex: T_NIL
c:0020 p:0010 s:0106 e:000104 BLOCK /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:796 [FINISH]
me:
called_id: _run_suites, type: iseq
owner class: 0x00007fdbd7605cd8 [3LM ] T_MODULE (Module)Test::Unit::Parallel
defined_class: 0x00007fdbd7601f70 [3LM ] T_ICLASS src:Test::Unit::Parallel
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
suite: 0x00007fdbd7200b88 [3LM R ] T_CLASS TestFiberMutex
e: T_NIL
c:0019 p:---- s:0100 e:000099 CFUNC :each
me:
called_id: each, type: cfunc
owner class: 0x00007fdbda774260 [3LM ] T_CLASS Array
self: 0x00007fdbcf87ba60 [3LM ] T_ARRAY (Array)[ ] len: 955, capa:955 ptr:0x000055a53a913340
c:0018 p:0054 s:0096 E:0018a8 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:794
me:
called_id: _run_suites, type: iseq
owner class: 0x00007fdbd7605cd8 [3LM ] T_MODULE (Module)Test::Unit::Parallel
defined_class: 0x00007fdbd7601f70 [3LM ] T_ICLASS src:Test::Unit::Parallel
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
suites: 0x00007fdbcf87ba60 [3LM ] T_ARRAY (Array)[ ] len: 955, capa:955 ptr:0x000055a53a913340
type: T_SYMBOL test
result: 0x00007fdbcf825750 [3LM R ] T_ARRAY (Array)[ ] len: 86, capa:128 ptr:0x000055a53a7bb9b0
c:0017 p:0008 s:0089 E:001228 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:831
me:
called_id: _run_suites, type: iseq
owner class: 0x00007fdbd76048b0 [3LM ] T_MODULE (Module)Test::Unit::Skipping
defined_class: 0x00007fdbd7601ed0 [3LM ] T_ICLASS src:Test::Unit::Skipping
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
suites: 0x00007fdbcf87ba60 [3LM ] T_ARRAY (Array)[ ] len: 955, capa:955 ptr:0x000055a53a913340
type: T_SYMBOL test
result: T_NIL
c:0016 p:0163 s:0082 E:002228 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1458
me:
called_id: _run_anything, type: iseq
owner class: 0x00007fdbd7603320 [3LM ] T_CLASS Test::Unit::Runner
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
type: T_SYMBOL test
suites: 0x00007fdbcf87ba60 [3LM ] T_ARRAY (Array)[ ] len: 955, capa:955 ptr:0x000055a53a913340
test_count: T_FIXNUM 0
assertion_count: T_FIXNUM 0
sync: T_TRUE
old_sync: T_FALSE
start: 0x00007fdbcf880510 [0LM U] time (Time)time
results: T_NIL
t: T_NIL
c:0015 p:0016 s:0069 E:000258 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1242
me:
called_id: _run_anything, type: iseq
owner class: 0x00007fdbd7603af0 [3LM ] T_MODULE (Module)Test::Unit::RepeatOption
defined_class: 0x00007fdbd7601e30 [3LM ] T_ICLASS src:Test::Unit::RepeatOption
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
type: T_SYMBOL test
c:0014 p:0005 s:0064 E:001090 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1633
me:
called_id: run_tests, type: iseq
owner class: 0x00007fdbd7603320 [3LM ] T_CLASS Test::Unit::Runner
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
c:0013 p:0006 s:0060 E:001408 BLOCK /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1620 [FINISH]
me:
called_id: _run, type: iseq
owner class: 0x00007fdbd7603320 [3LM ] T_CLASS Test::Unit::Runner
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
plugin: 0x00007fdbda7ae4b0 [3LM ] T_STRING (String)run_tests
c:0012 p:---- s:0056 e:000055 CFUNC :each
me:
called_id: each, type: cfunc
owner class: 0x00007fdbda774260 [3LM ] T_CLASS Array
self: 0x00007fdbcf87bc90 [3LM ] T_ARRAY (Array)[E ] len: 1 (embed)
c:0011 p:0047 s:0052 E:000af8 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1619
me:
called_id: _run, type: iseq
owner class: 0x00007fdbd7603320 [3LM ] T_CLASS Test::Unit::Runner
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
args: 0x00007fdbd75f8f60 [3LM ] T_HASH (Hash)[A ] 8
c:0010 p:0013 s:0047 E:000d28 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1661
me:
called_id: run, type: iseq
owner class: 0x00007fdbd7603320 [3LM ] T_CLASS Test::Unit::Runner
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
argv: 0x00007fdbda783350 [3LM ] T_ARRAY shared -> 0x00007fdbd7634e70 [3LM ] T_ARRAY (Array)[ ] len: 832, capa:2 ptr:0x000055a533c82bf0
c:0009 p:0008 s:0042 E:0011c0 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1016
me:
called_id: run, type: iseq
owner class: 0x00007fdbd7604658 [3LM ] T_MODULE (Module)Test::Unit::StatusLine
defined_class: 0x00007fdbd7601fc0 [3LM ] T_ICLASS src:Test::Unit::StatusLine
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
args: 0x00007fdbcf874238 [3LM ] T_ARRAY (Array)[E ] len: 1 (embed)
result: T_NIL
c:0008 p:0008 s:0036 E:000440 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:864
me:
called_id: run, type: iseq
owner class: 0x00007fdbd7604798 [3LM ] T_MODULE (Module)Test::Unit::Statistics
defined_class: 0x00007fdbd7601f20 [3LM ] T_ICLASS src:Test::Unit::Statistics
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
args: 0x00007fdbcf8742d8 [3LM ] T_ARRAY (Array)[E ] len: 1 (embed)
result: T_NIL
c:0007 p:0017 s:0030 E:0015c8 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:154
me:
called_id: run, type: iseq
owner class: 0x00007fdbd7606048 [3LM ] T_MODULE Test::Unit::RunCount
defined_class: 0x00007fdbd7601c78 [3LM ] T_ICLASS src:Test::Unit::RunCount
self: 0x00007fdbd75fa4f0 [3LM ] T_OBJECT (Test::Unit::AutoRunner::Runner)len:28 ptr:0x000055a53acc5b70
lvars:
(null): 0x00007fdbcf874378 [3LM ] T_ARRAY (Array)[E ] len: 1 (embed)
c:0006 p:0032 s:0025 E:0015f0 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1740
me:
called_id: run, type: iseq
owner class: 0x00007fdbd7601b60 [3LM ] T_CLASS Test::Unit::AutoRunner
self: 0x00007fdbd75fa5e0 [3LM ] T_OBJECT (Test::Unit::AutoRunner)len:5 ptr:0x000055a533c6bc00
c:0005 p:0009 s:0021 E:001828 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/tool/lib/test/unit.rb:1744
me:
called_id: run, type: iseq
owner class: 0x00007fdbd7601b38 [3LM ] T_CLASS (annon)
self: 0x00007fdbd7601b60 [3LM ] T_CLASS Test::Unit::AutoRunner
lvars:
args: 0x00007fdbd75fa630 [3LM ] T_ARRAY (Array)[E ] len: 2 (embed)
c:0004 p:0174 s:0016 E:000b08 TOP /tmp/ruby/v3/src/trunk-mjit-wait/tool/test/runner.rb:23 [FINISH]
self: 0x00007fdbda7643b0 [3LM ] T_OBJECT (embed) len:3
lvars:
dir: 0x00007fdbd75fa6d0 [3LM ] T_STRING (String)/tmp/ruby/v3/src/trunk-mjit-wait/test
c:0003 p:---- s:0011 e:000010 CFUNC :require_relative
me:
called_id: require_relative, type: cfunc
owner class: 0x00007fdbda7665e8 [3LM ] T_MODULE Kernel
defined_class: 0x00007fdbda766598 [3LM ] T_ICLASS src:Kernel
self: 0x00007fdbda7643b0 [3LM ] T_OBJECT (embed) len:3
c:0002 p:0104 s:0006 E:002600 EVAL /tmp/ruby/v3/src/trunk-mjit-wait/test/runner.rb:12 [FINISH]
self: 0x00007fdbda7643b0 [3LM ] T_OBJECT (embed) len:3
c:0001 p:0000 s:0003 E:001590 (none) [FINISH]
self: 0x00007fdbda7643b0 [3LM ] T_OBJECT (embed) len:3
th: 0x55a53abc8130, native_id: 0x7fdbcec21700
-- Control frame information -----------------------------------------------
c:0004 p:---- s:0025 e:000024 CFUNC :select
me:
called_id: select, type: cfunc
owner class: 0x00007fdbda77dcc0 [3LM ] T_CLASS (annon)
self: 0x00007fdbda77dce8 [3LM R ] T_CLASS IO
c:0003 p:0041 s:0017 e:000016 METHOD /tmp/ruby/v3/src/trunk-mjit-wait/test/fiber/scheduler.rb:54
me:
called_id: run, type: iseq
owner class: 0x00007fdbd6fbf1f8 [3LM R ] T_CLASS Scheduler
self: 0x00007fdbcf817330 [0 ] T_OBJECT (Scheduler)len:8 ptr:0x00007fdbda5d7378
lvars:
readable: 0x00007fdbcf815f58 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
writable: 0x00007fdbcf815f30 [0 ] T_ARRAY (Array)[E ] len: 0 (embed)
selected: 0x00007fdbcf815ee0 [0 ] T_HASH (Hash)[A ] 0
time: T_FLOAT
waiting: 0x00007fdbcf8162a0 [0 ] T_HASH (Hash)[AT] 1
ready: 0x00007fdbcf8165c0 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
c:0002 p:0057 s:0007 E:000d28 BLOCK /tmp/ruby/v3/src/trunk-mjit-wait/test/fiber/test_mutex.rb:134 [FINISH]
me:
called_id: test_condition_variable, type: iseq
owner class: 0x00007fdbd7200b88 [3LM R ] T_CLASS TestFiberMutex
self: 0x00007fdbcf817d58 [0 ] T_OBJECT (TestFiberMutex)len:10 ptr:0x00007fdbda5d7318
lvars:
scheduler: 0x00007fdbcf817330 [0 ] T_OBJECT (Scheduler)len:8 ptr:0x00007fdbda5d7378
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
self: T_NIL
$1 = 0
">>> Finish
"[Inferior 1 (process 27276) detached]
[nil, 27276]
"timeout 60 gdb -p 27197 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
27 ../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.
0x00007fd2a743adba in __GI___wait4 (pid=-1, stat_loc=0x7ffc67ad8388, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
>>> Threads Id Target Id Frame
* 1 process 27197 "make" 0x00007fd2a743adba in __GI___wait4 (pid=-1, stat_loc=0x7ffc67ad8388, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
>>> Machine level backtrace
Thread 1 (process 27197):
#0 0x00007fd2a743adba in __GI___wait4 (pid=-1, stat_loc=0x7ffc67ad8388, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
#1 0x0000561a4ecc0488 in reap_children ()
#2 0x0000561a4ecc0e64 in new_job ()
#3 0x0000561a4ecccd47 in ?? ()
#4 0x0000561a4eccd6df in update_goal_chain ()
#5 0x0000561a4ecb1f3f in main ()
>>> 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.
make: *** [uncommon.mk:817: yes-test-all] Killed
[Inferior 1 (process 27197) detached]
[nil, 27197]
#<Errno::ESRCH: No such process>
"timeout 60 gdb -p 27196 -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 27196 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, 27196]
"timeout 60 gdb -p 32319 -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, 32319]
#<Errno::ESRCH: No such process>
0.004000 0.000000 5191.924000 (18002.428625)
/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: 19023.71 sec