| "make update-download -j4" exit with 0. |
| "make update-src -j4" exit with 0. |
| "make after-update -j4" exit with 0. |
| "make miniruby -j4" exit with 0. |
| "make ruby -j4" exit with 0. |
| "make all -j4" exit with 0. |
| "make install -j4" exit with 0. |
| "make yes-btest TESTOPTS='-q -j4'" exit with 512. |
| Fstderr output is not empty |
| <internal:ractor>:367: [BUG] Segmentation fault at 0x00007fd4ad743d10 |
| ruby 3.4.0dev (2024-06-22T13:05:31Z master fba8aff7af) [x86_64-linux] |
| |
| -- Control frame information ----------------------------------------------- |
| c:0011 p:0064 s:0060 e:000054 METHOD <internal:ractor>:367 |
| c:0010 p:0008 s:0045 e:000044 BLOCK bootstraptest.test_ractor.rb_259_1275.rb:14 |
| c:0009 p:0024 s:0040 e:000039 METHOD <internal:numeric>:238 |
| c:0008 p:0025 s:0035 E:000670 METHOD bootstraptest.test_ractor.rb_259_1275.rb:13 |
| c:0007 p:0005 s:0027 e:000026 BLOCK bootstraptest.test_ractor.rb_259_1275.rb:28 [FINISH] |
| c:0006 p:---- s:0023 e:000022 IFUNC |
| c:0005 p:0024 s:0020 e:000018 METHOD <internal:numeric>:238 [FINISH] |
| c:0004 p:---- s:0014 e:000013 CFUNC :each |
| c:0003 p:---- s:0011 e:000010 CFUNC :map |
| c:0002 p:0023 s:0007 e:000005 EVAL bootstraptest.test_ractor.rb_259_1275.rb:27 [FINISH] |
| c:0001 p:0000 s:0003 E:0018f0 DUMMY [FINISH] |
| |
| -- Ruby level backtrace information ---------------------------------------- |
| bootstraptest.test_ractor.rb_259_1275.rb:27:in '<main>' |
| bootstraptest.test_ractor.rb_259_1275.rb:27:in 'map' |
| bootstraptest.test_ractor.rb_259_1275.rb:27:in 'each' |
| <internal:numeric>:238:in 'times' |
| bootstraptest.test_ractor.rb_259_1275.rb:28:in 'block in <main>' |
| bootstraptest.test_ractor.rb_259_1275.rb:13:in 'test' |
| <internal:numeric>:238:in 'times' |
| bootstraptest.test_ractor.rb_259_1275.rb:14:in 'block in test' |
| <internal:ractor>:367:in 'select' |
| |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 13 |
| Ruby thread count for this ractor: 1 |
| |
| -- Machine register context ------------------------------------------------ |
| RIP: 0x00007fd22d5237b1 RBP: 0x00007ffc6a397950 RSP: 0x00007ffc6a397920 |
| RAX: 0x00007fd4ad743d10 RBX: 0x0000000000000002 RCX: 0x0000000000000003 |
| RDX: 0x000055e3f9016010 RDI: 0x0000000000000010 RSI: 0x00000007fd4ad743 |
| R8: 0x000055e3f9228130 R9: 0x0000000000000001 R10: 0x0000000000000007 |
| R11: 0x0000000000000000 R12: 0x0000000000000000 R13: 0xffffffffffffff30 |
| R14: 0x000055e3f8e00480 R15: 0x000055e3f9228130 EFL: 0x0000000000010213 |
| |
| -- C level backtrace information ------------------------------------------- |
| #1275 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:897: yes-btest] Error 1 |
| "make yes-test-basic TESTS=\"--test-order=random\"" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS=\"--test-order=random\"" exit with 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS=\"--test-order=random\"" exit with 0. |