rev: d2b7e1e4b2
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-iseq_binary.20201205-080501
#<BuildRuby:0x0000555e0a0a4b10
@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-iseq_binary",
@TARGET_INSTALL_DIR="/tmp/ruby/v3/install/trunk-iseq_binary",
@TARGET_NAME="trunk-iseq_binary",
@TARGET_SRC_DIR="/tmp/ruby/v3/src/trunk-iseq_binary",
@build_opts="-j6",
@configure_opts=["--enable-shared"],
@gist=false,
@git_branch=nil,
@git_worktree=nil,
@incremental=true,
@logfile="/home/ko1/ruby/logs/brlog.trunk-iseq_binary.20201205-080501",
@make="make",
@quiet=false,
@ruby_env=[["RUBY_DEBUG", "ci"], ["RUBY_ISEQ_DUMP_DEBUG", "to_binary"]],
@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.000032)
autoconf 0.000000 0.000000 0.000000 ( 0.000047)
configure 0.000000 0.000000 0.000000 ( 0.000047)
build_up 0.008000 0.004000 3.272000 ( 4.793261)
build_miniruby 0.004000 0.000000 0.136000 ( 0.144558)
build_ruby 0.000000 0.000000 0.132000 ( 0.144208)
build_all 0.016000 0.000000 7.368000 ( 3.072252)
build_install 0.016000 0.004000 8.668000 ( 4.491197)
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.004000 0.000000 48.108000 ( 49.351881)
test_basic 0.008000 0.004000 0.516000 ( 0.632269)
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-iseq_binary --incremental --process-num=6
1 399 11 11 ? -1 S 1001 0:00 /tmp/ruby/v3/build/trunk-iseq_binary/ruby -W0
11 2986 11 11 ? -1 S 1001 0:00 ruby ./br.rb build_report trunk-iseq_binary --incremental --process-num=6
2986 2987 11 11 ? -1 Sl 1001 0:00 ruby /home/ko1/ruby/build-ruby/build-ruby.rb --target_name=trunk-iseq_binary --logfile=/home/ko1/ruby/logs/brlog.trunk-iseq_binary.20201205-080501 --root_dir=/tmp/ruby --timeout=10800 --add-env=RUBY_ISEQ_DUMP_DEBUG=to_binary --incremental --process-num=6
1 5322 11 11 ? -1 S 1001 0:00 /tmp/ruby/v3/build/trunk-iseq_binary/ruby -W0
2987 5790 11 11 ? -1 S 1001 0:00 sh -c make yes-test-all TESTS='-j6'
5790 5791 11 11 ? -1 S 1001 0:00 make yes-test-all TESTS=-j6
5791 5798 11 11 ? -1 S 1001 0:05 /tmp/ruby/v3/build/trunk-iseq_binary/ruby --disable-gems /tmp/ruby/v3/src/trunk-iseq_binary/test/runner.rb --ruby=./miniruby -I/tmp/ruby/v3/src/trunk-iseq_binary/lib -I. -I.ext/common /tmp/ruby/v3/src/trunk-iseq_binary/tool/runruby.rb --extout=.ext -- --disable-gems --excludes-dir=/tmp/ruby/v3/src/trunk-iseq_binary/test/excludes --name=!/memory_leak/ -j6
5798 5803 11 11 ? -1 Sl 1001 1:14 /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb: TestSocket#test_getaddrinfo_after_fork
1 14917 11 11 ? -1 S 1001 0:00 /tmp/ruby/v3/build/trunk-iseq_binary/ruby -W0
2987 15126 11 11 ? -1 R 1001 0:00 ps jx
1 27466 11 11 ? -1 S 1001 0:00 /tmp/ruby/v3/build/trunk-iseq_binary/ruby -W0
{10=>[11], 1=>[399, 5322, 14917, 27466], 11=>[2986], 2986=>[2987], 2987=>[5790, 15126], 5790=>[5791], 5791=>[5798], 5798=>[5803]}
"gdb -p 5803 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
[New LWP 5828]
[New LWP 13461]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fc9951f3bf6 in __ppoll (fds=fds@entry=0x7ffe15b9e188, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
44 ../sysdeps/unix/sysv/linux/ppoll.c: No such file or directory.
>>> Threads Id Target Id Frame
* 1 Thread 0x7fc994e7cec0 (LWP 5803) "ruby" 0x00007fc9951f3bf6 in __ppoll (fds=fds@entry=0x7ffe15b9e188, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
2 Thread 0x7fc9924af700 (LWP 5828) "parallel.rb:43" 0x00007fc9951f3aff in __GI___poll (fds=fds@entry=0x7fc9923ae680, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
3 Thread 0x7fc9904af700 (LWP 13461) "envutil.rb:164" 0x00007fc9951f3aff in __GI___poll (fds=fds@entry=0x7fc9903ae590, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>>> Machine level backtrace
Thread 3 (Thread 0x7fc9904af700 (LWP 13461)):
#0 0x00007fc9951f3aff in __GI___poll (fds=fds@entry=0x7fc9903ae590, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fc9953e62e0 in poll (__timeout=-1, __nfds=1, __fds=0x7fc9903ae590) 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-iseq_binary/io.c:11038
#3 nogvl_wait_for_single_fd (events=1, fd=11, th=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:11024
#4 internal_read_func (ptr=ptr@entry=0x7fc9903ae700) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:1085
#5 0x00007fc99553b74f in rb_thread_io_blocking_region (func=func@entry=0x7fc9953e6220 <internal_read_func>, data1=data1@entry=0x7fc9903ae700, fd=fd@entry=11) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1805
#6 0x00007fc9953ef254 in rb_read_internal (count=8132, buf=0x7fc970000f7c, fd=11) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:1136
#7 io_bufread (fptr=0x56516955a8f0, len=8192, ptr=0x7fc970000f40 "-:4:in `<main>': uninitialized constant Timeout (NameError)\n\311\177") at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2580
#8 bufread_call (arg=arg@entry=140503684933744) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2619
#9 0x00007fc9953ae56e in rb_ensure (b_proc=b_proc@entry=0x7fc9953ef080 <bufread_call>, data1=data1@entry=140503684933744, e_proc=e_proc@entry=0x7fc9955059e0 <rb_str_unlocktmp>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:1158
#10 0x00007fc99551d801 in rb_str_locktmp_ensure (str=<optimized out>, func=func@entry=0x7fc9953ef080 <bufread_call>, arg=arg@entry=140503684933744) at /tmp/ruby/v3/src/trunk-iseq_binary/string.c:2786
#11 0x00007fc9953e796e in io_fread (str=<optimized out>, offset=offset@entry=0, size=size@entry=8192, fptr=fptr@entry=0x56516955a8f0) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2644
#12 0x00007fc9953ee2d6 in read_all (fptr=fptr@entry=0x56516955a8f0, siz=8192, str=<optimized out>, str@entry=8) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2916
#13 0x00007fc9953f4eb6 in io_read (argc=<optimized out>, argv=<optimized out>, io=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:3276
#14 0x00007fc995571953 in vm_call_cfunc_with_frame (ec=0x5651694016b0, reg_cfp=0x7fc9904aec90, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#15 0x00007fc99557e9e7 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-iseq_binary/vm_callinfo.h:337
#16 vm_exec_core (ec=0x5651694016b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:789
#17 0x00007fc995584403 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2162
#18 0x00007fc995589c53 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x565168ed7030, argc=argc@entry=0, argv=argv@entry=0x7fc9903aec50, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1486
#19 0x00007fc99553c201 in thread_do_start_proc (th=0x565169da0c30) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:745
#20 0x00007fc99553c96f in thread_do_start (th=0x565169da0c30) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:766
#21 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:822
#22 0x00007fc99553d2c2 in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread_pthread.c:994
#23 0x00007fc9950a8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#24 0x00007fc995200293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7fc9924af700 (LWP 5828)):
#0 0x00007fc9951f3aff in __GI___poll (fds=fds@entry=0x7fc9923ae680, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fc9953e62e0 in poll (__timeout=-1, __nfds=1, __fds=0x7fc9923ae680) 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-iseq_binary/io.c:11038
#3 nogvl_wait_for_single_fd (events=1, fd=7, th=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:11024
#4 internal_read_func (ptr=ptr@entry=0x7fc9923ae8e0) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:1085
#5 0x00007fc99553b74f in rb_thread_io_blocking_region (func=0x7fc9953e6220 <internal_read_func>, data1=0x7fc9923ae8e0, fd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1805
#6 0x00007fc9953ae56e in rb_ensure (b_proc=b_proc@entry=0x7fc9953e49d0 <read_internal_call>, data1=data1@entry=140503718488288, e_proc=e_proc@entry=0x7fc9955059e0 <rb_str_unlocktmp>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:1158
#7 0x00007fc99551d801 in rb_str_locktmp_ensure (str=<optimized out>, func=func@entry=0x7fc9953e49d0 <read_internal_call>, arg=arg@entry=140503718488288) at /tmp/ruby/v3/src/trunk-iseq_binary/string.c:2786
#8 0x00007fc9953fadb4 in read_internal_locktmp (iis=0x7fc9923ae8e0, str=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/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-iseq_binary/io.c:2996
#10 0x00007fc9953fb1e5 in io_readpartial (argc=<optimized out>, argv=<optimized out>, io=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:3089
#11 0x00007fc995571953 in vm_call_cfunc_with_frame (ec=0x5651689ad690, reg_cfp=0x7fc9924aec90, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#12 0x00007fc99557e9e7 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-iseq_binary/vm_callinfo.h:337
#13 vm_exec_core (ec=0x5651689ad690, initial=1) at ../../src/trunk-iseq_binary/insns.def:789
#14 0x00007fc995584403 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2162
#15 0x00007fc995589c53 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x56516894aa30, argc=argc@entry=0, argv=argv@entry=0x7fc9923aec50, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1486
#16 0x00007fc99553c201 in thread_do_start_proc (th=0x565169d6b910) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:745
#17 0x00007fc99553c96f in thread_do_start (th=0x565169d6b910) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:766
#18 thread_start_func_2 (th=<optimized out>, stack_start=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:822
#19 0x00007fc99553d2c2 in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread_pthread.c:994
#20 0x00007fc9950a8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#21 0x00007fc995200293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7fc994e7cec0 (LWP 5803)):
#0 0x00007fc9951f3bf6 in __ppoll (fds=fds@entry=0x7ffe15b9e188, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1 0x00007fc995536d60 in rb_sigwait_sleep (th=th@entry=0x5651666ddf30, sigwait_fd=sigwait_fd@entry=3, rel=rel@entry=0x0) at /tmp/ruby/v3/src/trunk-iseq_binary/hrtime.h:148
#2 0x00007fc995537d6b in native_sleep (th=<optimized out>, rel=0x0) at /tmp/ruby/v3/src/trunk-iseq_binary/thread_pthread.c:2155
#3 0x00007fc99553a938 in thread_join_sleep (arg=arg@entry=140729262924704) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1186
#4 0x00007fc9953ae56e in rb_ensure (b_proc=b_proc@entry=0x7fc99553a6c0 <thread_join_sleep>, data1=data1@entry=140729262924704, e_proc=e_proc@entry=0x7fc995531240 <remove_from_join_list>, data2=data2@entry=140729262924704) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:1158
#5 0x00007fc995533ed1 in thread_join (timeout=8, target_th=0x565169da0c30) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1236
#6 thread_value (self=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1350
#7 0x00007fc995571953 in vm_call_cfunc_with_frame (ec=0x5651666de5b0, reg_cfp=0x7fc994e7ac20, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#8 0x00007fc99557e9e7 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-iseq_binary/vm_callinfo.h:337
#9 vm_exec_core (ec=0x5651666de5b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:789
#10 0x00007fc995584cc4 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2171
#11 0x00007fc995588d9e in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94907619340880, iseq=0x5651668f9270, ec=0x5651666de5b0) at /tmp/ruby/v3/src/trunk-iseq_binary/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=0x7ffe15b9e6b0, argc=1, self=94907619340880, captured=<optimized out>, ec=0x5651666de5b0) at /tmp/ruby/v3/src/trunk-iseq_binary/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-iseq_binary/vm.c:1354
#14 vm_yield (argc=1, kw_splat=0, argv=0x7ffe15b9e6b0, ec=0x5651666de5b0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1399
#15 rb_yield_0 (argv=0x7ffe15b9e6b0, argc=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_eval.c:1143
#16 rb_yield_1 (val=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_eval.c:1149
#17 rb_yield (val=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_eval.c:1159
#18 0x00007fc99531792c in rb_ary_collect (ary=94907617213440) at /tmp/ruby/v3/src/trunk-iseq_binary/include/ruby/internal/core/rarray.h:172
#19 0x00007fc995571953 in vm_call_cfunc_with_frame (ec=0x5651666de5b0, reg_cfp=0x7fc994e7ade0, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#20 0x00007fc99557eaeb 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-iseq_binary/vm_callinfo.h:337
#21 vm_exec_core (ec=0x5651666de5b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:770
#22 0x00007fc995584403 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2162
#23 0x00007fc995588d9e in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94907619340880, iseq=0x5651667186e0, ec=0x5651666de5b0) at /tmp/ruby/v3/src/trunk-iseq_binary/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=0x7ffe15b9ea10, argc=1, self=94907619340880, captured=<optimized out>, ec=0x5651666de5b0) at /tmp/ruby/v3/src/trunk-iseq_binary/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-iseq_binary/vm.c:1354
#26 vm_yield (argc=1, kw_splat=0, argv=0x7ffe15b9ea10, ec=0x5651666de5b0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1399
#27 rb_yield_0 (argv=0x7ffe15b9ea10, argc=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_eval.c:1143
#28 rb_yield_1 (val=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_eval.c:1149
#29 rb_yield (val=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_eval.c:1159
#30 0x00007fc99531792c in rb_ary_collect (ary=94907612403440) at /tmp/ruby/v3/src/trunk-iseq_binary/include/ruby/internal/core/rarray.h:172
#31 0x00007fc995571953 in vm_call_cfunc_with_frame (ec=0x5651666de5b0, reg_cfp=0x7fc994e7af30, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#32 0x00007fc99557eaeb 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-iseq_binary/vm_callinfo.h:337
#33 vm_exec_core (ec=0x5651666de5b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:770
#34 0x00007fc995584cc4 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2171
#35 0x00007fc9953aaa9d in rb_ec_exec_node (ec=ec@entry=0x5651666de5b0, n=n@entry=0x565166718d20) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:317
#36 0x00007fc9953b09aa in ruby_run_node (n=0x565166718d20) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:375
#37 0x000056516557c1d3 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/main.c:50
>>> Dump Ruby level backtrace
th: 0x5651666ddf30, native_id: 0x7fc994e7cec0
-- Control frame information -----------------------------------------------
c:0019 p:---- s:0157 e:000156 CFUNC :value
me:
called_id: value, type: cfunc
owner class: 0x0000565166751710 [3LM ] T_CLASS Thread
self: 0x000056516991ca60 [0 U] VM/thread (Thread)VM/thread
c:0018 p:0591 s:0153 E:000af8 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/envutil.rb:174
me:
called_id: invoke_ruby, type: iseq
owner class: 0x00005651669fc988 [3LM ] T_CLASS (annon)
self: 0x00005651669fca00 [3LM ] T_MODULE EnvUtil
lvars:
args: 0x000056516991e248 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
stdin_data: 0x00005651694bb3e0 [2 ] 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: 0x00005651669fe030 [3LM ] T_CLASS Timeout::Error
stdout_filter: T_NIL
stderr_filter: T_NIL
signal: T_SYMBOL TERM
rubybin: 0x000056516991e1d0 [0 ] T_STRING (String)/tmp/ruby/v3/build/trunk-iseq_binary/ruby
precommand: T_NIL
(null): T_FIXNUM 136
opt: 0x000056516991e1f8 [0 ] T_HASH (Hash)[AT] 3
in_c: 0x000056516991e1a8 [0 U] T_FILE (IO)
in_p: 0x000056516991e180 [0 U] T_FILE (IO)
out_p: 0x000056516991e130 [0 U] T_FILE (IO)
out_c: T_NIL
err_p: T_NIL
err_c: T_NIL
c: 0x00005651669305e0 [3LM ] T_STRING (String)C
child_env: 0x000056516991e0b8 [0 ] T_HASH (Hash)[AT] 3
lib: T_NIL
pid: T_FIXNUM 14901
th_stdout: 0x000056516991ca60 [0 U] VM/thread (Thread)VM/thread
th_stderr: T_NIL
status: 0x000056516991c5b0 [0 ] T_OBJECT (Process::Status)(embed) len:3
terminated: 0x000056516991c538 [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-iseq_binary/tool/lib/test/unit/core_assertions.rb:248
me:
called_id: assert_normal_exit, type: iseq
owner class: 0x000056516688c0d0 [3LM ] T_MODULE (Module)Test::Unit::CoreAssertions
defined_class: 0x0000565166931620 [3LM ] T_ICLASS src:Test::Unit::CoreAssertions
self: 0x000056516992b9e8 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007fc994cb71b8
lvars:
testsrc: 0x00005651694bb3e0 [2 ] 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: 0x00005651694bb3b8 [2 ] T_STRING (String)[ruby-core:100329] [Bug #17220]
child_env: 0x000056516991e298 [0 ] T_ARRAY (Array)[E ] len: 0 (embed)
(null): T_FIXNUM 0
opt: 0x000056516992b808 [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-iseq_binary/test/socket/test_socket.rb:107
me:
called_id: test_getaddrinfo_after_fork, type: iseq
owner class: 0x0000565166858488 [2 ] T_CLASS TestSocket
self: 0x000056516992b9e8 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007fc994cb71b8
c:0015 p:0052 s:0100 e:000099 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit.rb:1280
me:
called_id: run_test, type: iseq
owner class: 0x00005651666e83f0 [3LM R ] T_CLASS MiniTest::Unit::TestCase
self: 0x000056516992b9e8 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007fc994cb71b8
lvars:
name: 0x0000565166860610 [0 ] T_STRING (String) [shared] test_getaddrinfo_after_fork
progname: 0x000056516673a768 [3LM ] T_STRING (String)/tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb
c:0014 p:0065 s:0094 e:000093 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/minitest/unit.rb:1320
me:
called_id: run, type: iseq
owner class: 0x00005651666e83f0 [3LM R ] T_CLASS MiniTest::Unit::TestCase
self: 0x000056516992b9e8 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007fc994cb71b8
lvars:
runner: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
start_time: 0x000056516992b9c0 [0 U] time (Time)time
result: 0x00005651667304c0 [3LM ] T_STRING (String)
time: T_NIL
e: T_NIL
c:0013 p:0013 s:0085 e:000084 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/testcase.rb:18
me:
called_id: run, type: iseq
owner class: 0x0000565166931828 [3LM ] T_CLASS Test::Unit::TestCase
self: 0x000056516992b9e8 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007fc994cb71b8
lvars:
runner: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
c:0012 p:0077 s:0080 e:000079 BLOCK /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/minitest/unit.rb:969 [FINISH]
me:
called_id: _run_suite, type: iseq
owner class: 0x00005651666ea970 [3LM R ] T_CLASS MiniTest::Unit
self: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
lvars:
method: 0x0000565166860610 [0 ] T_STRING (String) [shared] test_getaddrinfo_after_fork
inst: 0x000056516992b9e8 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007fc994cb71b8
start_time: T_NIL
result: T_NIL
c:0011 p:---- s:0073 e:000072 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x0000565166779bc0 [3LM R ] T_CLASS Array
self: 0x0000565166cf7c00 [0 ] T_ARRAY (Array)[ T] len: 38, capa:56 ptr:0x00007fc994941040
c:0010 p:0006 s:0069 e:000068 BLOCK /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/minitest/unit.rb:962
me:
called_id: _run_suite, type: iseq
owner class: 0x00005651666ea970 [3LM R ] T_CLASS MiniTest::Unit
self: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
lvars:
assertions: T_NIL
c:0009 p:0163 s:0065 E:001a90 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/minitest/unit.rb:989
me:
called_id: _run_suite, type: iseq
owner class: 0x00005651666ea970 [3LM R ] T_CLASS MiniTest::Unit
self: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
lvars:
suite: 0x0000565166858488 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
header: 0x00005651668611a0 [0 ] T_STRING (String)test_suite_header
filter: 0x000056516686f610 [3LM ] T_REGEXP
all_test_methods: 0x0000565166cf7d68 [0 ] T_ARRAY (Array)[ ] len: 38, capa:38 ptr:0x00005651679ab9b0
filtered_test_methods: 0x0000565166cf7c00 [0 ] T_ARRAY (Array)[ T] len: 38, capa:56 ptr:0x00007fc994941040
leakchecker: 0x0000565166cf7110 [0 ] T_OBJECT (LeakChecker)len:7 ptr:0x00007fc9949414d0
continuation: 0x0000565167a17f48 [0 ] proc (Proc) block in _run_suite@/tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/minitest/unit.rb:961
c:0008 p:0042 s:0053 e:000052 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit.rb:1133
me:
called_id: orig_run_suite, type: iseq
owner class: 0x00005651669ee8b0 [3LM ] T_MODULE (Module)Test::Unit::ExcludesOption
defined_class: 0x00005651669ede88 [3LM ] T_ICLASS src:Test::Unit::ExcludesOption
self: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
lvars:
suite: 0x0000565166858488 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
ex: T_NIL
c:0007 p:0103 s:0046 E:001040 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:55
me:
called_id: _run_suite, type: iseq
owner class: 0x00005651666e37d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
lvars:
suite: 0x0000565166858488 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
orig_testout: 0x0000565166769a68 [0LM U] T_FILE (IO)
i: 0x0000565166861600 [0 U] T_FILE (IO)
o: 0x00005651668615d8 [0 U] T_FILE (IO)
orig_stdin: 0x0000565166769ab8 [0LM U] T_FILE (IO)
orig_stdout: 0x0000565166769a68 [0LM U] T_FILE (IO)
th: 0x0000565166861588 [0 U] VM/thread (Thread)VM/thread
e: T_FIXNUM 0
f: T_FIXNUM 0
s: T_FIXNUM 6
result: T_NIL
c:0006 p:0008 s:0030 e:000029 BLOCK /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:31 [FINISH]
me:
called_id: _run_suites, type: iseq
owner class: 0x00005651666e37d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
lvars:
suite: 0x0000565166858488 [2 ] T_CLASS TestSocket
c:0005 p:---- s:0026 e:000025 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x0000565166779bc0 [3LM R ] T_CLASS Array
self: 0x00005651668616f0 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
c:0004 p:0005 s:0022 e:000021 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:30
me:
called_id: _run_suites, type: iseq
owner class: 0x00005651666e37d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
lvars:
suites: 0x00005651668616f0 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
type: T_SYMBOL test
c:0003 p:0259 s:0016 E:000d30 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:125
me:
called_id: run, type: iseq
owner class: 0x00005651666e37d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
lvars:
args: 0x0000565166768f50 [3LM ] T_ARRAY [E ] len: 0 (embed)
buf: 0x000056516959a8b0 [3LM ] T_STRING (String)run /tmp/ruby/v3/src/trunk-iseq_binary/test/socket/test_socket.rb test
suites: 0x000056516959a748 [3LM ] T_ARRAY (Array)[ ] len: 154, capa:154 ptr:0x0000565169df0de0
e: T_NIL
trace: T_NIL
err: T_NIL
c:0002 p:0142 s:0006 E:001d20 EVAL /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:208 [FINISH]
self: 0x0000565166798430 [3LM ] T_OBJECT (embed) len:3
c:0001 p:0000 s:0003 E:000880 (none) [FINISH]
self: 0x0000565166798430 [3LM ] T_OBJECT (embed) len:3
th: 0x565169d6b910, native_id: 0x7fc9924af700
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0012 e:000011 CFUNC :readpartial
me:
called_id: readpartial, type: cfunc
owner class: 0x000056516676b778 [3LM ] T_CLASS IO
self: 0x0000565166861600 [0 U] T_FILE (IO)
c:0002 p:0036 s:0007 e:000006 BLOCK /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:45 [FINISH]
me:
called_id: _run_suite, type: iseq
owner class: 0x00005651666e37d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x0000565166eff250 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x0000565166d6f490
lvars:
buf: 0x0000565169944100 [0 ] T_STRING (String).
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
self: T_NIL
th: 0x565169da0c30, native_id: 0x7fc9904af700
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0010 e:000009 CFUNC :read
me:
called_id: read, type: cfunc
owner class: 0x000056516676b778 [3LM ] T_CLASS IO
self: 0x000056516991e130 [0 U] T_FILE (IO)
c:0002 p:0005 s:0006 e:000005 BLOCK /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/envutil.rb:164 [FINISH]
me:
called_id: invoke_ruby, type: iseq
owner class: 0x00005651669fc988 [3LM ] T_CLASS (annon)
self: 0x00005651669fca00 [3LM ] T_MODULE EnvUtil
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
self: T_NIL
$1 = 0
">>> Finish
"[Inferior 1 (process 5803) detached]
[nil, 5803]
"gdb -p 5798 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
running file: /tmp/ruby/v3/src/trunk-iseq_binary/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-05T11:06:05Z"
5803: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, 5798]
#<Errno::ESRCH: No such process>
"gdb -p 5791 -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, 5791]
#<Errno::ESRCH: No such process>
"gdb -p 5790 -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 5790 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, 5790]
"gdb -p 15126 -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, 15126]
#<Errno::ESRCH: No such process>
0.008000 0.000000 1178.772000 (10802.425413)
/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: 10865.06 sec