rev: 94d49ed31c
test-all :
test-spec:
exit statuses:
"make update-unicode -j6" exit with 0.
"make update-download -j6" exit with 0.
"make update-rubyspec -j6" exit with 0.
"make update-src -j6" exit with 0.
"make after-update -j6" exit with 0.
"make miniruby -j6" exit with 0.
"make ruby -j6" exit with 0.
"make all -j6" exit with 0.
"make install -j6" exit with 0.
"make yes-btest TESTS='-j6'" exit with 0.
"make yes-test-basic TESTS='-j6'" exit with 0.
Logfile: /home/ko1/ruby/logs/brlog.trunk-no-mjit.20201204-152929
#<BuildRuby:0x000055da6c1c3ad0
@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-no-mjit",
@TARGET_INSTALL_DIR="/tmp/ruby/v3/install/trunk-no-mjit",
@TARGET_NAME="trunk-no-mjit",
@TARGET_SRC_DIR="/tmp/ruby/v3/src/trunk-no-mjit",
@build_opts="-j6",
@configure_opts=["--disable-jit-support"],
@gist=false,
@git_branch=nil,
@git_worktree=nil,
@incremental=true,
@logfile="/home/ko1/ruby/logs/brlog.trunk-no-mjit.20201204-152929",
@make="make",
@quiet=false,
@ruby_env=[["RUBY_DEBUG", "ci"]],
@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.000036)
autoconf 0.000000 0.000000 0.000000 ( 0.000069)
configure 0.000000 0.000000 0.000000 ( 0.000063)
build_up From https://github.com/ruby/ruby
1cfc6e7..94d49ed master -> origin/master
configure: WARNING: something wrong with CXXFLAGS=""
0.056000 0.016000 464.624000 (212.862749)
build_miniruby 0.004000 0.000000 0.156000 ( 0.186989)
build_ruby 0.004000 0.000000 5.636000 ( 4.280368)
build_all 0.092000 0.056000 586.272000 (180.382737)
build_install 0.028000 0.000000 9.788000 ( 6.193165)
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 1468 tests
0.000000 0.000000 55.048000 ( 60.946754)
test_basic 0.012000 0.000000 0.708000 ( 0.837254)
test_all Skipping Gem::PackageTask tests. rake not found.
$$$ #<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-no-mjit --incremental --process-num=6
1 2455 11 11 ? -1 S 1001 0:00 /tmp/ruby/v3/build/trunk-no-mjit/ruby -W0
12996 2676 11 11 ? -1 R 1001 0:00 ps jx
11 12994 11 11 ? -1 S 1001 0:00 ruby ./br.rb build_report trunk-no-mjit --incremental --process-num=6
12994 12995 11 11 ? -1 S 1001 0:00 sh -c ruby /home/ko1/ruby/build-ruby/build-ruby.rb --target_name=trunk-no-mjit --logfile=/home/ko1/ruby/logs/brlog.trunk-no-mjit.20201204-152929 --root_dir=/tmp/ruby --timeout=10800 --configure_opts='--disable-jit-support' --incremental --process-num=6
12995 12996 11 11 ? -1 Sl 1001 0:00 ruby /home/ko1/ruby/build-ruby/build-ruby.rb --target_name=trunk-no-mjit --logfile=/home/ko1/ruby/logs/brlog.trunk-no-mjit.20201204-152929 --root_dir=/tmp/ruby --timeout=10800 --configure_opts=--disable-jit-support --incremental --process-num=6
12996 28861 11 11 ? -1 S 1001 0:00 sh -c make yes-test-all TESTS='-j6'
28861 28862 11 11 ? -1 S 1001 0:00 make yes-test-all TESTS=-j6
28862 28869 11 11 ? -1 S 1001 0:04 /tmp/ruby/v3/build/trunk-no-mjit/ruby --disable-gems /tmp/ruby/v3/src/trunk-no-mjit/test/runner.rb --ruby=./miniruby -I/tmp/ruby/v3/src/trunk-no-mjit/lib -I. -I.ext/common /tmp/ruby/v3/src/trunk-no-mjit/tool/runruby.rb --extout=.ext -- --disable-gems --excludes-dir=/tmp/ruby/v3/src/trunk-no-mjit/test/excludes --name=!/memory_leak/ -j6
28869 28872 11 11 ? -1 Sl 1001 2:05 /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/parallel.rb: TestSocket#test_getaddrinfo_after_fork
{10=>[11], 1=>[2455], 12996=>[2676, 28861], 11=>[12994], 12994=>[12995], 12995=>[12996], 28861=>[28862], 28862=>[28869], 28869=>[28872]}
"gdb -p 2676 -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, 2676]
#<Errno::ESRCH: No such process>
"gdb -p 28872 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
[New LWP 31377]
[New LWP 2346]
[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.
0x00007faed3f05bf6 in __ppoll (fds=fds@entry=0x7ffdbcba0cf8, 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 0x7faed3deeb80 (LWP 28872) "ruby" 0x00007faed3f05bf6 in __ppoll (fds=fds@entry=0x7ffdbcba0cf8, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
2 Thread 0x7faed1428700 (LWP 31377) "parallel.rb:43" 0x00007faed3f05aff in __GI___poll (fds=fds@entry=0x7faed1327670, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
3 Thread 0x7faed026f700 (LWP 2346) "envutil.rb:164" 0x00007faed3f05aff in __GI___poll (fds=fds@entry=0x7faed016e570, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>>> Machine level backtrace
Thread 3 (Thread 0x7faed026f700 (LWP 2346)):
#0 0x00007faed3f05aff in __GI___poll (fds=fds@entry=0x7faed016e570, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x0000559cccc2f1d0 in poll (__timeout=-1, __nfds=1, __fds=0x7faed016e570) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2 nogvl_wait_for_single_fd (th=<optimized out>, events=1, fd=11) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:11038
#3 nogvl_wait_for_single_fd (events=1, fd=11, th=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:11024
#4 internal_read_func (ptr=ptr@entry=0x7faed016e6e0) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:1085
#5 0x0000559cccd5e735 in rb_thread_io_blocking_region (func=func@entry=0x559cccc2f110 <internal_read_func>, data1=data1@entry=0x7faed016e6e0, fd=fd@entry=11) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:1805
#6 0x0000559cccc377c4 in rb_read_internal (count=8132, buf=0x7fae94018c8c, fd=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:1136
#7 io_bufread (fptr=0x559cd3452680, len=8192, ptr=0x7fae94018c50 "-:4:in `<main>': uninitialized constant Timeout (NameError)\n\234U") at /tmp/ruby/v3/src/trunk-no-mjit/io.c:2580
#8 bufread_call (arg=arg@entry=140388792199248) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:2619
#9 0x0000559cccbf2674 in rb_ensure (b_proc=0x559cccc375f0 <bufread_call>, data1=140388792199248, e_proc=e_proc@entry=0x559cccd259f0 <rb_str_unlocktmp>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/eval.c:1158
#10 0x0000559cccd3d0e6 in rb_str_locktmp_ensure (str=<optimized out>, func=func@entry=0x559cccc375f0 <bufread_call>, arg=arg@entry=140388792199248) at /tmp/ruby/v3/src/trunk-no-mjit/string.c:2786
#11 0x0000559cccc32c8e in io_fread (str=<optimized out>, offset=offset@entry=0, size=size@entry=8192, fptr=fptr@entry=0x559cd3452680) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:2644
#12 0x0000559cccc3692e in read_all (fptr=fptr@entry=0x559cd3452680, siz=8192, str=<optimized out>, str@entry=8) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:2916
#13 0x0000559cccc3fece in io_read (argc=<optimized out>, argv=<optimized out>, io=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:3276
#14 0x0000559cccd955e3 in vm_call_cfunc_with_frame (ec=0x559cd335b2a0, reg_cfp=0x7faed026ec90, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm_insnhelper.c:2821
#15 0x0000559cccdab11a 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-no-mjit/vm_callinfo.h:337
#16 vm_exec_core (ec=0x559cd335b2a0, initial=1) at ../../src/trunk-no-mjit/insns.def:789
#17 0x0000559cccd9f906 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:2162
#18 0x0000559cccda44c3 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x559cd335b5e0, argc=argc@entry=0, argv=argv@entry=0x7faed016ec50, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:1486
#19 0x0000559cccd590c5 in thread_do_start_proc (th=0x559cd343e5d0) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:745
#20 0x0000559cccd5bd17 in thread_do_start (th=0x559cd343e5d0) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:766
#21 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:822
#22 0x0000559cccd5c53b in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/thread_pthread.c:994
#23 0x00007faed420c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#24 0x00007faed3f12293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7faed1428700 (LWP 31377)):
#0 0x00007faed3f05aff in __GI___poll (fds=fds@entry=0x7faed1327670, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x0000559cccc2f1d0 in poll (__timeout=-1, __nfds=1, __fds=0x7faed1327670) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2 nogvl_wait_for_single_fd (th=<optimized out>, events=1, fd=7) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:11038
#3 nogvl_wait_for_single_fd (events=1, fd=7, th=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:11024
#4 internal_read_func (ptr=ptr@entry=0x7faed13278d0) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:1085
#5 0x0000559cccd5e735 in rb_thread_io_blocking_region (func=0x559cccc2f110 <internal_read_func>, data1=0x7faed13278d0, fd=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:1805
#6 0x0000559cccbf2674 in rb_ensure (b_proc=0x559cccc2d040 <read_internal_call>, data1=140388810782928, e_proc=e_proc@entry=0x559cccd259f0 <rb_str_unlocktmp>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/eval.c:1158
#7 0x0000559cccd3d0e6 in rb_str_locktmp_ensure (str=<optimized out>, func=func@entry=0x559cccc2d040 <read_internal_call>, arg=arg@entry=140388810782928) at /tmp/ruby/v3/src/trunk-no-mjit/string.c:2786
#8 0x0000559cccc45d32 in read_internal_locktmp (iis=0x7faed13278d0, str=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:2996
#9 io_getpartial (argc=<optimized out>, argv=<optimized out>, io=<optimized out>, no_exception=no_exception@entry=8, nonblock=nonblock@entry=0) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:2996
#10 0x0000559cccc461c5 in io_readpartial (argc=<optimized out>, argv=<optimized out>, io=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/io.c:3089
#11 0x0000559cccd955e3 in vm_call_cfunc_with_frame (ec=0x559cd346b7f0, reg_cfp=0x7faed1427c90, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm_insnhelper.c:2821
#12 0x0000559cccdab11a 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-no-mjit/vm_callinfo.h:337
#13 vm_exec_core (ec=0x559cd346b7f0, initial=1) at ../../src/trunk-no-mjit/insns.def:789
#14 0x0000559cccd9f906 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:2162
#15 0x0000559cccda44c3 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x559cd337dd20, argc=argc@entry=0, argv=argv@entry=0x7faed1327c50, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:1486
#16 0x0000559cccd590c5 in thread_do_start_proc (th=0x559cd135f7c0) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:745
#17 0x0000559cccd5bd17 in thread_do_start (th=0x559cd135f7c0) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:766
#18 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:822
#19 0x0000559cccd5c53b in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/thread_pthread.c:994
#20 0x00007faed420c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#21 0x00007faed3f12293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7faed3deeb80 (LWP 28872)):
#0 0x00007faed3f05bf6 in __ppoll (fds=fds@entry=0x7ffdbcba0cf8, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1 0x0000559cccd57e20 in rb_sigwait_sleep (th=th@entry=0x559cce38ce30, sigwait_fd=sigwait_fd@entry=3, rel=rel@entry=0x0) at /tmp/ruby/v3/src/trunk-no-mjit/hrtime.h:148
#2 0x0000559cccd5a85f in native_sleep (th=th@entry=0x559cce38ce30, rel=0x0) at /tmp/ruby/v3/src/trunk-no-mjit/thread_pthread.c:2155
#3 0x0000559cccd5ca35 in thread_join_sleep (arg=arg@entry=140727769763568) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:1186
#4 0x0000559cccbf2674 in rb_ensure (b_proc=b_proc@entry=0x559cccd5c820 <thread_join_sleep>, data1=data1@entry=140727769763568, e_proc=e_proc@entry=0x559cccd51710 <remove_from_join_list>, data2=data2@entry=140727769763568) at /tmp/ruby/v3/src/trunk-no-mjit/eval.c:1158
#5 0x0000559cccd55991 in thread_join (timeout=8, target_th=0x559cd343e5d0) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:1236
#6 thread_value (self=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/thread.c:1350
#7 0x0000559cccd955e3 in vm_call_cfunc_with_frame (ec=0x559cce38d4b0, reg_cfp=0x7faed3decc20, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm_insnhelper.c:2821
#8 0x0000559cccdab11a 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-no-mjit/vm_callinfo.h:337
#9 vm_exec_core (ec=0x559cce38d4b0, initial=1) at ../../src/trunk-no-mjit/insns.def:789
#10 0x0000559cccda013d in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:2171
#11 0x0000559cccda361e in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94131968162440, iseq=0x559cce5a52b0, ec=0x559cce38d4b0) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:1264
#12 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x7ffdbcba1210, argc=1, self=94131968162440, captured=<optimized out>, ec=0x559cce38d4b0) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:1336
#13 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-no-mjit/vm.c:1354
#14 vm_yield (argc=1, kw_splat=0, argv=0x7ffdbcba1210, ec=0x559cce38d4b0) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:1399
#15 rb_yield_0 (argv=0x7ffdbcba1210, argc=1) at /tmp/ruby/v3/src/trunk-no-mjit/vm_eval.c:1143
#16 rb_yield_1 (val=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm_eval.c:1149
#17 rb_yield (val=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm_eval.c:1159
#18 0x0000559cccdd11b6 in rb_ary_collect (ary=94131996717160) at /tmp/ruby/v3/src/trunk-no-mjit/include/ruby/internal/core/rarray.h:172
#19 0x0000559cccd955e3 in vm_call_cfunc_with_frame (ec=0x559cce38d4b0, reg_cfp=0x7faed3decde0, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm_insnhelper.c:2821
#20 0x0000559cccdab221 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-no-mjit/vm_callinfo.h:337
#21 vm_exec_core (ec=0x559cce38d4b0, initial=1) at ../../src/trunk-no-mjit/insns.def:770
#22 0x0000559cccd9f906 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:2162
#23 0x0000559cccda361e in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94131968162440, iseq=0x559cce3c86e0, ec=0x559cce38d4b0) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:1264
#24 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0x7ffdbcba15a0, argc=1, self=94131968162440, captured=<optimized out>, ec=0x559cce38d4b0) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:1336
#25 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-no-mjit/vm.c:1354
#26 vm_yield (argc=1, kw_splat=0, argv=0x7ffdbcba15a0, ec=0x559cce38d4b0) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:1399
#27 rb_yield_0 (argv=0x7ffdbcba15a0, argc=1) at /tmp/ruby/v3/src/trunk-no-mjit/vm_eval.c:1143
#28 rb_yield_1 (val=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm_eval.c:1149
#29 rb_yield (val=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm_eval.c:1159
#30 0x0000559cccdd11b6 in rb_ary_collect (ary=94131996738280) at /tmp/ruby/v3/src/trunk-no-mjit/include/ruby/internal/core/rarray.h:172
#31 0x0000559cccd955e3 in vm_call_cfunc_with_frame (ec=0x559cce38d4b0, reg_cfp=0x7faed3decf30, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm_insnhelper.c:2821
#32 0x0000559cccdab221 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-no-mjit/vm_callinfo.h:337
#33 vm_exec_core (ec=0x559cce38d4b0, initial=1) at ../../src/trunk-no-mjit/insns.def:770
#34 0x0000559cccda013d in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/vm.c:2171
#35 0x0000559cccbec9ad in rb_ec_exec_node (ec=ec@entry=0x559cce38d4b0, n=n@entry=0x559cce3c8d20) at /tmp/ruby/v3/src/trunk-no-mjit/eval.c:317
#36 0x0000559cccbf15bf in ruby_run_node (n=0x559cce3c8d20) at /tmp/ruby/v3/src/trunk-no-mjit/eval.c:375
#37 0x0000559cccbe4133 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/ruby/v3/src/trunk-no-mjit/main.c:50
>>> Dump Ruby level backtrace
th: 0x559cce38ce30, native_id: 0x7faed3deeb80
-- Control frame information -----------------------------------------------
c:0019 p:---- s:0157 e:000156 CFUNC :value
me:
called_id: value, type: cfunc
owner class: 0x0000559cce401710 [3LM ] T_CLASS Thread
self: 0x0000559cd0d1ca28 [0 U] VM/thread (Thread)VM/thread
c:0018 p:0591 s:0153 E:000678 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/envutil.rb:174
me:
called_id: invoke_ruby, type: iseq
owner class: 0x0000559cce6a4d28 [3LM R ] T_CLASS (annon)
self: 0x0000559cce6a4da0 [3LM ] T_MODULE EnvUtil
lvars:
args: 0x0000559cd0d242c8 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
stdin_data: 0x0000559cd016c2c8 [0 ] T_STRING (String) require "socket"
Socket.getaddrinfo("localhost", nil)
pid = fork { Socket.getaddrinfo("localhost", nil) }
assert_equal pid, Timeout.timeout(30) { Process.wait(pid) }
capture_stdout: T_TRUE
capture_stderr: T_SYMBOL merge_to_stdout
encoding: T_NIL
timeout: T_FIXNUM 10
reprieve: T_FIXNUM 1
timeout_error: 0x0000559cce6a63d0 [3LM ] T_CLASS Timeout::Error
stdout_filter: T_NIL
stderr_filter: T_NIL
signal: T_SYMBOL TERM
rubybin: 0x0000559cd0d24098 [0 ] T_STRING (String)/tmp/ruby/v3/build/trunk-no-mjit/ruby
precommand: T_NIL
(null): T_FIXNUM 136
opt: 0x0000559cd0d24188 [0 ] T_HASH (Hash)[AT] 3
in_c: 0x0000559cd0d24020 [0 U] T_FILE (IO)
in_p: 0x0000559cd0d245c0 [0 U] T_FILE (IO)
out_p: 0x0000559cd0d1ff70 [0 U] T_FILE (IO)
out_c: T_NIL
err_p: T_NIL
err_c: T_NIL
c: 0x0000559cce678958 [3LM ] T_STRING (String)C
child_env: 0x0000559cd0d1fea8 [0 ] T_HASH (Hash)[AT] 3
lib: T_NIL
pid: T_FIXNUM 2431
th_stdout: 0x0000559cd0d1ca28 [0 U] VM/thread (Thread)VM/thread
th_stderr: T_NIL
status: 0x0000559cd0d172a8 [0 ] T_OBJECT (Process::Status)(embed) len:3
terminated: 0x0000559cd0d170c8 [0 U] time (Time)time
stdout: T_NIL
stderr: T_NIL
bt: T_NIL
msg: T_NIL
c:0017 p:0059 s:0116 e:000115 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/core_assertions.rb:248
me:
called_id: assert_normal_exit, type: iseq
owner class: 0x0000559cce530488 [3LM ] T_MODULE (Module)Test::Unit::CoreAssertions
defined_class: 0x0000559cce679b00 [3LM ] T_ICLASS src:Test::Unit::CoreAssertions
self: 0x0000559cd0d267d0 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007faed3bfa778
lvars:
testsrc: 0x0000559cd016c2c8 [0 ] T_STRING (String) require "socket"
Socket.getaddrinfo("localhost", nil)
pid = fork { Socket.getaddrinfo("localhost", nil) }
assert_equal pid, Timeout.timeout(30) { Process.wait(pid) }
message: 0x0000559cd016c2a0 [0 ] T_STRING (String)[ruby-core:100329] [Bug #17220]
child_env: 0x0000559cd0d24408 [0 ] T_ARRAY (Array)[E ] len: 0 (embed)
(null): T_FIXNUM 0
opt: 0x0000559cd0d26258 [0 ] T_HASH (Hash)[A ] 0
out: T_NIL
_: T_NIL
status: T_NIL
c:0016 p:0028 s:0104 e:000103 METHOD /tmp/ruby/v3/src/trunk-no-mjit/test/socket/test_socket.rb:107
me:
called_id: test_getaddrinfo_after_fork, type: iseq
owner class: 0x0000559cd03a6728 [2 ] T_CLASS TestSocket
self: 0x0000559cd0d267d0 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007faed3bfa778
c:0015 p:0052 s:0100 e:000099 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit.rb:1280
me:
called_id: run_test, type: iseq
owner class: 0x0000559cce398aa8 [3LM R ] T_CLASS MiniTest::Unit::TestCase
self: 0x0000559cd0d267d0 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007faed3bfa778
lvars:
name: 0x0000559cd039f5b8 [0 ] T_STRING (String) [shared] test_getaddrinfo_after_fork
progname: 0x0000559cce3ea768 [3LM ] T_STRING (String)/tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/parallel.rb
c:0014 p:0065 s:0094 e:000093 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/minitest/unit.rb:1320
me:
called_id: run, type: iseq
owner class: 0x0000559cce398aa8 [3LM R ] T_CLASS MiniTest::Unit::TestCase
self: 0x0000559cd0d267d0 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007faed3bfa778
lvars:
runner: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
start_time: 0x0000559cd0d267a8 [0 U] time (Time)time
result: 0x0000559cce3e04c0 [3LM ] T_STRING (String)
time: T_NIL
e: T_NIL
c:0013 p:0013 s:0085 e:000084 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/testcase.rb:18
me:
called_id: run, type: iseq
owner class: 0x0000559cce679d08 [3LM ] T_CLASS Test::Unit::TestCase
self: 0x0000559cd0d267d0 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007faed3bfa778
lvars:
runner: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
c:0012 p:0077 s:0080 e:000079 BLOCK /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/minitest/unit.rb:969 [FINISH]
me:
called_id: _run_suite, type: iseq
owner class: 0x0000559cce39b118 [3LM R ] T_CLASS MiniTest::Unit
self: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
lvars:
method: 0x0000559cd039f5b8 [0 ] T_STRING (String) [shared] test_getaddrinfo_after_fork
inst: 0x0000559cd0d267d0 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007faed3bfa778
start_time: T_NIL
result: T_NIL
c:0011 p:---- s:0073 e:000072 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x0000559cce429bc0 [3LM R ] T_CLASS Array
self: 0x0000559cd039f068 [0 ] T_ARRAY (Array)[ T] len: 38, capa:56 ptr:0x00007faed3ae4578
c:0010 p:0006 s:0069 e:000068 BLOCK /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/minitest/unit.rb:962
me:
called_id: _run_suite, type: iseq
owner class: 0x0000559cce39b118 [3LM R ] T_CLASS MiniTest::Unit
self: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
lvars:
assertions: T_NIL
c:0009 p:0163 s:0065 E:001c90 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/minitest/unit.rb:989
me:
called_id: _run_suite, type: iseq
owner class: 0x0000559cce39b118 [3LM R ] T_CLASS MiniTest::Unit
self: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
lvars:
suite: 0x0000559cd03a6728 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
header: 0x0000559cd039ff68 [0 ] T_STRING (String)test_suite_header
filter: 0x0000559cce906a30 [3LM ] T_REGEXP
all_test_methods: 0x0000559cd039f0b8 [0 ] T_ARRAY (Array)[ ] len: 38, capa:38 ptr:0x0000559cd3270c30
filtered_test_methods: 0x0000559cd039f068 [0 ] T_ARRAY (Array)[ T] len: 38, capa:56 ptr:0x00007faed3ae4578
leakchecker: 0x0000559cd039e910 [0 ] T_OBJECT (LeakChecker)len:7 ptr:0x00007faed3ae4a08
continuation: 0x0000559cd0397e80 [0 ] proc (Proc) block in _run_suite@/tmp/ruby/v3/src/trunk-no-mjit/tool/lib/minitest/unit.rb:961
c:0008 p:0042 s:0053 e:000052 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit.rb:1133
me:
called_id: orig_run_suite, type: iseq
owner class: 0x0000559cce696cc8 [3LM ] T_MODULE (Module)Test::Unit::ExcludesOption
defined_class: 0x0000559cce6962a0 [3LM ] T_ICLASS src:Test::Unit::ExcludesOption
self: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
lvars:
suite: 0x0000559cd03a6728 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
ex: T_NIL
c:0007 p:0103 s:0046 E:002050 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/parallel.rb:55
me:
called_id: _run_suite, type: iseq
owner class: 0x0000559cce76fd48 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
lvars:
suite: 0x0000559cd03a6728 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
orig_testout: 0x0000559cce419a68 [0LM U] T_FILE (IO)
i: 0x0000559cd03a41a8 [0 U] T_FILE (IO)
o: 0x0000559cd03a4158 [0 U] T_FILE (IO)
orig_stdin: 0x0000559cce419ab8 [0LM U] T_FILE (IO)
orig_stdout: 0x0000559cce419a68 [0LM U] T_FILE (IO)
th: 0x0000559cd03a4068 [0 U] VM/thread (Thread)VM/thread
e: T_FIXNUM 0
f: T_FIXNUM 0
s: T_FIXNUM 3
result: T_NIL
c:0006 p:0008 s:0030 e:000029 BLOCK /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/parallel.rb:31 [FINISH]
me:
called_id: _run_suites, type: iseq
owner class: 0x0000559cce76fd48 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
lvars:
suite: 0x0000559cd03a6728 [2 ] T_CLASS TestSocket
c:0005 p:---- s:0026 e:000025 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x0000559cce429bc0 [3LM R ] T_CLASS Array
self: 0x0000559cd03a42e8 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
c:0004 p:0005 s:0022 e:000021 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/parallel.rb:30
me:
called_id: _run_suites, type: iseq
owner class: 0x0000559cce76fd48 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
lvars:
suites: 0x0000559cd03a42e8 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
type: T_SYMBOL test
c:0003 p:0259 s:0016 e:000015 METHOD /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/parallel.rb:125
me:
called_id: run, type: iseq
owner class: 0x0000559cce76fd48 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
lvars:
args: 0x0000559cce418f50 [3LM ] T_ARRAY [E ] len: 0 (embed)
buf: 0x0000559cd019c608 [0 ] T_STRING (String)run /tmp/ruby/v3/src/trunk-no-mjit/test/socket/test_socket.rb test
suites: 0x0000559cd019c360 [0 ] T_ARRAY (Array)[ ] len: 118, capa:118 ptr:0x0000559cd3286920
e: T_NIL
trace: T_NIL
err: T_NIL
c:0002 p:0142 s:0006 e:000005 EVAL /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/parallel.rb:208 [FINISH]
self: 0x0000559cce448430 [3LM ] T_OBJECT (embed) len:3
c:0001 p:0000 s:0003 E:0010a0 (none) [FINISH]
self: 0x0000559cce448430 [3LM ] T_OBJECT (embed) len:3
th: 0x559cd135f7c0, native_id: 0x7faed1428700
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0012 e:000011 CFUNC :readpartial
me:
called_id: readpartial, type: cfunc
owner class: 0x0000559cce41b778 [3LM ] T_CLASS IO
self: 0x0000559cd03a41a8 [0 U] T_FILE (IO)
c:0002 p:0036 s:0007 e:000006 BLOCK /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/test/unit/parallel.rb:45 [FINISH]
me:
called_id: _run_suite, type: iseq
owner class: 0x0000559cce76fd48 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000559cce863a88 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000559cce901a70
lvars:
buf: 0x0000559cd0c57138 [0 ] T_STRING (String).
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
self: T_NIL
th: 0x559cd343e5d0, native_id: 0x7faed026f700
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0010 e:000009 CFUNC :read
me:
called_id: read, type: cfunc
owner class: 0x0000559cce41b778 [3LM ] T_CLASS IO
self: 0x0000559cd0d1ff70 [0 U] T_FILE (IO)
c:0002 p:0005 s:0006 e:000005 BLOCK /tmp/ruby/v3/src/trunk-no-mjit/tool/lib/envutil.rb:164 [FINISH]
me:
called_id: invoke_ruby, type: iseq
owner class: 0x0000559cce6a4d28 [3LM R ] T_CLASS (annon)
self: 0x0000559cce6a4da0 [3LM ] T_MODULE EnvUtil
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
self: T_NIL
$1 = 0
">>> Finish
"[Inferior 1 (process 28872) detached]
[nil, 28872]
"gdb -p 28869 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
running file: /tmp/ruby/v3/src/trunk-no-mjit/test/socket/test_socket.rb
Some worker was crashed. It seems ruby interpreter's bug
or, a bug of test/unit/parallel.rb. try again without -j
option.
A core file is found. Saving it at: "/tmp/test-unit-core.2020-12-04T18:37:17Z"
28872:running:test_socket: Broken pipe
make: *** [uncommon.mk:800: yes-test-all] Error 1
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, 28869]
#<Errno::ESRCH: No such process>
"gdb -p 28862 -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, 28862]
#<Errno::ESRCH: No such process>
"gdb -p 28861 -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 28861 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, 28861]
0.004000 0.004000 841.176000 (10802.087472)
/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: 11267.78 sec