| "make update-unicode -j16" exit with 0. |
| "make update-download -j16" exit with 0. |
| "make update-rubyspec -j16" exit with 0. |
| "make update-src -j16" exit with 0. |
| "make after-update -j16" exit with 0. |
| "make miniruby -j16" exit with 0. |
| "make ruby -j16" exit with 0. |
| "make all -j16" exit with 0. |
| "make install -j16" exit with 0. |
| make yes-btest TESTOPTS='-q -j16' |
| $$$ #<Timeout::Error: execution expired> |
| ### enter analyzing mode for stuck processes |
| $$$ ps jx |
| PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND |
| 1 826 826 826 ? -1 Ss 1000 0:01 SCREEN -d -m dash -c cd build-ruby; BUILD_RUBY_WORKING_DIR=/tmp/ruby sh build-loop.sh trunk --incremental |
| 826 828 828 828 pts/0 828 Ss+ 1000 0:00 dash -c cd build-ruby; BUILD_RUBY_WORKING_DIR=/tmp/ruby sh build-loop.sh trunk --incremental |
| 828 829 828 828 pts/0 828 S+ 1000 0:00 sh build-loop.sh trunk --incremental |
| 829 634563 828 828 pts/0 828 Sl+ 1000 0:00 ruby ./br.rb build_report trunk --incremental |
| 634563 634566 828 828 pts/0 828 Sl+ 1000 0:00 ruby /home/ko1/build-ruby/build-ruby.rb --target_name=trunk --logfile=/home/ko1/ruby/logs/brlog.trunk.20231020-081654 --root_dir=/tmp/ruby --timeout=10800 --incremental |
| 634566 635882 828 828 pts/0 828 S+ 1000 0:00 sh -c make yes-btest TESTOPTS='-q -j16' |
| 635882 635883 828 828 pts/0 828 S+ 1000 0:00 make yes-btest TESTOPTS=-q -j16 |
| 635883 635898 828 828 pts/0 828 Sl+ 1000 0:02 /usr/bin/ruby --disable=gems /tmp/ruby/src/trunk/bootstraptest/runner.rb --ruby=./miniruby -I/tmp/ruby/src/trunk/lib -I. -I.ext/common -r./x86_64-linux-fake --disable-gems -q -j16 |
| 635898 674123 828 828 pts/0 828 Sl+ 1000 0:00 /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib -I/tmp/ruby/build/trunk -I/tmp/ruby/build/trunk/.ext/common -r/tmp/ruby/build/trunk/x86_64-linux-fake --disable-gems -W0 bootstraptest.test_ractor.rb_259_1243.rb |
| 634566 690786 828 828 pts/0 828 R+ 1000 0:00 ps jx |
| {1=>[826], 826=>[828], 828=>[829], 829=>[634563], 634563=>[634566], 634566=>[635882, 690786], 635882=>[635883], 635883=>[635898], 635898=>[674123]} |
| $ timeout 60 gdb -p 674123 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| $ timeout 60 gdb -p 635898 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| Fstderr output is not empty |
| <internal:ractor>:280: [BUG] Segmentation fault at 0x00007f8107449e50 |
| ruby 3.3.0dev (2023-10-20T07:33:23Z master 0061eaddc9) [x86_64-linux] |
| |
| -- Control frame information ----------------------------------------------- |
| c:0014 p:---- s:0065 e:000064 CFUNC :caller_locations |
| c:0013 p:0037 s:0059 e:000058 METHOD <internal:ractor>:280 |
| c:0012 p:0007 s:0049 E:001b58 BLOCK bootstraptest.test_ractor.rb_259_1243.rb:4 [FINISH] |
| c:0011 p:---- s:0045 e:000044 IFUNC |
| c:0010 p:---- s:0042 e:000041 CFUNC :each |
| c:0009 p:---- s:0039 e:000038 CFUNC :map |
| c:0008 p:0008 s:0035 E:001680 METHOD bootstraptest.test_ractor.rb_259_1243.rb:3 |
| c:0007 p:0005 s:0027 e:000026 BLOCK bootstraptest.test_ractor.rb_259_1243.rb:26 [FINISH] |
| c:0006 p:---- s:0023 e:000022 IFUNC |
| c:0005 p:0025 s:0020 e:000018 METHOD <internal:numeric>:237 [FINISH] |
| c:0004 p:---- s:0014 e:000013 CFUNC :each |
| c:0003 p:---- s:0011 e:000010 CFUNC :map |
| c:0002 p:0011 s:0007 e:000005 EVAL bootstraptest.test_ractor.rb_259_1243.rb:25 [FINISH] |
| c:0001 p:0000 s:0003 E:001470 DUMMY [FINISH] |
| |
| -- Ruby level backtrace information ---------------------------------------- |
| bootstraptest.test_ractor.rb_259_1243.rb:25:in `<main>' |
| bootstraptest.test_ractor.rb_259_1243.rb:25:in `map' |
| bootstraptest.test_ractor.rb_259_1243.rb:25:in `each' |
| <internal:numeric>:237:in `times' |
| bootstraptest.test_ractor.rb_259_1243.rb:26:in `block in <main>' |
| bootstraptest.test_ractor.rb_259_1243.rb:3:in `test' |
| bootstraptest.test_ractor.rb_259_1243.rb:3:in `map' |
| bootstraptest.test_ractor.rb_259_1243.rb:3:in `each' |
| bootstraptest.test_ractor.rb_259_1243.rb:4:in `block in test' |
| <internal:ractor>:280:in `new' |
| <internal:ractor>:280:in `caller_locations' |
| |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 1 |
| Ruby thread count for this ractor: 1 |
| |
| -- Machine register context ------------------------------------------------ |
| RIP: 0x00007f847f891cf9 RBP: 0x0000000000000010 RSP: 0x00007ffc9dfb7b80 |
| RAX: 0x0000000000000006 RBX: 0x0000000000000010 RCX: 0x00007f847fa07c90 |
| RDX: 0x00007f8107449e40 RDI: 0x00007f847fa07c80 RSI: 0x0000000000000001 |
| R8: 0x0000000559465148 R9: 0x0000559465148be0 R10: 0x0000559464ea1890 |
| R11: 0x0000000000000000 R12: 0xffffffffffffff30 R13: 0x0000000000000020 |
| R14: 0x0000000000000002 R15: 0x00005594634445e0 EFL: 0x0000000000010246 |
| |
| -- C level backtrace information ------------------------------------------- |
| #1243 test_ractor.rb:259: |
| def test n |
| rs = (1..n).map do |i| |
| Ractor.new(i) do |i| |
| "r#{i}" |
| end |
| end |
| as = [] |
| all_rs = rs.dup |
| |
| n.times{ |
| r, obj = Ractor.select(*rs) |
| as << [r, obj] |
| rs.delete(r) |
| } |
| |
| if as.map{|r, o| r.object_id}.sort == all_rs.map{|r| r.object_id}.sort && |
| as.map{|r, o| o}.sort == (1..n).map{|i| "r#{i}"}.sort |
| 'ok' |
| else |
| 'ng' |
| end |
| end |
| |
| 30.times.map{|i| |
| test i |
| } |
| #=> "" (expected "[\"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\"]") |
| FAIL 1/0 tests failed |
| make: *** [uncommon.mk:876: yes-btest] Error 1 |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| #<Errno::ESRCH: No such process> |
| $ timeout 60 gdb -p 635883 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| #<Errno::ESRCH: No such process> |
| $ timeout 60 gdb -p 635882 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| $ timeout 60 gdb -p 690786 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| #<Errno::ESRCH: No such process> |