| "make update-download DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| "make update-src DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| From https://github.com/ruby/ruby |
| 9c777f2..b56aacb master -> origin/master |
| "make after-update DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| "make miniruby DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| "make ruby DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| "make all DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| "make install DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| "make yes-btest TESTOPTS='-q -j4'" exit with 512. |
| Fstderr output is not empty |
| /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:454: Assertion Failed: ractor_sched_set_locked:vm->ractor.sched.lock_owner == NULL |
| ruby 3.4.0dev (2024-11-19T16:50:04Z master b56aacba78) +PRISM [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>:257 |
| c:0002 p:0027 s:0007 E:002390 EVAL bootstraptest.test_fork.rb_78_287.rb:10 [FINISH] |
| c:0001 p:0000 s:0003 E:001730 DUMMY [FINISH] |
| |
| -- Ruby level backtrace information ---------------------------------------- |
| bootstraptest.test_fork.rb_78_287.rb:10:in '<main>' |
| <internal:numeric>:257: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-repeat20-asserts/miniruby(rb_print_backtrace+0x14) [0x55db71a7ec37] /tmp/ruby/src/trunk-repeat20-asserts/vm_dump.c:823 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_vm_bugreport) /tmp/ruby/src/trunk-repeat20-asserts/vm_dump.c:1155 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_assert_failure_detail+0x157) [0x55db71773b29] /tmp/ruby/src/trunk-repeat20-asserts/error.c:1193 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(RB_BUILTIN_TYPE+0x0) [0x55db71773b4b] /tmp/ruby/src/trunk-repeat20-asserts/error.c:1169 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_assert_failure) (null):0 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ractor_sched_set_locked+0x0) [0x55db7178b46a] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:454 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ractor_sched_set_locked) (null):0 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ractor_sched_set_locked+0x5) [0x55db7178b46f] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:454 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_setup_running_threads+0x47e) [0x55db71a08cde] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:485 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_atfork+0x18) [0x55db71a16b1f] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:1576 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_thread_atfork_internal) /tmp/ruby/src/trunk-repeat20-asserts/thread.c:4714 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_thread_atfork+0x4e) [0x55db71a16b7e] /tmp/ruby/src/trunk-repeat20-asserts/thread.c:4763 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_fork_ruby+0x13c) [0x55db7196559c] /tmp/ruby/src/trunk-repeat20-asserts/process.c:1688 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(proc_fork_pid+0x7) [0x55db719658e9] /tmp/ruby/src/trunk-repeat20-asserts/process.c:4260 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_call_proc__fork) /tmp/ruby/src/trunk-repeat20-asserts/process.c:4275 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_call_proc__fork) /tmp/ruby/src/trunk-repeat20-asserts/process.c:4270 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_f_fork+0x1d) [0x55db71965a0d] /tmp/ruby/src/trunk-repeat20-asserts/process.c:4376 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_cfp_consistent_p+0x0) [0x55db71a4fcb9] /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:3795 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_call_cfunc_with_frame_) /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:3797 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_sendish+0x16a) [0x55db71a5488a] /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:5962 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_exec_core+0xf41) [0x55db71a63611] ../../src/trunk-repeat20-asserts/insns.def:851 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_exec_loop+0x9) [0x55db71a698b1] /tmp/ruby/src/trunk-repeat20-asserts/vm.c:2611 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_vm_exec) /tmp/ruby/src/trunk-repeat20-asserts/vm.c:2587 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_ec_exec_node+0xb1) [0x55db7186eaf1] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:281 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ruby_run_node+0x9b) [0x55db718757bb] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:319 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_main+0x21) [0x55db717a4ca6] /tmp/ruby/src/trunk-repeat20-asserts/main.c:43 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(main) /tmp/ruby/src/trunk-repeat20-asserts/main.c:68 |
| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_call_main+0x7a) [0x7f502df881ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x7f502df8828b] ../csu/libc-start.c:360 |
| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main_impl) ../csu/libc-start.c:347 |
| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) (null):0 |
| [0x55db717a4cf5] |
| |
| -- 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-repeat20-asserts/x86_64-linux-fake.rb |
| |
| * Process memory map: |
| |
| 55db71720000-55db71767000 r--p 00000000 00:50 16908781 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 55db71767000-55db71c13000 r-xp 00047000 00:50 16908781 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 55db71c13000-55db71dd9000 r--p 004f3000 00:50 16908781 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 55db71dd9000-55db71df3000 r--p 006b8000 00:50 16908781 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 55db71df3000-55db71df4000 rw-p 006d2000 00:50 16908781 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 55db71df4000-55db71e09000 rw-p 00000000 00:00 0 |
| 55db736fd000-55db7394f000 rw-p 00000000 00:00 0 [heap] |
| 7f5020d29000-7f5024000000 r--s 00000000 00:50 16908781 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 7f5024000000-7f5024021000 rw-p 00000000 00:00 0 |
| 7f5024021000-7f5028000000 ---p 00000000 00:00 0 |
| 7f502a2f7000-7f502a4fe000 r--s 00000000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f502a4fe000-7f502a4ff000 ---p 00000000 00:00 0 |
| 7f502a4ff000-7f502a780000 rw-p 00000000 00:00 0 |
| 7f502a780000-7f502a781000 ---p 00000000 00:00 0 |
| 7f502a781000-7f502a822000 rw-p 00000000 00:00 0 |
| 7f502a822000-7f502a823000 ---p 00000000 00:00 0 |
| 7f502a823000-7f502a8c4000 rw-p 00000000 00:00 0 |
| 7f502a8c4000-7f502a8c5000 ---p 00000000 00:00 0 |
| 7f502a8c5000-7f502a966000 rw-p 00000000 00:00 0 |
| 7f502a966000-7f502a967000 ---p 00000000 00:00 0 |
| 7f502a967000-7f502aa08000 rw-p 00000000 00:00 0 |
| 7f502aa08000-7f502aa09000 ---p 00000000 00:00 0 |
| 7f502aa09000-7f502aaaa000 rw-p 00000000 00:00 0 |
| 7f502aaaa000-7f502aaab000 ---p 00000000 00:00 0 |
| 7f502aaab000-7f502ab4c000 rw-p 00000000 00:00 0 |
| 7f502ab4c000-7f502ab4d000 ---p 00000000 00:00 0 |
| 7f502ab4d000-7f502abee000 rw-p 00000000 00:00 0 |
| 7f502abee000-7f502abef000 ---p 00000000 00:00 0 |
| 7f502abef000-7f502ac90000 rw-p 00000000 00:00 0 |
| 7f502ac90000-7f502ac91000 ---p 00000000 00:00 0 |
| 7f502ac91000-7f502ad32000 rw-p 00000000 00:00 0 |
| 7f502ad32000-7f502ad33000 ---p 00000000 00:00 0 |
| 7f502ad33000-7f502add4000 rw-p 00000000 00:00 0 |
| 7f502add4000-7f502add5000 ---p 00000000 00:00 0 |
| 7f502add5000-7f502ae76000 rw-p 00000000 00:00 0 |
| 7f502ae76000-7f502ae77000 ---p 00000000 00:00 0 |
| 7f502ae77000-7f502af18000 rw-p 00000000 00:00 0 |
| 7f502af18000-7f502af19000 ---p 00000000 00:00 0 |
| 7f502af19000-7f502afba000 rw-p 00000000 00:00 0 |
| 7f502afba000-7f502afbb000 ---p 00000000 00:00 0 |
| 7f502afbb000-7f502b05c000 rw-p 00000000 00:00 0 |
| 7f502b05c000-7f502b05d000 ---p 00000000 00:00 0 |
| 7f502b05d000-7f502b0fe000 rw-p 00000000 00:00 0 |
| 7f502b0fe000-7f502b0ff000 ---p 00000000 00:00 0 |
| 7f502b0ff000-7f502b1a0000 rw-p 00000000 00:00 0 |
| 7f502b1a0000-7f502b1a1000 ---p 00000000 00:00 0 |
| 7f502b1a1000-7f502b242000 rw-p 00000000 00:00 0 |
| 7f502b242000-7f502b243000 ---p 00000000 00:00 0 |
| 7f502b243000-7f502b2e4000 rw-p 00000000 00:00 0 |
| 7f502b2e4000-7f502b2e5000 ---p 00000000 00:00 0 |
| 7f502b2e5000-7f502b386000 rw-p 00000000 00:00 0 |
| 7f502b386000-7f502b387000 ---p 00000000 00:00 0 |
| 7f502b387000-7f502b428000 rw-p 00000000 00:00 0 |
| 7f502b428000-7f502b429000 ---p 00000000 00:00 0 |
| 7f502b429000-7f502b4ca000 rw-p 00000000 00:00 0 |
| 7f502b4ca000-7f502b4cb000 ---p 00000000 00:00 0 |
| 7f502b4cb000-7f502b56c000 rw-p 00000000 00:00 0 |
| 7f502b56c000-7f502b56d000 ---p 00000000 00:00 0 |
| 7f502b56d000-7f502b60e000 rw-p 00000000 00:00 0 |
| 7f502b60e000-7f502b60f000 ---p 00000000 00:00 0 |
| 7f502b60f000-7f502b6b0000 rw-p 00000000 00:00 0 |
| 7f502b6b0000-7f502b6b1000 ---p 00000000 00:00 0 |
| 7f502b6b1000-7f502b752000 rw-p 00000000 00:00 0 |
| 7f502b752000-7f502b753000 ---p 00000000 00:00 0 |
| 7f502b753000-7f502b7f4000 rw-p 00000000 00:00 0 |
| 7f502b7f4000-7f502b7f5000 ---p 00000000 00:00 0 |
| 7f502b7f5000-7f502b896000 rw-p 00000000 00:00 0 |
| 7f502b896000-7f502b897000 ---p 00000000 00:00 0 |
| 7f502b897000-7f502b938000 rw-p 00000000 00:00 0 |
| 7f502b938000-7f502b939000 ---p 00000000 00:00 0 |
| 7f502b939000-7f502b9da000 rw-p 00000000 00:00 0 |
| 7f502b9da000-7f502b9db000 ---p 00000000 00:00 0 |
| 7f502b9db000-7f502ba7c000 rw-p 00000000 00:00 0 |
| 7f502ba7c000-7f502ba7d000 ---p 00000000 00:00 0 |
| 7f502ba7d000-7f502bb1e000 rw-p 00000000 00:00 0 |
| 7f502bb1e000-7f502bb1f000 ---p 00000000 00:00 0 |
| 7f502bb1f000-7f502bbd0000 rw-p 00000000 00:00 0 |
| 7f502bbdf000-7f502bbe0000 ---p 00000000 00:00 0 |
| 7f502bbe0000-7f502c430000 rw-p 00000000 00:00 0 |
| 7f502c43f000-7f502ddf0000 rw-p 00000000 00:00 0 |
| 7f502ddfa000-7f502defb000 rw-p 00000000 00:00 0 |
| 7f502defb000-7f502df02000 r--s 00000000 00:50 15348559 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache |
| 7f502df02000-7f502df5b000 r--p 00000000 00:50 15348059 /usr/lib/locale/C.utf8/LC_CTYPE |
| 7f502df5b000-7f502df5e000 rw-p 00000000 00:00 0 |
| 7f502df5e000-7f502df86000 r--p 00000000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f502df86000-7f502e10e000 r-xp 00028000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f502e10e000-7f502e15d000 r--p 001b0000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f502e15d000-7f502e161000 r--p 001fe000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f502e161000-7f502e163000 rw-p 00202000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f502e163000-7f502e172000 rw-p 00000000 00:00 0 |
| 7f502e172000-7f502e176000 r--p 00000000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f502e176000-7f502e199000 r-xp 00004000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f502e199000-7f502e19d000 r--p 00027000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f502e19d000-7f502e19e000 r--p 0002b000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f502e19e000-7f502e19f000 rw-p 0002c000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f502e19f000-7f502e1af000 r--p 00000000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f502e1af000-7f502e22e000 r-xp 00010000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f502e22e000-7f502e286000 r--p 0008f000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f502e286000-7f502e287000 r--p 000e7000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f502e287000-7f502e288000 rw-p 000e8000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f502e288000-7f502e28a000 r--p 00000000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f502e28a000-7f502e29f000 r-xp 00002000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f502e29f000-7f502e2b8000 r--p 00017000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f502e2b8000-7f502e2b9000 r--p 0002f000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f502e2b9000-7f502e2ba000 rw-p 00030000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f502e2ba000-7f502e2c2000 rw-p 00000000 00:00 0 |
| 7f502e2c2000-7f502e2cc000 r--p 00000000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f502e2cc000-7f502e32f000 r-xp 0000a000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f502e32f000-7f502e344000 r--p 0006d000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f502e344000-7f502e345000 r--p 00081000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f502e345000-7f502e346000 rw-p 00082000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f502e346000-7f502e348000 r--p 00000000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f502e348000-7f502e35a000 r-xp 00002000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f502e35a000-7f502e360000 r--p 00014000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f502e360000-7f502e361000 r--p 0001a000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f502e361000-7f502e362000 rw-p 0001b000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f502e367000-7f502e369000 rw-p 00000000 00:00 0 |
| 7f502e369000-7f502e36a000 r--p 00000000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f502e36a000-7f502e395000 r-xp 00001000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f502e395000-7f502e39f000 r--p 0002c000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f502e39f000-7f502e3a1000 r--p 00036000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f502e3a1000-7f502e3a3000 rw-p 00038000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7ffe1d805000-7ffe1d826000 rw-p 00000000 00:00 0 [stack] |
| 7ffe1d847000-7ffe1d84b000 r--p 00000000 00:00 0 [vvar] |
| 7ffe1d84b000-7ffe1d84d000 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>:257: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/0 tests failed |
| make: *** [uncommon.mk:896: yes-btest] Error 1 |
| "make yes-test-basic TESTS=--repeat-count=20" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS=--repeat-count=20" exit with 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS=--repeat-count=20" exit with 0. |