rev: d7cda3b002
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.20201204-172859
#<BuildRuby:0x0000562fde79b9e0
@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.20201204-172859",
@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.000025)
autoconf 0.000000 0.000000 0.000000 ( 0.000051)
configure 0.000000 0.000000 0.000000 ( 0.000047)
build_up 0.008000 0.004000 3.956000 ( 4.891684)
build_miniruby 0.004000 0.000000 0.172000 ( 0.195227)
build_ruby 0.000000 0.000000 0.136000 ( 0.153528)
build_all 0.004000 0.012000 7.908000 ( 4.337265)
build_install 0.024000 0.000000 9.364000 ( 5.742027)
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 53.196000 ( 58.910123)
test_basic 0.012000 0.004000 0.736000 ( 0.949872)
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
20691 596 11 11 ? -1 R 1001 0:00 ps jx
11 20690 11 11 ? -1 S 1001 0:00 ruby ./br.rb build_report trunk-iseq_binary --incremental --process-num=6
20690 20691 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.20201204-172859 --root_dir=/tmp/ruby --timeout=10800 --add-env=RUBY_ISEQ_DUMP_DEBUG=to_binary --incremental --process-num=6
20691 23492 11 11 ? -1 S 1001 0:00 sh -c make yes-test-all TESTS='-j6'
23492 23493 11 11 ? -1 S 1001 0:00 make yes-test-all TESTS=-j6
23493 23500 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
23500 23506 11 11 ? -1 Sl 1001 1:28 /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb: TestSocket#test_getaddrinfo_after_fork
{10=>[11], 1=>[399], 20691=>[596, 23492], 11=>[20690], 20690=>[20691], 23492=>[23493], 23493=>[23500], 23500=>[23506]}
"gdb -p 596 -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, 596]
#<Errno::ESRCH: No such process>
"gdb -p 23506 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
[New LWP 23531]
[New LWP 32439]
[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.c0x00007f0128f03bf6 in __ppoll (fds=fds@entry=0x7ffe1b911d48, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
: No such file or directory.
>>> Threads Id Target Id Frame
* 1 Thread 0x7f0128b8cec0 (LWP 23506) "ruby" 0x00007f0128f03bf6 in __ppoll (fds=fds@entry=0x7ffe1b911d48, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
2 Thread 0x7f01261c1700 (LWP 23531) "parallel.rb:43" 0x00007f0128f03aff in __GI___poll (fds=fds@entry=0x7f01260c0680, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
3 Thread 0x7f0125249700 (LWP 32439) "envutil.rb:164" 0x00007f0128f03aff in __GI___poll (fds=fds@entry=0x7f0125148590, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>>> Machine level backtrace
Thread 3 (Thread 0x7f0125249700 (LWP 32439)):
#0 0x00007f0128f03aff in __GI___poll (fds=fds@entry=0x7f0125148590, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f01290f62e0 in poll (__timeout=-1, __nfds=1, __fds=0x7f0125148590) 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=0x7f0125148700) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:1085
#5 0x00007f012924b77d in rb_thread_io_blocking_region (func=func@entry=0x7f01290f6220 <internal_read_func>, data1=data1@entry=0x7f0125148700, fd=fd@entry=11) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1805
#6 0x00007f01290ff254 in rb_read_internal (count=8132, buf=0x7f00c800196c, fd=11) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:1136
#7 io_bufread (fptr=0x55c43ebf86e0, len=8192, ptr=0x7f00c8001930 "-:4:in `<main>': uninitialized constant Timeout (NameError)\n") at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2580
#8 bufread_call (arg=arg@entry=139642893797488) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2619
#9 0x00007f01290be56e in rb_ensure (b_proc=b_proc@entry=0x7f01290ff080 <bufread_call>, data1=data1@entry=139642893797488, e_proc=e_proc@entry=0x7f01292159e0 <rb_str_unlocktmp>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:1158
#10 0x00007f012922d801 in rb_str_locktmp_ensure (str=<optimized out>, func=func@entry=0x7f01290ff080 <bufread_call>, arg=arg@entry=139642893797488) at /tmp/ruby/v3/src/trunk-iseq_binary/string.c:2786
#11 0x00007f01290f796e in io_fread (str=<optimized out>, offset=offset@entry=0, size=size@entry=8192, fptr=fptr@entry=0x55c43ebf86e0) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2644
#12 0x00007f01290fe2d6 in read_all (fptr=fptr@entry=0x55c43ebf86e0, siz=8192, str=<optimized out>, str@entry=8) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2916
#13 0x00007f0129104eb6 in io_read (argc=<optimized out>, argv=<optimized out>, io=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:3276
#14 0x00007f0129281963 in vm_call_cfunc_with_frame (ec=0x55c43e4e8250, reg_cfp=0x7f0125248c90, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#15 0x00007f012928e9f7 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=0x55c43e4e8250, initial=1) at ../../src/trunk-iseq_binary/insns.def:789
#17 0x00007f0129294413 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2162
#18 0x00007f0129299c63 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x55c43e4262d0, argc=argc@entry=0, argv=argv@entry=0x7f0125148c50, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1486
#19 0x00007f012924c221 in thread_do_start_proc (th=0x55c43effc770) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:745
#20 0x00007f012924c98f in thread_do_start (th=0x55c43effc770) 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 0x00007f012924d2e2 in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread_pthread.c:994
#23 0x00007f0128db8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#24 0x00007f0128f10293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7f01261c1700 (LWP 23531)):
#0 0x00007f0128f03aff in __GI___poll (fds=fds@entry=0x7f01260c0680, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f01290f62e0 in poll (__timeout=-1, __nfds=1, __fds=0x7f01260c0680) 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=0x7f01260c08e0) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:1085
#5 0x00007f012924b77d in rb_thread_io_blocking_region (func=0x7f01290f6220 <internal_read_func>, data1=0x7f01260c08e0, fd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1805
#6 0x00007f01290be56e in rb_ensure (b_proc=b_proc@entry=0x7f01290f49d0 <read_internal_call>, data1=data1@entry=139642910017760, e_proc=e_proc@entry=0x7f01292159e0 <rb_str_unlocktmp>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:1158
#7 0x00007f012922d801 in rb_str_locktmp_ensure (str=<optimized out>, func=func@entry=0x7f01290f49d0 <read_internal_call>, arg=arg@entry=139642910017760) at /tmp/ruby/v3/src/trunk-iseq_binary/string.c:2786
#8 0x00007f012910adb4 in read_internal_locktmp (iis=0x7f01260c08e0, 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 0x00007f012910b1e5 in io_readpartial (argc=<optimized out>, argv=<optimized out>, io=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:3089
#11 0x00007f0129281963 in vm_call_cfunc_with_frame (ec=0x55c43f27ef30, reg_cfp=0x7f01261c0c90, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#12 0x00007f012928e9f7 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=0x55c43f27ef30, initial=1) at ../../src/trunk-iseq_binary/insns.def:789
#14 0x00007f0129294413 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2162
#15 0x00007f0129299c63 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x55c43f28ed60, argc=argc@entry=0, argv=argv@entry=0x7f01260c0c50, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1486
#16 0x00007f012924c221 in thread_do_start_proc (th=0x55c43d23c670) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:745
#17 0x00007f012924c98f in thread_do_start (th=0x55c43d23c670) 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 0x00007f012924d2e2 in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread_pthread.c:994
#20 0x00007f0128db8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#21 0x00007f0128f10293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7f0128b8cec0 (LWP 23506)):
#0 0x00007f0128f03bf6 in __ppoll (fds=fds@entry=0x7ffe1b911d48, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1 0x00007f0129246d90 in rb_sigwait_sleep (th=th@entry=0x55c43a3e5f30, sigwait_fd=sigwait_fd@entry=3, rel=rel@entry=0x0) at /tmp/ruby/v3/src/trunk-iseq_binary/hrtime.h:148
#2 0x00007f0129247d9b in native_sleep (th=<optimized out>, rel=0x0) at /tmp/ruby/v3/src/trunk-iseq_binary/thread_pthread.c:2155
#3 0x00007f012924a968 in thread_join_sleep (arg=arg@entry=140729360916320) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1186
#4 0x00007f01290be56e in rb_ensure (b_proc=b_proc@entry=0x7f012924a6f0 <thread_join_sleep>, data1=data1@entry=140729360916320, e_proc=e_proc@entry=0x7f0129241260 <remove_from_join_list>, data2=data2@entry=140729360916320) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:1158
#5 0x00007f0129243f01 in thread_join (timeout=8, target_th=0x55c43effc770) 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 0x00007f0129281963 in vm_call_cfunc_with_frame (ec=0x55c43a3e65b0, reg_cfp=0x7f0128b8ac20, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#8 0x00007f012928e9f7 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=0x55c43a3e65b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:789
#10 0x00007f0129294cd4 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2171
#11 0x00007f0129298dae in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94301287513320, iseq=0x55c43a601270, ec=0x55c43a3e65b0) 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=0x7ffe1b912270, argc=1, self=94301287513320, captured=<optimized out>, ec=0x55c43a3e65b0) 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=0x7ffe1b912270, ec=0x55c43a3e65b0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1399
#15 rb_yield_0 (argv=0x7ffe1b912270, 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 0x00007f012902792c in rb_ary_collect (ary=94301280644920) at /tmp/ruby/v3/src/trunk-iseq_binary/include/ruby/internal/core/rarray.h:172
#19 0x00007f0129281963 in vm_call_cfunc_with_frame (ec=0x55c43a3e65b0, reg_cfp=0x7f0128b8ade0, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#20 0x00007f012928eafb 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=0x55c43a3e65b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:770
#22 0x00007f0129294413 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2162
#23 0x00007f0129298dae in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94301287513320, iseq=0x55c43a4206e0, ec=0x55c43a3e65b0) 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=0x7ffe1b9125d0, argc=1, self=94301287513320, captured=<optimized out>, ec=0x55c43a3e65b0) 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=0x7ffe1b9125d0, ec=0x55c43a3e65b0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1399
#27 rb_yield_0 (argv=0x7ffe1b9125d0, 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 0x00007f012902792c in rb_ary_collect (ary=94301284900160) at /tmp/ruby/v3/src/trunk-iseq_binary/include/ruby/internal/core/rarray.h:172
#31 0x00007f0129281963 in vm_call_cfunc_with_frame (ec=0x55c43a3e65b0, reg_cfp=0x7f0128b8af30, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#32 0x00007f012928eafb 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=0x55c43a3e65b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:770
#34 0x00007f0129294cd4 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2171
#35 0x00007f01290baa9d in rb_ec_exec_node (ec=ec@entry=0x55c43a3e65b0, n=n@entry=0x55c43a420d20) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:317
#36 0x00007f01290c09aa in ruby_run_node (n=0x55c43a420d20) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:375
#37 0x000055c43846c1d3 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/main.c:50
>>> Dump Ruby level backtrace
th: 0x55c43a3e5f30, native_id: 0x7f0128b8cec0
-- Control frame information -----------------------------------------------
c:0019 p:---- s:0157 e:000156 CFUNC :value
me:
called_id: value, type: cfunc
owner class: 0x000055c43a459710 [3LM ] T_CLASS Thread
self: 0x000055c43d2080a8 [0 U] VM/thread (Thread)VM/thread
c:0018 p:0591 s:0153 E:001048 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/envutil.rb:174
me:
called_id: invoke_ruby, type: iseq
owner class: 0x000055c43a704988 [3LM ] T_CLASS (annon)
self: 0x000055c43a704a00 [3LM ] T_MODULE EnvUtil
lvars:
args: 0x000055c43d209890 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
stdin_data: 0x000055c43ed9d8e0 [1 ] 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: 0x000055c43a706030 [3LM ] T_CLASS Timeout::Error
stdout_filter: T_NIL
stderr_filter: T_NIL
signal: T_SYMBOL TERM
rubybin: 0x000055c43d209818 [0 ] T_STRING (String)/tmp/ruby/v3/build/trunk-iseq_binary/ruby
precommand: T_NIL
(null): T_FIXNUM 136
opt: 0x000055c43d209840 [0 ] T_HASH (Hash)[AT] 3
in_c: 0x000055c43d2097a0 [0 U] T_FILE (IO)
in_p: 0x000055c43d209778 [0 U] T_FILE (IO)
out_p: 0x000055c43d209728 [0 U] T_FILE (IO)
out_c: T_NIL
err_p: T_NIL
err_c: T_NIL
c: 0x000055c43a6385e0 [3LM ] T_STRING (String)C
child_env: 0x000055c43d209688 [0 ] T_HASH (Hash)[AT] 3
lib: T_NIL
pid: T_FIXNUM 378
th_stdout: 0x000055c43d2080a8 [0 U] VM/thread (Thread)VM/thread
th_stderr: T_NIL
status: 0x000055c43d1efaa8 [0 ] T_OBJECT (Process::Status)(embed) len:3
terminated: 0x000055c43d1efa30 [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: 0x000055c43a5940d0 [3LM ] T_MODULE (Module)Test::Unit::CoreAssertions
defined_class: 0x000055c43a639620 [3LM ] T_ICLASS src:Test::Unit::CoreAssertions
self: 0x000055c43d213a20 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f01288f73f8
lvars:
testsrc: 0x000055c43ed9d8e0 [1 ] 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: 0x000055c43ed9d8b8 [1 ] T_STRING (String)[ruby-core:100329] [Bug #17220]
child_env: 0x000055c43d2098e0 [0 ] T_ARRAY (Array)[E ] len: 0 (embed)
(null): T_FIXNUM 0
opt: 0x000055c43d2136d8 [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: 0x000055c43a960c40 [2 ] T_CLASS TestSocket
self: 0x000055c43d213a20 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f01288f73f8
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: 0x000055c43a3f03f0 [3LM R ] T_CLASS MiniTest::Unit::TestCase
self: 0x000055c43d213a20 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f01288f73f8
lvars:
name: 0x000055c43a55bf00 [0 ] T_STRING (String) [shared] test_getaddrinfo_after_fork
progname: 0x000055c43a442768 [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: 0x000055c43a3f03f0 [3LM R ] T_CLASS MiniTest::Unit::TestCase
self: 0x000055c43d213a20 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f01288f73f8
lvars:
runner: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
start_time: 0x000055c43d2139f8 [0 U] time (Time)time
result: 0x000055c43a4384c0 [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: 0x000055c43a639828 [3LM ] T_CLASS Test::Unit::TestCase
self: 0x000055c43d213a20 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f01288f73f8
lvars:
runner: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
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: 0x000055c43a3f2970 [3LM R ] T_CLASS MiniTest::Unit
self: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
lvars:
method: 0x000055c43a55bf00 [0 ] T_STRING (String) [shared] test_getaddrinfo_after_fork
inst: 0x000055c43d213a20 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f01288f73f8
start_time: T_NIL
result: T_NIL
c:0011 p:---- s:0073 e:000072 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x000055c43a481bc0 [3LM R ] T_CLASS Array
self: 0x000055c43a55af38 [0 ] T_ARRAY (Array)[ T] len: 38, capa:56 ptr:0x00007f0128929238
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: 0x000055c43a3f2970 [3LM R ] T_CLASS MiniTest::Unit
self: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
lvars:
assertions: T_NIL
c:0009 p:0163 s:0065 E:000280 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/minitest/unit.rb:989
me:
called_id: _run_suite, type: iseq
owner class: 0x000055c43a3f2970 [3LM R ] T_CLASS MiniTest::Unit
self: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
lvars:
suite: 0x000055c43a960c40 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
header: 0x000055c43a968bc0 [0 ] T_STRING (String)test_suite_header
filter: 0x000055c43a4281b0 [3LM ] T_REGEXP
all_test_methods: 0x000055c43a55b0f0 [0 ] T_ARRAY (Array)[ ] len: 38, capa:38 ptr:0x000055c43edebcc0
filtered_test_methods: 0x000055c43a55af38 [0 ] T_ARRAY (Array)[ T] len: 38, capa:56 ptr:0x00007f0128929238
leakchecker: 0x000055c43a558c60 [0 ] T_OBJECT (LeakChecker)len:7 ptr:0x00007f01289296c8
continuation: 0x000055c43a561658 [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: 0x000055c43a6f68b0 [3LM ] T_MODULE (Module)Test::Unit::ExcludesOption
defined_class: 0x000055c43a6f5e88 [3LM ] T_ICLASS src:Test::Unit::ExcludesOption
self: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
lvars:
suite: 0x000055c43a960c40 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
ex: T_NIL
c:0007 p:0103 s:0046 E:0012d0 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:55
me:
called_id: _run_suite, type: iseq
owner class: 0x000055c43a3eb7d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
lvars:
suite: 0x000055c43a960c40 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
orig_testout: 0x000055c43a471a68 [0LM U] T_FILE (IO)
i: 0x000055c43a969548 [0 U] T_FILE (IO)
o: 0x000055c43a969520 [0 U] T_FILE (IO)
orig_stdin: 0x000055c43a471ab8 [0LM U] T_FILE (IO)
orig_stdout: 0x000055c43a471a68 [0LM U] T_FILE (IO)
th: 0x000055c43a9694d0 [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: 0x000055c43a3eb7d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
lvars:
suite: 0x000055c43a960c40 [2 ] T_CLASS TestSocket
c:0005 p:---- s:0026 e:000025 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x000055c43a481bc0 [3LM R ] T_CLASS Array
self: 0x000055c43a969d40 [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: 0x000055c43a3eb7d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
lvars:
suites: 0x000055c43a969d40 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
type: T_SYMBOL test
c:0003 p:0259 s:0016 E:002460 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:125
me:
called_id: run, type: iseq
owner class: 0x000055c43a3eb7d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
lvars:
args: 0x000055c43a470f50 [3LM ] T_ARRAY [E ] len: 0 (embed)
buf: 0x000055c43f2b2ce0 [3LM ] T_STRING (String)run /tmp/ruby/v3/src/trunk-iseq_binary/test/socket/test_socket.rb test
suites: 0x000055c43f2b28a8 [3LM ] T_ARRAY (Array)[ ] len: 217, capa:217 ptr:0x000055c43f3a7fa0
e: T_NIL
trace: T_NIL
err: T_NIL
c:0002 p:0142 s:0006 E:0017a0 EVAL /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:208 [FINISH]
self: 0x000055c43a4a0430 [3LM ] T_OBJECT (embed) len:3
c:0001 p:0000 s:0003 E:000ba0 (none) [FINISH]
self: 0x000055c43a4a0430 [3LM ] T_OBJECT (embed) len:3
th: 0x55c43d23c670, native_id: 0x7f01261c1700
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0012 e:000011 CFUNC :readpartial
me:
called_id: readpartial, type: cfunc
owner class: 0x000055c43a473778 [3LM ] T_CLASS IO
self: 0x000055c43a969548 [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: 0x000055c43a3eb7d8 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055c43abe7ce8 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055c43a9816c0
lvars:
buf: 0x000055c43f29d458 [0 ] T_STRING (String).
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
self: T_NIL
th: 0x55c43effc770, native_id: 0x7f0125249700
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0010 e:000009 CFUNC :read
me:
called_id: read, type: cfunc
owner class: 0x000055c43a473778 [3LM ] T_CLASS IO
self: 0x000055c43d209728 [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: 0x000055c43a704988 [3LM ] T_CLASS (annon)
self: 0x000055c43a704a00 [3LM ] T_MODULE EnvUtil
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
self: T_NIL
$1 = 0
">>> Finish
"[Inferior 1 (process 23506) detached]
[nil, 23506]
"gdb -p 23500 -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-04T20:30:16Z"
23506: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, 23500]
#<Errno::ESRCH: No such process>
"gdb -p 23493 -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, 23493]
#<Errno::ESRCH: No such process>
"gdb -p 23492 -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 23492 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, 23492]
0.008000 0.000000 1261.672000 (10802.617083)
/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: 10877.80 sec