| "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 |
| b6e7e90..c93d07e 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 |
| Assertion Failed: /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:454:ractor_sched_set_locked:vm->ractor.sched.lock_owner == NULL |
| ruby 3.4.0dev (2024-09-02T23:40:07Z master c93d07ed74) [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:000cc0 EVAL bootstraptest.test_fork.rb_78_287.rb:10 [FINISH] |
| c:0001 p:0000 s:0003 E:000ad0 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-repeat20-asserts/miniruby(rb_print_backtrace+0x14) [0x555656d36a5f] /tmp/ruby/src/trunk-repeat20-asserts/vm_dump.c:820 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_vm_bugreport) /tmp/ruby/src/trunk-repeat20-asserts/vm_dump.c:1151 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_assert_failure_detail+0x13e) [0x555656a31806] /tmp/ruby/src/trunk-repeat20-asserts/error.c:1191 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(RB_BUILTIN_TYPE+0x0) [0x555656a31827] /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) [0x555656a4ab00] /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) [0x555656a4ab05] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:454 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_setup_running_threads+0x47e) [0x555656cc260e] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:485 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_atfork+0x18) [0x555656cd0168] /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:4702 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_thread_atfork+0x4e) [0x555656cd01ce] /tmp/ruby/src/trunk-repeat20-asserts/thread.c:4750 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_fork_ruby+0xc9) [0x555656c21a59] /tmp/ruby/src/trunk-repeat20-asserts/process.c:1688 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(proc_fork_pid+0x7) [0x555656c21e6c] /tmp/ruby/src/trunk-repeat20-asserts/process.c:4249 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_call_proc__fork) /tmp/ruby/src/trunk-repeat20-asserts/process.c:4264 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_call_proc__fork) /tmp/ruby/src/trunk-repeat20-asserts/process.c:4259 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_f_fork+0x1d) [0x555656c21efd] /tmp/ruby/src/trunk-repeat20-asserts/process.c:4365 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_cfp_consistent_p+0x0) [0x555656d086f9] /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:3788 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_call_cfunc_with_frame_) /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:3790 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_sendish+0x16a) [0x555656d0cf6a] /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:5955 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_exec_core+0xca4) [0x555656d1b994] ../../src/trunk-repeat20-asserts/insns.def:851 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_exec_loop+0x9) [0x555656d21c61] /tmp/ruby/src/trunk-repeat20-asserts/vm.c:2591 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_vm_exec) /tmp/ruby/src/trunk-repeat20-asserts/vm.c:2567 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_ec_exec_node+0xb1) [0x555656b2e511] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:281 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ruby_run_node+0x9b) [0x555656b3511b] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:319 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_main+0x21) [0x555656a64a16] /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:62 |
| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_call_main+0x7a) [0x7f671a92c1ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x7f671a92c28b] ../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 |
| [0x555656a64a65] |
| |
| -- 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: |
| |
| 5556569de000-555656a24000 r--p 00000000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 555656a24000-555656ec1000 r-xp 00046000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 555656ec1000-555657081000 r--p 004e3000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 555657081000-55565709a000 r--p 006a2000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 55565709a000-55565709b000 rw-p 006bb000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 55565709b000-5556570b0000 rw-p 00000000 00:00 0 |
| 5556572f6000-55565784a000 rw-p 00000000 00:00 0 [heap] |
| 55565784a000-555657ac8000 rw-p 00000000 00:00 0 [heap] |
| 7f670cdc7000-7f6710000000 r--s 00000000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 7f6710000000-7f6710021000 rw-p 00000000 00:00 0 |
| 7f6710021000-7f6714000000 ---p 00000000 00:00 0 |
| 7f6716cc9000-7f6716ed0000 r--s 00000000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f6716ed0000-7f6716ee0000 rw-p 00000000 00:00 0 |
| 7f6716f5f000-7f6716f60000 ---p 00000000 00:00 0 |
| 7f6716f60000-7f6717120000 rw-p 00000000 00:00 0 |
| 7f6717120000-7f6717121000 ---p 00000000 00:00 0 |
| 7f6717121000-7f67171c2000 rw-p 00000000 00:00 0 |
| 7f67171c2000-7f67171c3000 ---p 00000000 00:00 0 |
| 7f67171c3000-7f6717264000 rw-p 00000000 00:00 0 |
| 7f6717264000-7f6717265000 ---p 00000000 00:00 0 |
| 7f6717265000-7f6717306000 rw-p 00000000 00:00 0 |
| 7f6717306000-7f6717307000 ---p 00000000 00:00 0 |
| 7f6717307000-7f67173a8000 rw-p 00000000 00:00 0 |
| 7f67173a8000-7f67173a9000 ---p 00000000 00:00 0 |
| 7f67173a9000-7f671744a000 rw-p 00000000 00:00 0 |
| 7f671744a000-7f671744b000 ---p 00000000 00:00 0 |
| 7f671744b000-7f67174ec000 rw-p 00000000 00:00 0 |
| 7f67174ec000-7f67174ed000 ---p 00000000 00:00 0 |
| 7f67174ed000-7f671758e000 rw-p 00000000 00:00 0 |
| 7f671758e000-7f671758f000 ---p 00000000 00:00 0 |
| 7f671758f000-7f6717630000 rw-p 00000000 00:00 0 |
| 7f6717630000-7f6717631000 ---p 00000000 00:00 0 |
| 7f6717631000-7f67176d2000 rw-p 00000000 00:00 0 |
| 7f67176d2000-7f67176d3000 ---p 00000000 00:00 0 |
| 7f67176d3000-7f6717774000 rw-p 00000000 00:00 0 |
| 7f6717774000-7f6717775000 ---p 00000000 00:00 0 |
| 7f6717775000-7f6717816000 rw-p 00000000 00:00 0 |
| 7f6717816000-7f6717817000 ---p 00000000 00:00 0 |
| 7f6717817000-7f67178b8000 rw-p 00000000 00:00 0 |
| 7f67178b8000-7f67178b9000 ---p 00000000 00:00 0 |
| 7f67178b9000-7f671795a000 rw-p 00000000 00:00 0 |
| 7f671795a000-7f671795b000 ---p 00000000 00:00 0 |
| 7f671795b000-7f67179fc000 rw-p 00000000 00:00 0 |
| 7f67179fc000-7f67179fd000 ---p 00000000 00:00 0 |
| 7f67179fd000-7f6717a9e000 rw-p 00000000 00:00 0 |
| 7f6717a9e000-7f6717a9f000 ---p 00000000 00:00 0 |
| 7f6717a9f000-7f6717b40000 rw-p 00000000 00:00 0 |
| 7f6717b40000-7f6717b41000 ---p 00000000 00:00 0 |
| 7f6717b41000-7f6717be2000 rw-p 00000000 00:00 0 |
| 7f6717be2000-7f6717be3000 ---p 00000000 00:00 0 |
| 7f6717be3000-7f6717c84000 rw-p 00000000 00:00 0 |
| 7f6717c84000-7f6717c85000 ---p 00000000 00:00 0 |
| 7f6717c85000-7f6717d26000 rw-p 00000000 00:00 0 |
| 7f6717d26000-7f6717d27000 ---p 00000000 00:00 0 |
| 7f6717d27000-7f6717dc8000 rw-p 00000000 00:00 0 |
| 7f6717dc8000-7f6717dc9000 ---p 00000000 00:00 0 |
| 7f6717dc9000-7f6717e6a000 rw-p 00000000 00:00 0 |
| 7f6717e6a000-7f6717e6b000 ---p 00000000 00:00 0 |
| 7f6717e6b000-7f6717f0c000 rw-p 00000000 00:00 0 |
| 7f6717f0c000-7f6717f0d000 ---p 00000000 00:00 0 |
| 7f6717f0d000-7f6717fae000 rw-p 00000000 00:00 0 |
| 7f6717fae000-7f6717faf000 ---p 00000000 00:00 0 |
| 7f6717faf000-7f6718050000 rw-p 00000000 00:00 0 |
| 7f6718050000-7f6718051000 ---p 00000000 00:00 0 |
| 7f6718051000-7f67180f2000 rw-p 00000000 00:00 0 |
| 7f67180f2000-7f67180f3000 ---p 00000000 00:00 0 |
| 7f67180f3000-7f6718194000 rw-p 00000000 00:00 0 |
| 7f6718194000-7f6718195000 ---p 00000000 00:00 0 |
| 7f6718195000-7f6718236000 rw-p 00000000 00:00 0 |
| 7f6718236000-7f6718237000 ---p 00000000 00:00 0 |
| 7f6718237000-7f67182d8000 rw-p 00000000 00:00 0 |
| 7f67182d8000-7f67182d9000 ---p 00000000 00:00 0 |
| 7f67182d9000-7f671837a000 rw-p 00000000 00:00 0 |
| 7f671837a000-7f671837b000 ---p 00000000 00:00 0 |
| 7f671837b000-7f671841c000 rw-p 00000000 00:00 0 |
| 7f671841c000-7f671841d000 ---p 00000000 00:00 0 |
| 7f671841d000-7f67184be000 rw-p 00000000 00:00 0 |
| 7f67184be000-7f67184bf000 ---p 00000000 00:00 0 |
| 7f67184bf000-7f6718570000 rw-p 00000000 00:00 0 |
| 7f671857f000-7f6718580000 ---p 00000000 00:00 0 |
| 7f6718580000-7f6718dd0000 rw-p 00000000 00:00 0 |
| 7f6718ddf000-7f671a790000 rw-p 00000000 00:00 0 |
| 7f671a79e000-7f671a89f000 rw-p 00000000 00:00 0 |
| 7f671a89f000-7f671a8a6000 r--s 00000000 00:50 15348559 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache |
| 7f671a8a6000-7f671a8ff000 r--p 00000000 00:50 15348059 /usr/lib/locale/C.utf8/LC_CTYPE |
| 7f671a8ff000-7f671a902000 rw-p 00000000 00:00 0 |
| 7f671a902000-7f671a92a000 r--p 00000000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f671a92a000-7f671aab2000 r-xp 00028000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f671aab2000-7f671ab01000 r--p 001b0000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f671ab01000-7f671ab05000 r--p 001fe000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f671ab05000-7f671ab07000 rw-p 00202000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f671ab07000-7f671ab16000 rw-p 00000000 00:00 0 |
| 7f671ab16000-7f671ab1a000 r--p 00000000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f671ab1a000-7f671ab3d000 r-xp 00004000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f671ab3d000-7f671ab41000 r--p 00027000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f671ab41000-7f671ab42000 r--p 0002b000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f671ab42000-7f671ab43000 rw-p 0002c000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f671ab43000-7f671ab53000 r--p 00000000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f671ab53000-7f671abd2000 r-xp 00010000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f671abd2000-7f671ac2a000 r--p 0008f000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f671ac2a000-7f671ac2b000 r--p 000e7000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f671ac2b000-7f671ac2c000 rw-p 000e8000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f671ac2c000-7f671ac2e000 r--p 00000000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f671ac2e000-7f671ac43000 r-xp 00002000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f671ac43000-7f671ac5c000 r--p 00017000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f671ac5c000-7f671ac5d000 r--p 0002f000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f671ac5d000-7f671ac5e000 rw-p 00030000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f671ac5e000-7f671ac66000 rw-p 00000000 00:00 0 |
| 7f671ac66000-7f671ac70000 r--p 00000000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f671ac70000-7f671acd3000 r-xp 0000a000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f671acd3000-7f671ace8000 r--p 0006d000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f671ace8000-7f671ace9000 r--p 00081000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f671ace9000-7f671acea000 rw-p 00082000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f671acea000-7f671acec000 r--p 00000000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f671acec000-7f671acfe000 r-xp 00002000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f671acfe000-7f671ad04000 r--p 00014000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f671ad04000-7f671ad05000 r--p 0001a000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f671ad05000-7f671ad06000 rw-p 0001b000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f671ad0b000-7f671ad0d000 rw-p 00000000 00:00 0 |
| 7f671ad0d000-7f671ad0e000 r--p 00000000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f671ad0e000-7f671ad39000 r-xp 00001000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f671ad39000-7f671ad43000 r--p 0002c000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f671ad43000-7f671ad45000 r--p 00036000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f671ad45000-7f671ad47000 rw-p 00038000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7ffceae00000-7ffceb5ff000 rw-p 00000000 00:00 0 [stack] |
| 7ffceb7c2000-7ffceb7c6000 r--p 00000000 00:00 0 [vvar] |
| 7ffceb7c6000-7ffceb7c8000 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/0 tests failed |
| make: *** [uncommon.mk:897: 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. |