| "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 |
| a4bb249..550ae74 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-10-16T15:56:01Z master 550ae745f6) +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>:238 |
| c:0002 p:0027 s:0007 E:002560 EVAL bootstraptest.test_fork.rb_78_287.rb:10 [FINISH] |
| c:0001 p:0000 s:0003 E:001de0 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) [0x5591fb7445af] /tmp/ruby/src/trunk-repeat20-asserts/vm_dump.c:822 |
| /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) [0x5591fb43dd33] /tmp/ruby/src/trunk-repeat20-asserts/error.c:1190 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(RB_BUILTIN_TYPE+0x0) [0x5591fb43dd54] /tmp/ruby/src/trunk-repeat20-asserts/error.c:1168 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_assert_failure) (null):0 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ractor_sched_set_locked+0x0) [0x5591fb4570bf] /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) [0x5591fb4570c4] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:454 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_setup_running_threads+0x47e) [0x5591fb6cf60e] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:485 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_atfork+0x18) [0x5591fb6dd2c8] /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:4689 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_thread_atfork+0x4e) [0x5591fb6dd32e] /tmp/ruby/src/trunk-repeat20-asserts/thread.c:4737 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_fork_ruby+0x13c) [0x5591fb62e1dc] /tmp/ruby/src/trunk-repeat20-asserts/process.c:1688 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(proc_fork_pid+0x7) [0x5591fb62e59c] /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) [0x5591fb62e62d] /tmp/ruby/src/trunk-repeat20-asserts/process.c:4376 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_cfp_consistent_p+0x0) [0x5591fb7160a9] /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) [0x5591fb71a89a] /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:5961 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_exec_core+0xe81) [0x5591fb729591] ../../src/trunk-repeat20-asserts/insns.def:851 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_exec_loop+0x9) [0x5591fb72f7c1] /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) [0x5591fb5393e1] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:281 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ruby_run_node+0x9b) [0x5591fb53ffeb] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:319 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_main+0x21) [0x5591fb471196] /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) [0x7fc3757d61ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x7fc3757d628b] ../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 |
| [0x5591fb4711e5] |
| |
| -- 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: |
| |
| 5591fb3ea000-5591fb430000 r--p 00000000 00:50 14566189 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fb430000-5591fb8d2000 r-xp 00046000 00:50 14566189 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fb8d2000-5591fba94000 r--p 004e8000 00:50 14566189 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fba94000-5591fbaad000 r--p 006aa000 00:50 14566189 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fbaad000-5591fbaae000 rw-p 006c3000 00:50 14566189 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fbaae000-5591fbac3000 rw-p 00000000 00:00 0 |
| 5591fc385000-5591fc5bc000 rw-p 00000000 00:00 0 [heap] |
| 7fc368da1000-7fc36c000000 r--s 00000000 00:50 14566189 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 7fc36c000000-7fc36c021000 rw-p 00000000 00:00 0 |
| 7fc36c021000-7fc370000000 ---p 00000000 00:00 0 |
| 7fc371b39000-7fc371d40000 r--s 00000000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7fc371d40000-7fc371d50000 rw-p 00000000 00:00 0 |
| 7fc371d5e000-7fc371d5f000 ---p 00000000 00:00 0 |
| 7fc371d5f000-7fc371fd0000 rw-p 00000000 00:00 0 |
| 7fc371fd0000-7fc371fd1000 ---p 00000000 00:00 0 |
| 7fc371fd1000-7fc372072000 rw-p 00000000 00:00 0 |
| 7fc372072000-7fc372073000 ---p 00000000 00:00 0 |
| 7fc372073000-7fc372114000 rw-p 00000000 00:00 0 |
| 7fc372114000-7fc372115000 ---p 00000000 00:00 0 |
| 7fc372115000-7fc3721b6000 rw-p 00000000 00:00 0 |
| 7fc3721b6000-7fc3721b7000 ---p 00000000 00:00 0 |
| 7fc3721b7000-7fc372258000 rw-p 00000000 00:00 0 |
| 7fc372258000-7fc372259000 ---p 00000000 00:00 0 |
| 7fc372259000-7fc3722fa000 rw-p 00000000 00:00 0 |
| 7fc3722fa000-7fc3722fb000 ---p 00000000 00:00 0 |
| 7fc3722fb000-7fc37239c000 rw-p 00000000 00:00 0 |
| 7fc37239c000-7fc37239d000 ---p 00000000 00:00 0 |
| 7fc37239d000-7fc37243e000 rw-p 00000000 00:00 0 |
| 7fc37243e000-7fc37243f000 ---p 00000000 00:00 0 |
| 7fc37243f000-7fc3724e0000 rw-p 00000000 00:00 0 |
| 7fc3724e0000-7fc3724e1000 ---p 00000000 00:00 0 |
| 7fc3724e1000-7fc372582000 rw-p 00000000 00:00 0 |
| 7fc372582000-7fc372583000 ---p 00000000 00:00 0 |
| 7fc372583000-7fc372624000 rw-p 00000000 00:00 0 |
| 7fc372624000-7fc372625000 ---p 00000000 00:00 0 |
| 7fc372625000-7fc3726c6000 rw-p 00000000 00:00 0 |
| 7fc3726c6000-7fc3726c7000 ---p 00000000 00:00 0 |
| 7fc3726c7000-7fc372768000 rw-p 00000000 00:00 0 |
| 7fc372768000-7fc372769000 ---p 00000000 00:00 0 |
| 7fc372769000-7fc37280a000 rw-p 00000000 00:00 0 |
| 7fc37280a000-7fc37280b000 ---p 00000000 00:00 0 |
| 7fc37280b000-7fc3728ac000 rw-p 00000000 00:00 0 |
| 7fc3728ac000-7fc3728ad000 ---p 00000000 00:00 0 |
| 7fc3728ad000-7fc37294e000 rw-p 00000000 00:00 0 |
| 7fc37294e000-7fc37294f000 ---p 00000000 00:00 0 |
| 7fc37294f000-7fc3729f0000 rw-p 00000000 00:00 0 |
| 7fc3729f0000-7fc3729f1000 ---p 00000000 00:00 0 |
| 7fc3729f1000-7fc372a92000 rw-p 00000000 00:00 0 |
| 7fc372a92000-7fc372a93000 ---p 00000000 00:00 0 |
| 7fc372a93000-7fc372b34000 rw-p 00000000 00:00 0 |
| 7fc372b34000-7fc372b35000 ---p 00000000 00:00 0 |
| 7fc372b35000-7fc372bd6000 rw-p 00000000 00:00 0 |
| 7fc372bd6000-7fc372bd7000 ---p 00000000 00:00 0 |
| 7fc372bd7000-7fc372c78000 rw-p 00000000 00:00 0 |
| 7fc372c78000-7fc372c79000 ---p 00000000 00:00 0 |
| 7fc372c79000-7fc372d1a000 rw-p 00000000 00:00 0 |
| 7fc372d1a000-7fc372d1b000 ---p 00000000 00:00 0 |
| 7fc372d1b000-7fc372dbc000 rw-p 00000000 00:00 0 |
| 7fc372dbc000-7fc372dbd000 ---p 00000000 00:00 0 |
| 7fc372dbd000-7fc372e5e000 rw-p 00000000 00:00 0 |
| 7fc372e5e000-7fc372e5f000 ---p 00000000 00:00 0 |
| 7fc372e5f000-7fc372f00000 rw-p 00000000 00:00 0 |
| 7fc372f00000-7fc372f01000 ---p 00000000 00:00 0 |
| 7fc372f01000-7fc372fa2000 rw-p 00000000 00:00 0 |
| 7fc372fa2000-7fc372fa3000 ---p 00000000 00:00 0 |
| 7fc372fa3000-7fc373044000 rw-p 00000000 00:00 0 |
| 7fc373044000-7fc373045000 ---p 00000000 00:00 0 |
| 7fc373045000-7fc3730e6000 rw-p 00000000 00:00 0 |
| 7fc3730e6000-7fc3730e7000 ---p 00000000 00:00 0 |
| 7fc3730e7000-7fc373188000 rw-p 00000000 00:00 0 |
| 7fc373188000-7fc373189000 ---p 00000000 00:00 0 |
| 7fc373189000-7fc37322a000 rw-p 00000000 00:00 0 |
| 7fc37322a000-7fc37322b000 ---p 00000000 00:00 0 |
| 7fc37322b000-7fc3732cc000 rw-p 00000000 00:00 0 |
| 7fc3732cc000-7fc3732cd000 ---p 00000000 00:00 0 |
| 7fc3732cd000-7fc37336e000 rw-p 00000000 00:00 0 |
| 7fc37336e000-7fc37336f000 ---p 00000000 00:00 0 |
| 7fc37336f000-7fc373420000 rw-p 00000000 00:00 0 |
| 7fc37342f000-7fc373430000 ---p 00000000 00:00 0 |
| 7fc373430000-7fc373c80000 rw-p 00000000 00:00 0 |
| 7fc373c8f000-7fc375640000 rw-p 00000000 00:00 0 |
| 7fc375648000-7fc375749000 rw-p 00000000 00:00 0 |
| 7fc375749000-7fc375750000 r--s 00000000 00:50 15348559 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache |
| 7fc375750000-7fc3757a9000 r--p 00000000 00:50 15348059 /usr/lib/locale/C.utf8/LC_CTYPE |
| 7fc3757a9000-7fc3757ac000 rw-p 00000000 00:00 0 |
| 7fc3757ac000-7fc3757d4000 r--p 00000000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7fc3757d4000-7fc37595c000 r-xp 00028000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7fc37595c000-7fc3759ab000 r--p 001b0000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7fc3759ab000-7fc3759af000 r--p 001fe000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7fc3759af000-7fc3759b1000 rw-p 00202000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7fc3759b1000-7fc3759c0000 rw-p 00000000 00:00 0 |
| 7fc3759c0000-7fc3759c4000 r--p 00000000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7fc3759c4000-7fc3759e7000 r-xp 00004000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7fc3759e7000-7fc3759eb000 r--p 00027000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7fc3759eb000-7fc3759ec000 r--p 0002b000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7fc3759ec000-7fc3759ed000 rw-p 0002c000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7fc3759ed000-7fc3759fd000 r--p 00000000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7fc3759fd000-7fc375a7c000 r-xp 00010000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7fc375a7c000-7fc375ad4000 r--p 0008f000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7fc375ad4000-7fc375ad5000 r--p 000e7000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7fc375ad5000-7fc375ad6000 rw-p 000e8000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7fc375ad6000-7fc375ad8000 r--p 00000000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7fc375ad8000-7fc375aed000 r-xp 00002000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7fc375aed000-7fc375b06000 r--p 00017000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7fc375b06000-7fc375b07000 r--p 0002f000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7fc375b07000-7fc375b08000 rw-p 00030000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7fc375b08000-7fc375b10000 rw-p 00000000 00:00 0 |
| 7fc375b10000-7fc375b1a000 r--p 00000000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7fc375b1a000-7fc375b7d000 r-xp 0000a000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7fc375b7d000-7fc375b92000 r--p 0006d000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7fc375b92000-7fc375b93000 r--p 00081000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7fc375b93000-7fc375b94000 rw-p 00082000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7fc375b94000-7fc375b96000 r--p 00000000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7fc375b96000-7fc375ba8000 r-xp 00002000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7fc375ba8000-7fc375bae000 r--p 00014000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7fc375bae000-7fc375baf000 r--p 0001a000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7fc375baf000-7fc375bb0000 rw-p 0001b000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7fc375bb5000-7fc375bb7000 rw-p 00000000 00:00 0 |
| 7fc375bb7000-7fc375bb8000 r--p 00000000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7fc375bb8000-7fc375be3000 r-xp 00001000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7fc375be3000-7fc375bed000 r--p 0002c000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7fc375bed000-7fc375bef000 r--p 00036000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7fc375bef000-7fc375bf1000 rw-p 00038000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7ffdf517d000-7ffdf597c000 rw-p 00000000 00:00 0 [stack] |
| 7ffdf5991000-7ffdf5995000 r--p 00000000 00:00 0 [vvar] |
| 7ffdf5995000-7ffdf5997000 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: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. |