| "make update-download DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make update-src DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| From https://github.com/ruby/ruby |
| 04ca75e..b564612 master -> origin/master |
| "make after-update DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make miniruby DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make ruby DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make all DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make install DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make yes-btest TESTOPTS='-q '" exit with 512. |
| Fstderr output is not empty |
| Assertion Failed: /tmp/ruby/src/trunk-asserts-nopara/thread_pthread.c:454:ractor_sched_set_locked:vm->ractor.sched.lock_owner == NULL |
| ruby 3.4.0dev (2024-08-28T10:58:23Z master b5646124b3) [x86_64-linux] |
| |
| -- Control frame information ----------------------------------------------- |
| c:0005 p:---- s:0021 e:000020 CFUNC :fork |
| c:0004 p:0005 s:0017 e:000016 BLOCK bootstraptest.test_fork.rb_78_287.rb:11 |
| c:0003 p:0024 s:0012 e:000011 METHOD <internal:numeric>:238 |
| c:0002 p:0027 s:0007 E:001880 EVAL bootstraptest.test_fork.rb_78_287.rb:10 [FINISH] |
| c:0001 p:0000 s:0003 E:0015f0 DUMMY [FINISH] |
| |
| -- Ruby level backtrace information ---------------------------------------- |
| bootstraptest.test_fork.rb_78_287.rb:10:in '<main>' |
| <internal:numeric>:238:in 'times' |
| bootstraptest.test_fork.rb_78_287.rb:11:in 'block in <main>' |
| bootstraptest.test_fork.rb_78_287.rb:11:in 'fork' |
| |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 1 |
| Ruby thread count for this ractor: 2 |
| |
| -- C level backtrace information ------------------------------------------- |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_print_backtrace+0x21) [0x55e178793b61] /tmp/ruby/src/trunk-asserts-nopara/vm_dump.c:820 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(fprintf+0x0) [0x55e178793d28] /tmp/ruby/src/trunk-asserts-nopara/vm_dump.c:1151 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_vm_bugreport) /tmp/ruby/src/trunk-asserts-nopara/vm_dump.c:1154 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_assert_failure_detail+0x13e) [0x55e17853fc96] /tmp/ruby/src/trunk-asserts-nopara/error.c:1191 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(RB_BUILTIN_TYPE+0x0) [0x55e17853fcb7] /tmp/ruby/src/trunk-asserts-nopara/error.c:1169 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_assert_failure) (null):0 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(ractor_sched_set_locked+0x1f) [0x55e17854817d] /tmp/ruby/src/trunk-asserts-nopara/thread_pthread.c:454 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(thread_sched_setup_running_threads+0x1fb) [0x55e17873632b] /tmp/ruby/src/trunk-asserts-nopara/thread_pthread.c:577 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(thread_sched_atfork+0xf1) [0x55e178737a41] /tmp/ruby/src/trunk-asserts-nopara/thread_pthread.c:1576 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_thread_atfork_internal+0x4c) [0x55e17873f2ac] /tmp/ruby/src/trunk-asserts-nopara/thread.c:4702 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_thread_atfork+0x24) [0x55e17873f3e4] /tmp/ruby/src/trunk-asserts-nopara/thread.c:4750 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_fork_ruby+0xba) [0x55e1786b1a1a] /tmp/ruby/src/trunk-asserts-nopara/process.c:4236 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(proc_fork_pid+0xb) [0x55e1786b1a6b] /tmp/ruby/src/trunk-asserts-nopara/process.c:4249 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_f_fork+0x1d) [0x55e1786b1ccd] /tmp/ruby/src/trunk-asserts-nopara/process.c:4365 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(vm_call_cfunc_with_frame_+0xf6) [0x55e178771f46] /tmp/ruby/src/trunk-asserts-nopara/vm_insnhelper.c:3788 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(vm_sendish+0x10c) [0x55e17877c84c] /tmp/ruby/src/trunk-asserts-nopara/vm_insnhelper.c:5955 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(vm_exec_core+0x4e9d) [0x55e1787829cd] ../../src/trunk-asserts-nopara/insns.def:851 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_vm_exec+0xfa) [0x55e178784f3a] /tmp/ruby/src/trunk-asserts-nopara/vm.c:2564 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_ec_exec_node+0x90) [0x55e1785f7d40] /tmp/ruby/src/trunk-asserts-nopara/eval.c:281 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(ruby_run_node+0x7b) [0x55e1785fb63b] /tmp/ruby/src/trunk-asserts-nopara/eval.c:319 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(rb_main+0x3a) [0x55e17855a2aa] /tmp/ruby/src/trunk-asserts-nopara/main.c:43 |
| /tmp/ruby/build/trunk-asserts-nopara/miniruby(main+0x38) [0x55e17855a178] /build/rustc-Px5Ywq/rustc-1.75.0+dfsg0ubuntu1/library/core/src/panicking.rs:279 |
| |
| -- Other runtime information ----------------------------------------------- |
| |
| * Loaded script: bootstraptest.test_fork.rb_78_287.rb |
| |
| * Loaded features: |
| |
| 0 enumerator.so |
| 1 thread.rb |
| 2 fiber.so |
| 3 rational.so |
| 4 complex.so |
| 5 ruby2_keywords.rb |
| 6 /tmp/ruby/build/trunk-asserts-nopara/x86_64-linux-fake.rb |
| |
| * Process memory map: |
| |
| 55e1784f4000-55e17853a000 r--p 00000000 00:68 15338357 /tmp/ruby/build/trunk-asserts-nopara/miniruby |
| 55e17853a000-55e1788fd000 r-xp 00046000 00:68 15338357 /tmp/ruby/build/trunk-asserts-nopara/miniruby |
| 55e1788fd000-55e178af7000 r--p 00409000 00:68 15338357 /tmp/ruby/build/trunk-asserts-nopara/miniruby |
| 55e178af7000-55e178b10000 r--p 00602000 00:68 15338357 /tmp/ruby/build/trunk-asserts-nopara/miniruby |
| 55e178b10000-55e178b11000 rw-p 0061b000 00:68 15338357 /tmp/ruby/build/trunk-asserts-nopara/miniruby |
| 55e178b11000-55e178b27000 rw-p 00000000 00:00 0 |
| 55e17a5b9000-55e17aacb000 rw-p 00000000 00:00 0 [heap] |
| 55e17aacb000-55e17ad4c000 rw-p 00000000 00:00 0 [heap] |
| 7f7765a0d000-7f7768000000 r--s 00000000 00:68 15338357 /tmp/ruby/build/trunk-asserts-nopara/miniruby |
| 7f7768000000-7f7768021000 rw-p 00000000 00:00 0 |
| 7f7768021000-7f776c000000 ---p 00000000 00:00 0 |
| 7f776d8f9000-7f776db00000 r--s 00000000 00:68 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f776db00000-7f776db10000 rw-p 00000000 00:00 0 |
| 7f776db1f000-7f776db20000 ---p 00000000 00:00 0 |
| 7f776db20000-7f776dc30000 rw-p 00000000 00:00 0 |
| 7f776dcb0000-7f776dd70000 rw-p 00000000 00:00 0 |
| 7f776dd70000-7f776dd71000 ---p 00000000 00:00 0 |
| 7f776dd71000-7f776de12000 rw-p 00000000 00:00 0 |
| 7f776de12000-7f776de13000 ---p 00000000 00:00 0 |
| 7f776de13000-7f776deb4000 rw-p 00000000 00:00 0 |
| 7f776deb4000-7f776deb5000 ---p 00000000 00:00 0 |
| 7f776deb5000-7f776df56000 rw-p 00000000 00:00 0 |
| 7f776df56000-7f776df57000 ---p 00000000 00:00 0 |
| 7f776df57000-7f776dff8000 rw-p 00000000 00:00 0 |
| 7f776dff8000-7f776dff9000 ---p 00000000 00:00 0 |
| 7f776dff9000-7f776e09a000 rw-p 00000000 00:00 0 |
| 7f776e09a000-7f776e09b000 ---p 00000000 00:00 0 |
| 7f776e09b000-7f776e13c000 rw-p 00000000 00:00 0 |
| 7f776e13c000-7f776e13d000 ---p 00000000 00:00 0 |
| 7f776e13d000-7f776e1de000 rw-p 00000000 00:00 0 |
| 7f776e1de000-7f776e1df000 ---p 00000000 00:00 0 |
| 7f776e1df000-7f776e280000 rw-p 00000000 00:00 0 |
| 7f776e280000-7f776e281000 ---p 00000000 00:00 0 |
| 7f776e281000-7f776e322000 rw-p 00000000 00:00 0 |
| 7f776e322000-7f776e323000 ---p 00000000 00:00 0 |
| 7f776e323000-7f776e3c4000 rw-p 00000000 00:00 0 |
| 7f776e3c4000-7f776e3c5000 ---p 00000000 00:00 0 |
| 7f776e3c5000-7f776e466000 rw-p 00000000 00:00 0 |
| 7f776e466000-7f776e467000 ---p 00000000 00:00 0 |
| 7f776e467000-7f776e508000 rw-p 00000000 00:00 0 |
| 7f776e508000-7f776e509000 ---p 00000000 00:00 0 |
| 7f776e509000-7f776e5aa000 rw-p 00000000 00:00 0 |
| 7f776e5aa000-7f776e5ab000 ---p 00000000 00:00 0 |
| 7f776e5ab000-7f776e64c000 rw-p 00000000 00:00 0 |
| 7f776e64c000-7f776e64d000 ---p 00000000 00:00 0 |
| 7f776e64d000-7f776e6ee000 rw-p 00000000 00:00 0 |
| 7f776e6ee000-7f776e6ef000 ---p 00000000 00:00 0 |
| 7f776e6ef000-7f776e790000 rw-p 00000000 00:00 0 |
| 7f776e790000-7f776e791000 ---p 00000000 00:00 0 |
| 7f776e791000-7f776e832000 rw-p 00000000 00:00 0 |
| 7f776e832000-7f776e833000 ---p 00000000 00:00 0 |
| 7f776e833000-7f776e8d4000 rw-p 00000000 00:00 0 |
| 7f776e8d4000-7f776e8d5000 ---p 00000000 00:00 0 |
| 7f776e8d5000-7f776e976000 rw-p 00000000 00:00 0 |
| 7f776e976000-7f776e977000 ---p 00000000 00:00 0 |
| 7f776e977000-7f776ea18000 rw-p 00000000 00:00 0 |
| 7f776ea18000-7f776ea19000 ---p 00000000 00:00 0 |
| 7f776ea19000-7f776eaba000 rw-p 00000000 00:00 0 |
| 7f776eaba000-7f776eabb000 ---p 00000000 00:00 0 |
| 7f776eabb000-7f776eb5c000 rw-p 00000000 00:00 0 |
| 7f776eb5c000-7f776eb5d000 ---p 00000000 00:00 0 |
| 7f776eb5d000-7f776ebfe000 rw-p 00000000 00:00 0 |
| 7f776ebfe000-7f776ebff000 ---p 00000000 00:00 0 |
| 7f776ebff000-7f776eca0000 rw-p 00000000 00:00 0 |
| 7f776eca0000-7f776eca1000 ---p 00000000 00:00 0 |
| 7f776eca1000-7f776ed42000 rw-p 00000000 00:00 0 |
| 7f776ed42000-7f776ed43000 ---p 00000000 00:00 0 |
| 7f776ed43000-7f776ede4000 rw-p 00000000 00:00 0 |
| 7f776ede4000-7f776ede5000 ---p 00000000 00:00 0 |
| 7f776ede5000-7f776ee86000 rw-p 00000000 00:00 0 |
| 7f776ee86000-7f776ee87000 ---p 00000000 00:00 0 |
| 7f776ee87000-7f776ef28000 rw-p 00000000 00:00 0 |
| 7f776ef28000-7f776ef29000 ---p 00000000 00:00 0 |
| 7f776ef29000-7f776efca000 rw-p 00000000 00:00 0 |
| 7f776efca000-7f776efcb000 ---p 00000000 00:00 0 |
| 7f776efcb000-7f776f06c000 rw-p 00000000 00:00 0 |
| 7f776f06c000-7f776f06d000 ---p 00000000 00:00 0 |
| 7f776f06d000-7f776f10e000 rw-p 00000000 00:00 0 |
| 7f776f10e000-7f776f10f000 ---p 00000000 00:00 0 |
| 7f776f10f000-7f776f1c0000 rw-p 00000000 00:00 0 |
| 7f776f1cf000-7f776f1d0000 ---p 00000000 00:00 0 |
| 7f776f1d0000-7f776fa20000 rw-p 00000000 00:00 0 |
| 7f776fa2f000-7f77713e0000 rw-p 00000000 00:00 0 |
| 7f77713e7000-7f77714e8000 rw-p 00000000 00:00 0 |
| 7f77714e8000-7f77714ef000 r--s 00000000 00:68 15348559 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache |
| 7f77714ef000-7f7771548000 r--p 00000000 00:68 15348059 /usr/lib/locale/C.utf8/LC_CTYPE |
| 7f7771548000-7f777154b000 rw-p 00000000 00:00 0 |
| 7f777154b000-7f7771573000 r--p 00000000 00:68 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f7771573000-7f77716fb000 r-xp 00028000 00:68 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f77716fb000-7f777174a000 r--p 001b0000 00:68 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f777174a000-7f777174e000 r--p 001fe000 00:68 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f777174e000-7f7771750000 rw-p 00202000 00:68 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f7771750000-7f777175f000 rw-p 00000000 00:00 0 |
| 7f777175f000-7f7771763000 r--p 00000000 00:68 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f7771763000-7f7771786000 r-xp 00004000 00:68 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f7771786000-7f777178a000 r--p 00027000 00:68 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f777178a000-7f777178b000 r--p 0002b000 00:68 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f777178b000-7f777178c000 rw-p 0002c000 00:68 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f777178c000-7f777179c000 r--p 00000000 00:68 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f777179c000-7f777181b000 r-xp 00010000 00:68 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f777181b000-7f7771873000 r--p 0008f000 00:68 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f7771873000-7f7771874000 r--p 000e7000 00:68 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f7771874000-7f7771875000 rw-p 000e8000 00:68 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f7771875000-7f7771877000 r--p 00000000 00:68 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f7771877000-7f777188c000 r-xp 00002000 00:68 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f777188c000-7f77718a5000 r--p 00017000 00:68 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f77718a5000-7f77718a6000 r--p 0002f000 00:68 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f77718a6000-7f77718a7000 rw-p 00030000 00:68 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f77718a7000-7f77718af000 rw-p 00000000 00:00 0 |
| 7f77718af000-7f77718b9000 r--p 00000000 00:68 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f77718b9000-7f777191c000 r-xp 0000a000 00:68 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f777191c000-7f7771931000 r--p 0006d000 00:68 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f7771931000-7f7771932000 r--p 00081000 00:68 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f7771932000-7f7771933000 rw-p 00082000 00:68 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f7771933000-7f7771935000 r--p 00000000 00:68 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f7771935000-7f7771947000 r-xp 00002000 00:68 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f7771947000-7f777194d000 r--p 00014000 00:68 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f777194d000-7f777194e000 r--p 0001a000 00:68 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f777194e000-7f777194f000 rw-p 0001b000 00:68 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f7771954000-7f7771956000 rw-p 00000000 00:00 0 |
| 7f7771956000-7f7771957000 r--p 00000000 00:68 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f7771957000-7f7771982000 r-xp 00001000 00:68 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f7771982000-7f777198c000 r--p 0002c000 00:68 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f777198c000-7f777198e000 r--p 00036000 00:68 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f777198e000-7f7771990000 rw-p 00038000 00:68 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7fff5cbd4000-7fff5d3d3000 rw-p 00000000 00:00 0 [stack] |
| 7fff5d3dc000-7fff5d3e0000 r--p 00000000 00:00 0 [vvar] |
| 7fff5d3e0000-7fff5d3e2000 r-xp 00000000 00:00 0 [vdso] |
| ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall] |
| |
| |
| bootstraptest.test_fork.rb_78_287.rb:16:in 'block in <main>': failed (RuntimeError) |
| from <internal:numeric>:238:in 'Integer#times' |
| from bootstraptest.test_fork.rb_78_287.rb:10:in '<main>' |
| #287 test_fork.rb:78: |
| def now = Process.clock_gettime(Process::CLOCK_MONOTONIC) |
| |
| Thread.new do |
| loop { sleep 0.0001 } |
| end |
| |
| 10.times do |
| pid = fork{ exit!(0) } |
| deadline = now + 1 |
| until Process.waitpid(pid, Process::WNOHANG) |
| if now > deadline |
| Process.kill(:KILL, pid) |
| raise "failed" |
| end |
| sleep 0.001 |
| end |
| rescue NotImplementedError |
| end |
| :ok |
| #=> "" (expected "ok") [Bug #20670] |
| FAIL 1/1985 tests failed |
| make: *** [uncommon.mk:897: yes-btest] Error 1 |
| "make yes-test-basic " exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' " exit with 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr ' " exit with 0. |