| "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 |
| efb2d43..35920f7 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:446: Assertion Failed: ractor_sched_set_locked:vm->ractor.sched.lock_owner == NULL |
| ruby 3.5.0dev (2025-03-15T07:02:19Z master 35920f7a44) +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:000e90 EVAL bootstraptest.test_fork.rb_78_287.rb:10 [FINISH] |
| c:0001 p:0000 s:0003 E:002010 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) [0x555617e55777] /tmp/ruby/src/trunk-repeat20-asserts/vm_dump.c:835 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_vm_bugreport) /tmp/ruby/src/trunk-repeat20-asserts/vm_dump.c:1167 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_assert_failure_detail+0x157) [0x555617b4df1b] /tmp/ruby/src/trunk-repeat20-asserts/error.c:1215 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(RB_BUILTIN_TYPE+0x0) [0x555617b4df3d] /tmp/ruby/src/trunk-repeat20-asserts/error.c:1191 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_assert_failure) (null):0 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ractor_sched_set_locked+0x0) [0x555617b64b05] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:446 |
| /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) [0x555617b64b0a] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:446 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_setup_running_threads+0x47e) [0x555617ddf09e] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:477 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_atfork+0x18) [0x555617dece03] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:1568 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_thread_atfork_internal) /tmp/ruby/src/trunk-repeat20-asserts/thread.c:4725 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_thread_atfork+0x4e) [0x555617dece5e] /tmp/ruby/src/trunk-repeat20-asserts/thread.c:4771 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_fork_ruby+0x14b) [0x555617d3b38b] /tmp/ruby/src/trunk-repeat20-asserts/process.c:1589 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(proc_fork_pid+0x7) [0x555617d3b6d9] /tmp/ruby/src/trunk-repeat20-asserts/process.c:4162 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_call_proc__fork) /tmp/ruby/src/trunk-repeat20-asserts/process.c:4177 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_call_proc__fork) /tmp/ruby/src/trunk-repeat20-asserts/process.c:4172 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_f_fork+0x1d) [0x555617d3b7fd] /tmp/ruby/src/trunk-repeat20-asserts/process.c:4278 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_cfp_consistent_p+0x0) [0x555617e261c9] /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:3794 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_call_cfunc_with_frame_) /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:3796 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_sendish+0x16a) [0x555617e2ae3a] /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:5957 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_exec_core+0xcaf) [0x555617e39a9f] ../../src/trunk-repeat20-asserts/insns.def:851 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_vm_exec+0x159) [0x555617e400d9] /tmp/ruby/src/trunk-repeat20-asserts/vm.c:2595 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_ec_exec_node+0xb1) [0x555617c49af1] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:280 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ruby_run_node+0x9b) [0x555617c507bb] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:318 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_main+0x21) [0x555617b7eeb6] /tmp/ruby/src/trunk-repeat20-asserts/main.c:40 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(main) /tmp/ruby/src/trunk-repeat20-asserts/main.c:65 |
| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_call_main+0x7a) [0x7f47249861ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x7f472498628b] ../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 |
| [0x555617b7ef05] |
| |
| -- 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: |
| |
| 555617b02000-555617b41000 r--p 00000000 00:44 14552282 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 555617b41000-555617fed000 r-xp 0003f000 00:44 14552282 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 555617fed000-555618198000 r--p 004eb000 00:44 14552282 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 555618198000-5556181ae000 r--p 00695000 00:44 14552282 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5556181ae000-5556181af000 rw-p 006ab000 00:44 14552282 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5556181af000-5556181c3000 rw-p 00000000 00:00 0 |
| 55561a383000-55561a4ac000 rw-p 00000000 00:00 0 [heap] |
| 55561a4ac000-55561a4d6000 rw-p 00000000 00:00 0 [heap] |
| 7f4715ad2000-7f4718d69000 r--s 00000000 00:44 14552282 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 7f4718d69000-7f471c000000 r--s 00000000 00:44 14552282 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 7f471c000000-7f471c021000 rw-p 00000000 00:00 0 |
| 7f471c021000-7f4720000000 ---p 00000000 00:00 0 |
| 7f4720d47000-7f4720f4e000 r--s 00000000 00:44 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f4720f4e000-7f4720f4f000 ---p 00000000 00:00 0 |
| 7f4720f4f000-7f4721180000 rw-p 00000000 00:00 0 |
| 7f4721180000-7f4721181000 ---p 00000000 00:00 0 |
| 7f4721181000-7f4721222000 rw-p 00000000 00:00 0 |
| 7f4721222000-7f4721223000 ---p 00000000 00:00 0 |
| 7f4721223000-7f47212c4000 rw-p 00000000 00:00 0 |
| 7f47212c4000-7f47212c5000 ---p 00000000 00:00 0 |
| 7f47212c5000-7f4721366000 rw-p 00000000 00:00 0 |
| 7f4721366000-7f4721367000 ---p 00000000 00:00 0 |
| 7f4721367000-7f4721408000 rw-p 00000000 00:00 0 |
| 7f4721408000-7f4721409000 ---p 00000000 00:00 0 |
| 7f4721409000-7f47214aa000 rw-p 00000000 00:00 0 |
| 7f47214aa000-7f47214ab000 ---p 00000000 00:00 0 |
| 7f47214ab000-7f472154c000 rw-p 00000000 00:00 0 |
| 7f472154c000-7f472154d000 ---p 00000000 00:00 0 |
| 7f472154d000-7f47215ee000 rw-p 00000000 00:00 0 |
| 7f47215ee000-7f47215ef000 ---p 00000000 00:00 0 |
| 7f47215ef000-7f4721690000 rw-p 00000000 00:00 0 |
| 7f4721690000-7f4721691000 ---p 00000000 00:00 0 |
| 7f4721691000-7f4721732000 rw-p 00000000 00:00 0 |
| 7f4721732000-7f4721733000 ---p 00000000 00:00 0 |
| 7f4721733000-7f47217d4000 rw-p 00000000 00:00 0 |
| 7f47217d4000-7f47217d5000 ---p 00000000 00:00 0 |
| 7f47217d5000-7f4721876000 rw-p 00000000 00:00 0 |
| 7f4721876000-7f4721877000 ---p 00000000 00:00 0 |
| 7f4721877000-7f4721918000 rw-p 00000000 00:00 0 |
| 7f4721918000-7f4721919000 ---p 00000000 00:00 0 |
| 7f4721919000-7f47219ba000 rw-p 00000000 00:00 0 |
| 7f47219ba000-7f47219bb000 ---p 00000000 00:00 0 |
| 7f47219bb000-7f4721a5c000 rw-p 00000000 00:00 0 |
| 7f4721a5c000-7f4721a5d000 ---p 00000000 00:00 0 |
| 7f4721a5d000-7f4721afe000 rw-p 00000000 00:00 0 |
| 7f4721afe000-7f4721aff000 ---p 00000000 00:00 0 |
| 7f4721aff000-7f4721ba0000 rw-p 00000000 00:00 0 |
| 7f4721ba0000-7f4721ba1000 ---p 00000000 00:00 0 |
| 7f4721ba1000-7f4721c42000 rw-p 00000000 00:00 0 |
| 7f4721c42000-7f4721c43000 ---p 00000000 00:00 0 |
| 7f4721c43000-7f4721ce4000 rw-p 00000000 00:00 0 |
| 7f4721ce4000-7f4721ce5000 ---p 00000000 00:00 0 |
| 7f4721ce5000-7f4721d86000 rw-p 00000000 00:00 0 |
| 7f4721d86000-7f4721d87000 ---p 00000000 00:00 0 |
| 7f4721d87000-7f4721e28000 rw-p 00000000 00:00 0 |
| 7f4721e28000-7f4721e29000 ---p 00000000 00:00 0 |
| 7f4721e29000-7f4721eca000 rw-p 00000000 00:00 0 |
| 7f4721eca000-7f4721ecb000 ---p 00000000 00:00 0 |
| 7f4721ecb000-7f4721f6c000 rw-p 00000000 00:00 0 |
| 7f4721f6c000-7f4721f6d000 ---p 00000000 00:00 0 |
| 7f4721f6d000-7f472200e000 rw-p 00000000 00:00 0 |
| 7f472200e000-7f472200f000 ---p 00000000 00:00 0 |
| 7f472200f000-7f47220b0000 rw-p 00000000 00:00 0 |
| 7f47220b0000-7f47220b1000 ---p 00000000 00:00 0 |
| 7f47220b1000-7f4722152000 rw-p 00000000 00:00 0 |
| 7f4722152000-7f4722153000 ---p 00000000 00:00 0 |
| 7f4722153000-7f47221f4000 rw-p 00000000 00:00 0 |
| 7f47221f4000-7f47221f5000 ---p 00000000 00:00 0 |
| 7f47221f5000-7f4722296000 rw-p 00000000 00:00 0 |
| 7f4722296000-7f4722297000 ---p 00000000 00:00 0 |
| 7f4722297000-7f4722338000 rw-p 00000000 00:00 0 |
| 7f4722338000-7f4722339000 ---p 00000000 00:00 0 |
| 7f4722339000-7f47223da000 rw-p 00000000 00:00 0 |
| 7f47223da000-7f47223db000 ---p 00000000 00:00 0 |
| 7f47223db000-7f472247c000 rw-p 00000000 00:00 0 |
| 7f472247c000-7f472247d000 ---p 00000000 00:00 0 |
| 7f472247d000-7f472251e000 rw-p 00000000 00:00 0 |
| 7f472251e000-7f472251f000 ---p 00000000 00:00 0 |
| 7f472251f000-7f47225d0000 rw-p 00000000 00:00 0 |
| 7f47225df000-7f47225e0000 ---p 00000000 00:00 0 |
| 7f47225e0000-7f4722e30000 rw-p 00000000 00:00 0 |
| 7f4722e3f000-7f47247f0000 rw-p 00000000 00:00 0 |
| 7f47247f8000-7f47248f9000 rw-p 00000000 00:00 0 |
| 7f47248f9000-7f4724900000 r--s 00000000 00:44 15348559 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache |
| 7f4724900000-7f4724959000 r--p 00000000 00:44 15348059 /usr/lib/locale/C.utf8/LC_CTYPE |
| 7f4724959000-7f472495c000 rw-p 00000000 00:00 0 |
| 7f472495c000-7f4724984000 r--p 00000000 00:44 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f4724984000-7f4724b0c000 r-xp 00028000 00:44 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f4724b0c000-7f4724b5b000 r--p 001b0000 00:44 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f4724b5b000-7f4724b5f000 r--p 001fe000 00:44 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f4724b5f000-7f4724b61000 rw-p 00202000 00:44 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f4724b61000-7f4724b70000 rw-p 00000000 00:00 0 |
| 7f4724b70000-7f4724b74000 r--p 00000000 00:44 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f4724b74000-7f4724b97000 r-xp 00004000 00:44 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f4724b97000-7f4724b9b000 r--p 00027000 00:44 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f4724b9b000-7f4724b9c000 r--p 0002b000 00:44 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f4724b9c000-7f4724b9d000 rw-p 0002c000 00:44 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f4724b9d000-7f4724bad000 r--p 00000000 00:44 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f4724bad000-7f4724c2c000 r-xp 00010000 00:44 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f4724c2c000-7f4724c84000 r--p 0008f000 00:44 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f4724c84000-7f4724c85000 r--p 000e7000 00:44 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f4724c85000-7f4724c86000 rw-p 000e8000 00:44 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f4724c86000-7f4724c88000 r--p 00000000 00:44 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f4724c88000-7f4724c9d000 r-xp 00002000 00:44 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f4724c9d000-7f4724cb6000 r--p 00017000 00:44 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f4724cb6000-7f4724cb7000 r--p 0002f000 00:44 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f4724cb7000-7f4724cb8000 rw-p 00030000 00:44 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f4724cb8000-7f4724cc0000 rw-p 00000000 00:00 0 |
| 7f4724cc0000-7f4724cca000 r--p 00000000 00:44 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f4724cca000-7f4724d2d000 r-xp 0000a000 00:44 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f4724d2d000-7f4724d42000 r--p 0006d000 00:44 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f4724d42000-7f4724d43000 r--p 00081000 00:44 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f4724d43000-7f4724d44000 rw-p 00082000 00:44 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f4724d44000-7f4724d46000 r--p 00000000 00:44 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f4724d46000-7f4724d58000 r-xp 00002000 00:44 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f4724d58000-7f4724d5e000 r--p 00014000 00:44 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f4724d5e000-7f4724d5f000 r--p 0001a000 00:44 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f4724d5f000-7f4724d60000 rw-p 0001b000 00:44 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f4724d65000-7f4724d67000 rw-p 00000000 00:00 0 |
| 7f4724d67000-7f4724d68000 r--p 00000000 00:44 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f4724d68000-7f4724d93000 r-xp 00001000 00:44 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f4724d93000-7f4724d9d000 r--p 0002c000 00:44 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f4724d9d000-7f4724d9f000 r--p 00036000 00:44 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f4724d9f000-7f4724da1000 rw-p 00038000 00:44 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7fff02cf9000-7fff02d1a000 rw-p 00000000 00:00 0 [stack] |
| 7fff02d3f000-7fff02d43000 r--p 00000000 00:00 0 [vvar] |
| 7fff02d43000-7fff02d45000 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 + 10 |
| 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/2000 tests failed |
| make: *** [uncommon.mk:886: 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. |