| "make update-unicode -j20" exit with 0. |
| "make update-download -j20" exit with 0. |
| "make update-rubyspec -j20" exit with 0. |
| "make update-src -j20" exit with 0. |
| "make after-update -j20" exit with 0. |
| "make miniruby -j20" exit with 0. |
| "make ruby -j20" exit with 0. |
| "make all -j20" exit with 0. |
| "make install -j20" exit with 0. |
| "make yes-btest TESTOPTS='-q -j20'" exit with 512. |
| Fstderr output is not empty |
| [BUG] Segmentation fault at 0x0000000000000128 |
| ruby 3.4.0dev (2024-01-17T10:37:56Z master c68ce6f7f5) [x86_64-linux] |
| |
| -- Control frame information ----------------------------------------------- |
| SEGV received in SEGV handler |
| |
| |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 8 |
| Ruby thread count for this ractor: 1 |
| |
| -- Machine register context ------------------------------------------------ |
| RIP: 0x000055f8bbf58b5f RBP: 0x0000000000000000 RSP: 0x00007fba8dd45f40 |
| RAX: 0x0000000000000000 RBX: 0x000055f8bc891fd0 RCX: 0x0000000000000000 |
| RDX: 0x0000000000000001 RDI: 0x000055f8bc7ace50 RSI: 0x0000000000000000 |
| #1245 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:878: yes-btest] Error 1 |
| "make yes-test-basic TESTS='-j20'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j20'" exit with 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr --debug' TESTS='-j20'" exit with 0. |