rev: 3b5b309b7b
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-044610
#<BuildRuby:0x00005578968c7a30
@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-044610",
@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.000028)
autoconf 0.000000 0.000000 0.000000 ( 0.000049)
configure 0.000000 0.000000 0.000000 ( 0.000045)
build_up 0.004000 0.008000 3.584000 ( 4.475208)
build_miniruby 0.004000 0.000000 0.128000 ( 0.134692)
build_ruby 0.000000 0.004000 0.180000 ( 0.211463)
build_all 0.012000 0.000000 7.896000 ( 4.154075)
build_install 0.016000 0.012000 9.396000 ( 5.626749)
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 51.756000 ( 55.668111)
test_basic 0.012000 0.000000 0.664000 ( 0.803591)
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
1 5322 11 11 ? -1 S 1001 0:00 /tmp/ruby/v3/build/trunk-iseq_binary/ruby -W0
25736 5517 11 11 ? -1 R 1001 0:00 ps jx
11 25735 11 11 ? -1 S 1001 0:00 ruby ./br.rb build_report trunk-iseq_binary --incremental --process-num=6
25735 25736 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-044610 --root_dir=/tmp/ruby --timeout=10800 --add-env=RUBY_ISEQ_DUMP_DEBUG=to_binary --incremental --process-num=6
1 27466 11 11 ? -1 S 1001 0:00 /tmp/ruby/v3/build/trunk-iseq_binary/ruby -W0
25736 28538 11 11 ? -1 S 1001 0:00 sh -c make yes-test-all TESTS='-j6'
28538 28539 11 11 ? -1 S 1001 0:00 make yes-test-all TESTS=-j6
28539 28546 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
28546 28550 11 11 ? -1 Sl 1001 1:25 /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb: TestSocket#test_getaddrinfo_after_fork
{10=>[11], 1=>[399, 5322, 27466], 25736=>[5517, 28538], 11=>[25735], 25735=>[25736], 28538=>[28539], 28539=>[28546], 28546=>[28550]}
"gdb -p 5517 -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, 5517]
#<Errno::ESRCH: No such process>
"gdb -p 28550 -x /home/ko1/ruby/build-ruby/gdbscript -batch -quiet"
[New LWP 28570]
[New LWP 5277]
[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.
0x00007f581e4f4bf6 in __ppoll (fds=fds@entry=0x7fffdb6f0928, 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 0x7f581e17dec0 (LWP 28550) "ruby" 0x00007f581e4f4bf6 in __ppoll (fds=fds@entry=0x7fffdb6f0928, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
2 Thread 0x7f581b7b7700 (LWP 28570) "parallel.rb:43" 0x00007f581e4f4aff in __GI___poll (fds=fds@entry=0x7f581b6b6680, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
3 Thread 0x7f581b575700 (LWP 5277) "envutil.rb:164" 0x00007f581e4f4aff in __GI___poll (fds=fds@entry=0x7f581b474590, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>>> Machine level backtrace
Thread 3 (Thread 0x7f581b575700 (LWP 5277)):
#0 0x00007f581e4f4aff in __GI___poll (fds=fds@entry=0x7f581b474590, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f581e6e72e0 in poll (__timeout=-1, __nfds=1, __fds=0x7f581b474590) 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=0x7f581b474700) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:1085
#5 0x00007f581e83c74f in rb_thread_io_blocking_region (func=func@entry=0x7f581e6e7220 <internal_read_func>, data1=data1@entry=0x7f581b474700, fd=fd@entry=11) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1805
#6 0x00007f581e6f0254 in rb_read_internal (count=8132, buf=0x7f57fc11b62c, fd=11) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:1136
#7 io_bufread (fptr=0x55a5c690e0d0, len=8192, ptr=0x7f57fc11b5f0 "-:4:in `<main>': uninitialized constant Timeout (NameError)\nems\n") at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2580
#8 bufread_call (arg=arg@entry=140016391506032) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2619
#9 0x00007f581e6af56e in rb_ensure (b_proc=b_proc@entry=0x7f581e6f0080 <bufread_call>, data1=data1@entry=140016391506032, e_proc=e_proc@entry=0x7f581e8069e0 <rb_str_unlocktmp>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:1158
#10 0x00007f581e81e801 in rb_str_locktmp_ensure (str=<optimized out>, func=func@entry=0x7f581e6f0080 <bufread_call>, arg=arg@entry=140016391506032) at /tmp/ruby/v3/src/trunk-iseq_binary/string.c:2786
#11 0x00007f581e6e896e in io_fread (str=<optimized out>, offset=offset@entry=0, size=size@entry=8192, fptr=fptr@entry=0x55a5c690e0d0) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2644
#12 0x00007f581e6ef2d6 in read_all (fptr=fptr@entry=0x55a5c690e0d0, siz=8192, str=<optimized out>, str@entry=8) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:2916
#13 0x00007f581e6f5eb6 in io_read (argc=<optimized out>, argv=<optimized out>, io=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:3276
#14 0x00007f581e872953 in vm_call_cfunc_with_frame (ec=0x55a5c699b550, reg_cfp=0x7f581b574c90, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#15 0x00007f581e87f9e7 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=0x55a5c699b550, initial=1) at ../../src/trunk-iseq_binary/insns.def:789
#17 0x00007f581e885403 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2162
#18 0x00007f581e88ac53 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x55a5c503e660, argc=argc@entry=0, argv=argv@entry=0x7f581b474c50, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1486
#19 0x00007f581e83d201 in thread_do_start_proc (th=0x55a5c6c2a290) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:745
#20 0x00007f581e83d96f in thread_do_start (th=0x55a5c6c2a290) 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 0x00007f581e83e2c2 in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread_pthread.c:994
#23 0x00007f581e3a9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#24 0x00007f581e501293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7f581b7b7700 (LWP 28570)):
#0 0x00007f581e4f4aff in __GI___poll (fds=fds@entry=0x7f581b6b6680, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f581e6e72e0 in poll (__timeout=-1, __nfds=1, __fds=0x7f581b6b6680) 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=0x7f581b6b68e0) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:1085
#5 0x00007f581e83c74f in rb_thread_io_blocking_region (func=0x7f581e6e7220 <internal_read_func>, data1=0x7f581b6b68e0, fd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1805
#6 0x00007f581e6af56e in rb_ensure (b_proc=b_proc@entry=0x7f581e6e59d0 <read_internal_call>, data1=data1@entry=140016393873632, e_proc=e_proc@entry=0x7f581e8069e0 <rb_str_unlocktmp>, data2=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:1158
#7 0x00007f581e81e801 in rb_str_locktmp_ensure (str=<optimized out>, func=func@entry=0x7f581e6e59d0 <read_internal_call>, arg=arg@entry=140016393873632) at /tmp/ruby/v3/src/trunk-iseq_binary/string.c:2786
#8 0x00007f581e6fbdb4 in read_internal_locktmp (iis=0x7f581b6b68e0, 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 0x00007f581e6fc1e5 in io_readpartial (argc=<optimized out>, argv=<optimized out>, io=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/io.c:3089
#11 0x00007f581e872953 in vm_call_cfunc_with_frame (ec=0x55a5c5d9dc40, reg_cfp=0x7f581b7b6c90, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#12 0x00007f581e87f9e7 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=0x55a5c5d9dc40, initial=1) at ../../src/trunk-iseq_binary/insns.def:789
#14 0x00007f581e885403 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2162
#15 0x00007f581e88ac53 in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x55a5c6ea4e30, argc=argc@entry=0, argv=argv@entry=0x7f581b6b6c50, kw_splat=<optimized out>, passed_block_handler=passed_block_handler@entry=0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1486
#16 0x00007f581e83d201 in thread_do_start_proc (th=0x55a5c4b08670) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:745
#17 0x00007f581e83d96f in thread_do_start (th=0x55a5c4b08670) 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 0x00007f581e83e2c2 in thread_start_func_1 (th_ptr=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/thread_pthread.c:994
#20 0x00007f581e3a9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#21 0x00007f581e501293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7f581e17dec0 (LWP 28550)):
#0 0x00007f581e4f4bf6 in __ppoll (fds=fds@entry=0x7fffdb6f0928, nfds=nfds@entry=1, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1 0x00007f581e837d60 in rb_sigwait_sleep (th=th@entry=0x55a5c0af9f30, sigwait_fd=sigwait_fd@entry=3, rel=rel@entry=0x0) at /tmp/ruby/v3/src/trunk-iseq_binary/hrtime.h:148
#2 0x00007f581e838d6b in native_sleep (th=<optimized out>, rel=0x0) at /tmp/ruby/v3/src/trunk-iseq_binary/thread_pthread.c:2155
#3 0x00007f581e83b938 in thread_join_sleep (arg=arg@entry=140736874875712) at /tmp/ruby/v3/src/trunk-iseq_binary/thread.c:1186
#4 0x00007f581e6af56e in rb_ensure (b_proc=b_proc@entry=0x7f581e83b6c0 <thread_join_sleep>, data1=data1@entry=140736874875712, e_proc=e_proc@entry=0x7f581e832240 <remove_from_join_list>, data2=data2@entry=140736874875712) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:1158
#5 0x00007f581e834ed1 in thread_join (timeout=8, target_th=0x55a5c6c2a290) 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 0x00007f581e872953 in vm_call_cfunc_with_frame (ec=0x55a5c0afa5b0, reg_cfp=0x7f581e17bc20, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#8 0x00007f581e87f9e7 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=0x55a5c0afa5b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:789
#10 0x00007f581e885cc4 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2171
#11 0x00007f581e889d9e in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94170399191120, iseq=0x55a5c0d15248, ec=0x55a5c0afa5b0) 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=0x7fffdb6f0e50, argc=1, self=94170399191120, captured=<optimized out>, ec=0x55a5c0afa5b0) 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=0x7fffdb6f0e50, ec=0x55a5c0afa5b0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1399
#15 rb_yield_0 (argv=0x7fffdb6f0e50, 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 0x00007f581e61892c in rb_ary_collect (ary=94170433998880) at /tmp/ruby/v3/src/trunk-iseq_binary/include/ruby/internal/core/rarray.h:172
#19 0x00007f581e872953 in vm_call_cfunc_with_frame (ec=0x55a5c0afa5b0, reg_cfp=0x7f581e17bde0, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#20 0x00007f581e87faeb 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=0x55a5c0afa5b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:770
#22 0x00007f581e885403 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2162
#23 0x00007f581e889d9e in invoke_block (captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=94170399191120, iseq=0x55a5c0b346e0, ec=0x55a5c0afa5b0) 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=0x7fffdb6f11b0, argc=1, self=94170399191120, captured=<optimized out>, ec=0x55a5c0afa5b0) 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=0x7fffdb6f11b0, ec=0x55a5c0afa5b0) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:1399
#27 rb_yield_0 (argv=0x7fffdb6f11b0, 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 0x00007f581e61892c in rb_ary_collect (ary=94170434002600) at /tmp/ruby/v3/src/trunk-iseq_binary/include/ruby/internal/core/rarray.h:172
#31 0x00007f581e872953 in vm_call_cfunc_with_frame (ec=0x55a5c0afa5b0, reg_cfp=0x7f581e17bf30, calling=<optimized out>, cd=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/vm_insnhelper.c:2821
#32 0x00007f581e87faeb 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=0x55a5c0afa5b0, initial=1) at ../../src/trunk-iseq_binary/insns.def:770
#34 0x00007f581e885cc4 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=1) at /tmp/ruby/v3/src/trunk-iseq_binary/vm.c:2171
#35 0x00007f581e6aba9d in rb_ec_exec_node (ec=ec@entry=0x55a5c0afa5b0, n=n@entry=0x55a5c0b34d20) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:317
#36 0x00007f581e6b19aa in ruby_run_node (n=0x55a5c0b34d20) at /tmp/ruby/v3/src/trunk-iseq_binary/eval.c:375
#37 0x000055a5bf1571d3 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/ruby/v3/src/trunk-iseq_binary/main.c:50
>>> Dump Ruby level backtrace
th: 0x55a5c0af9f30, native_id: 0x7f581e17dec0
-- Control frame information -----------------------------------------------
c:0019 p:---- s:0157 e:000156 CFUNC :value
me:
called_id: value, type: cfunc
owner class: 0x000055a5c0b6d710 [3LM ] T_CLASS Thread
self: 0x000055a5c6157478 [0 U] VM/thread (Thread)VM/thread
c:0018 p:0591 s:0153 E:000548 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/envutil.rb:174
me:
called_id: invoke_ruby, type: iseq
owner class: 0x000055a5c0e18a50 [3LM R ] T_CLASS (annon)
self: 0x000055a5c0e18ac8 [3LM ] T_MODULE EnvUtil
lvars:
args: 0x000055a5c616c738 [0 ] T_ARRAY (Array)[E ] len: 1 (embed)
stdin_data: 0x000055a5c48aace0 [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: 0x000055a5c0e1a0f8 [3LM ] T_CLASS Timeout::Error
stdout_filter: T_NIL
stderr_filter: T_NIL
signal: T_SYMBOL TERM
rubybin: 0x000055a5c616c6c0 [0 ] T_STRING (String)/tmp/ruby/v3/build/trunk-iseq_binary/ruby
precommand: T_NIL
(null): T_FIXNUM 136
opt: 0x000055a5c616c6e8 [0 ] T_HASH (Hash)[AT] 3
in_c: 0x000055a5c616c698 [0 U] T_FILE (IO)
in_p: 0x000055a5c616c670 [0 U] T_FILE (IO)
out_p: 0x000055a5c616c620 [0 U] T_FILE (IO)
out_c: T_NIL
err_p: T_NIL
err_c: T_NIL
c: 0x000055a5c0d4c6a8 [3LM ] T_STRING (String)C
child_env: 0x000055a5c616c5a8 [0 ] T_HASH (Hash)[AT] 3
lib: T_NIL
pid: T_FIXNUM 5297
th_stdout: 0x000055a5c6157478 [0 U] VM/thread (Thread)VM/thread
th_stderr: T_NIL
status: 0x000055a5c6156ff0 [0 ] T_OBJECT (Process::Status)(embed) len:3
terminated: 0x000055a5c6156f78 [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: 0x000055a5c0ca8198 [3LM ] T_MODULE (Module)Test::Unit::CoreAssertions
defined_class: 0x000055a5c0d4d6e8 [3LM ] T_ICLASS src:Test::Unit::CoreAssertions
self: 0x000055a5c617cd90 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f581de7a268
lvars:
testsrc: 0x000055a5c48aace0 [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: 0x000055a5c48aacb8 [1 ] T_STRING (String)[ruby-core:100329] [Bug #17220]
child_env: 0x000055a5c616c788 [0 ] T_ARRAY (Array)[E ] len: 0 (embed)
(null): T_FIXNUM 0
opt: 0x000055a5c617cbb0 [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: 0x000055a5c3446dd0 [2 ] T_CLASS TestSocket
self: 0x000055a5c617cd90 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f581de7a268
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: 0x000055a5c0b0fcc8 [3LM R ] T_CLASS MiniTest::Unit::TestCase
self: 0x000055a5c617cd90 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f581de7a268
lvars:
name: 0x000055a5c3445660 [0 ] T_STRING (String) [shared] test_getaddrinfo_after_fork
progname: 0x000055a5c0b56768 [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: 0x000055a5c0b0fcc8 [3LM R ] T_CLASS MiniTest::Unit::TestCase
self: 0x000055a5c617cd90 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f581de7a268
lvars:
runner: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
start_time: 0x000055a5c617cd68 [0 U] time (Time)time
result: 0x000055a5c0b4c4c0 [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: 0x000055a5c0d4d8f0 [3LM ] T_CLASS Test::Unit::TestCase
self: 0x000055a5c617cd90 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f581de7a268
lvars:
runner: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
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: 0x000055a5c0b06768 [3LM R ] T_CLASS MiniTest::Unit
self: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
lvars:
method: 0x000055a5c3445660 [0 ] T_STRING (String) [shared] test_getaddrinfo_after_fork
inst: 0x000055a5c617cd90 [0 ] T_OBJECT (TestSocket)len:7 ptr:0x00007f581de7a268
start_time: T_NIL
result: T_NIL
c:0011 p:---- s:0073 e:000072 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x000055a5c0b95bc0 [3LM R ] T_CLASS Array
self: 0x000055a5c3445020 [0 ] T_ARRAY (Array)[ T] len: 38, capa:56 ptr:0x00007f581df4c0b0
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: 0x000055a5c0b06768 [3LM R ] T_CLASS MiniTest::Unit
self: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
lvars:
assertions: T_NIL
c:0009 p:0163 s:0065 E:002470 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/minitest/unit.rb:989
me:
called_id: _run_suite, type: iseq
owner class: 0x000055a5c0b06768 [3LM R ] T_CLASS MiniTest::Unit
self: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
lvars:
suite: 0x000055a5c3446dd0 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
header: 0x000055a5c34459a8 [0 ] T_STRING (String)test_suite_header
filter: 0x000055a5c0c8b840 [3LM ] T_REGEXP
all_test_methods: 0x000055a5c3445070 [0 ] T_ARRAY (Array)[ ] len: 38, capa:38 ptr:0x000055a5c6658b50
filtered_test_methods: 0x000055a5c3445020 [0 ] T_ARRAY (Array)[ T] len: 38, capa:56 ptr:0x00007f581df4c0b0
leakchecker: 0x000055a5c3444aa8 [0 ] T_OBJECT (LeakChecker)len:7 ptr:0x00007f581df4c540
continuation: 0x000055a5c62df110 [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: 0x000055a5c0e0a978 [3LM ] T_MODULE (Module)Test::Unit::ExcludesOption
defined_class: 0x000055a5c0e09f50 [3LM ] T_ICLASS src:Test::Unit::ExcludesOption
self: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
lvars:
suite: 0x000055a5c3446dd0 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
ex: T_NIL
c:0007 p:0103 s:0046 E:000870 METHOD /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:55
me:
called_id: _run_suite, type: iseq
owner class: 0x000055a5c0afef68 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
lvars:
suite: 0x000055a5c3446dd0 [2 ] T_CLASS TestSocket
type: T_SYMBOL test
orig_testout: 0x000055a5c0b85a68 [0LM U] T_FILE (IO)
i: 0x000055a5c3445de0 [0 U] T_FILE (IO)
o: 0x000055a5c3445d90 [0 U] T_FILE (IO)
orig_stdin: 0x000055a5c0b85ab8 [0LM U] T_FILE (IO)
orig_stdout: 0x000055a5c0b85a68 [0LM U] T_FILE (IO)
th: 0x000055a5c3445d40 [0 U] VM/thread (Thread)VM/thread
e: T_FIXNUM 0
f: T_FIXNUM 0
s: T_FIXNUM 8
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: 0x000055a5c0afef68 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
lvars:
suite: 0x000055a5c3446dd0 [2 ] T_CLASS TestSocket
c:0005 p:---- s:0026 e:000025 CFUNC :map
me:
called_id: map, type: cfunc
owner class: 0x000055a5c0b95bc0 [3LM R ] T_CLASS Array
self: 0x000055a5c3445ea8 [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: 0x000055a5c0afef68 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
lvars:
suites: 0x000055a5c3445ea8 [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-iseq_binary/tool/lib/test/unit/parallel.rb:125
me:
called_id: run, type: iseq
owner class: 0x000055a5c0afef68 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
lvars:
args: 0x000055a5c0b84f50 [3LM ] T_ARRAY [E ] len: 0 (embed)
buf: 0x000055a5c492abc0 [3LM ] T_STRING (String)run /tmp/ruby/v3/src/trunk-iseq_binary/test/socket/test_socket.rb test
suites: 0x000055a5c492aa58 [1 ] T_ARRAY (Array)[ ] len: 177, capa:177 ptr:0x000055a5c5a5b060
e: T_NIL
trace: T_NIL
err: T_NIL
c:0002 p:0142 s:0006 e:000005 EVAL /tmp/ruby/v3/src/trunk-iseq_binary/tool/lib/test/unit/parallel.rb:208 [FINISH]
self: 0x000055a5c0bb4430 [3LM ] T_OBJECT (embed) len:3
c:0001 p:0000 s:0003 E:001640 (none) [FINISH]
self: 0x000055a5c0bb4430 [3LM ] T_OBJECT (embed) len:3
th: 0x55a5c4b08670, native_id: 0x7f581b7b7700
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0012 e:000011 CFUNC :readpartial
me:
called_id: readpartial, type: cfunc
owner class: 0x000055a5c0b87778 [3LM ] T_CLASS IO
self: 0x000055a5c3445de0 [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: 0x000055a5c0afef68 [3LM ] T_CLASS Test::Unit::Worker
self: 0x000055a5c1313050 [3LM R ] T_OBJECT (Test::Unit::Worker)len:28 ptr:0x000055a5c12e7f10
lvars:
buf: 0x000055a5c6198540 [0 ] T_STRING (String).
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
self: T_NIL
th: 0x55a5c6c2a290, native_id: 0x7f581b575700
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0010 e:000009 CFUNC :read
me:
called_id: read, type: cfunc
owner class: 0x000055a5c0b87778 [3LM ] T_CLASS IO
self: 0x000055a5c616c620 [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: 0x000055a5c0e18a50 [3LM R ] T_CLASS (annon)
self: 0x000055a5c0e18ac8 [3LM ] T_MODULE EnvUtil
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
self: T_NIL
$1 = 0
">>> Finish
"[Inferior 1 (process 28550) detached]
[nil, 28550]
"gdb -p 28546 -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-05T07:47:23Z"
28550: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, 28546]
#<Errno::ESRCH: No such process>
"gdb -p 28539 -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, 28539]
#<Errno::ESRCH: No such process>
"gdb -p 28538 -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 28538 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, 28538]
0.008000 0.004000 1256.732000 (10802.373402)
/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: 10873.45 sec