| "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 |
| 552f5cd..519152d 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-08-24T18:15:21Z master 519152db6d) [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:0004f0 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) [0x5591fa5e789f] /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) [0x5591fa2e286b] /tmp/ruby/src/trunk-repeat20-asserts/error.c:1191 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(RB_BUILTIN_TYPE+0x0) [0x5591fa2e288c] /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) [0x5591fa2fbb44] /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) [0x5591fa2fbb49] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:454 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_setup_running_threads+0x47e) [0x5591fa57344e] /tmp/ruby/src/trunk-repeat20-asserts/thread_pthread.c:485 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(thread_sched_atfork+0x18) [0x5591fa580fa8] /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) [0x5591fa58100e] /tmp/ruby/src/trunk-repeat20-asserts/thread.c:4750 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_fork_ruby+0xc9) [0x5591fa4d2939] /tmp/ruby/src/trunk-repeat20-asserts/process.c:1688 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(proc_fork_pid+0x7) [0x5591fa4d2d4c] /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) [0x5591fa4d2ddd] /tmp/ruby/src/trunk-repeat20-asserts/process.c:4365 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_cfp_consistent_p+0x0) [0x5591fa5b9539] /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) [0x5591fa5bddaa] /tmp/ruby/src/trunk-repeat20-asserts/vm_insnhelper.c:5955 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_exec_core+0xca4) [0x5591fa5cc7d4] ../../src/trunk-repeat20-asserts/insns.def:851 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(vm_exec_loop+0x9) [0x5591fa5d2aa1] /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) [0x5591fa3df041] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:281 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(ruby_run_node+0x9b) [0x5591fa3e5c4b] /tmp/ruby/src/trunk-repeat20-asserts/eval.c:319 |
| /tmp/ruby/build/trunk-repeat20-asserts/miniruby(rb_main+0x21) [0x5591fa3159c6] /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) [0x7f74c751d1ca] ../sysdeps/nptl/libc_start_call_main.h:58 |
| /lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x7f74c751d28b] ../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 |
| [0x5591fa315a15] |
| |
| -- 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: |
| |
| 5591fa28f000-5591fa2d5000 r--p 00000000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fa2d5000-5591fa771000 r-xp 00046000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fa771000-5591fa931000 r--p 004e2000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fa931000-5591fa94a000 r--p 006a2000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fa94a000-5591fa94b000 rw-p 006bb000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 5591fa94b000-5591fa960000 rw-p 00000000 00:00 0 |
| 5591fb7b0000-5591fbcc7000 rw-p 00000000 00:00 0 [heap] |
| 5591fbcc7000-5591fbf43000 rw-p 00000000 00:00 0 [heap] |
| 7f74bc000000-7f74bc021000 rw-p 00000000 00:00 0 |
| 7f74bc021000-7f74c0000000 ---p 00000000 00:00 0 |
| 7f74c0679000-7f74c0880000 r--s 00000000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f74c0880000-7f74c3aa0000 r--s 00000000 00:50 14943446 /tmp/ruby/build/trunk-repeat20-asserts/miniruby |
| 7f74c3aa0000-7f74c3ab0000 rw-p 00000000 00:00 0 |
| 7f74c3abf000-7f74c3ac0000 ---p 00000000 00:00 0 |
| 7f74c3ac0000-7f74c3bd0000 rw-p 00000000 00:00 0 |
| 7f74c3c50000-7f74c3d10000 rw-p 00000000 00:00 0 |
| 7f74c3d10000-7f74c3d11000 ---p 00000000 00:00 0 |
| 7f74c3d11000-7f74c3db2000 rw-p 00000000 00:00 0 |
| 7f74c3db2000-7f74c3db3000 ---p 00000000 00:00 0 |
| 7f74c3db3000-7f74c3e54000 rw-p 00000000 00:00 0 |
| 7f74c3e54000-7f74c3e55000 ---p 00000000 00:00 0 |
| 7f74c3e55000-7f74c3ef6000 rw-p 00000000 00:00 0 |
| 7f74c3ef6000-7f74c3ef7000 ---p 00000000 00:00 0 |
| 7f74c3ef7000-7f74c3f98000 rw-p 00000000 00:00 0 |
| 7f74c3f98000-7f74c3f99000 ---p 00000000 00:00 0 |
| 7f74c3f99000-7f74c403a000 rw-p 00000000 00:00 0 |
| 7f74c403a000-7f74c403b000 ---p 00000000 00:00 0 |
| 7f74c403b000-7f74c40dc000 rw-p 00000000 00:00 0 |
| 7f74c40dc000-7f74c40dd000 ---p 00000000 00:00 0 |
| 7f74c40dd000-7f74c417e000 rw-p 00000000 00:00 0 |
| 7f74c417e000-7f74c417f000 ---p 00000000 00:00 0 |
| 7f74c417f000-7f74c4220000 rw-p 00000000 00:00 0 |
| 7f74c4220000-7f74c4221000 ---p 00000000 00:00 0 |
| 7f74c4221000-7f74c42c2000 rw-p 00000000 00:00 0 |
| 7f74c42c2000-7f74c42c3000 ---p 00000000 00:00 0 |
| 7f74c42c3000-7f74c4364000 rw-p 00000000 00:00 0 |
| 7f74c4364000-7f74c4365000 ---p 00000000 00:00 0 |
| 7f74c4365000-7f74c4406000 rw-p 00000000 00:00 0 |
| 7f74c4406000-7f74c4407000 ---p 00000000 00:00 0 |
| 7f74c4407000-7f74c44a8000 rw-p 00000000 00:00 0 |
| 7f74c44a8000-7f74c44a9000 ---p 00000000 00:00 0 |
| 7f74c44a9000-7f74c454a000 rw-p 00000000 00:00 0 |
| 7f74c454a000-7f74c454b000 ---p 00000000 00:00 0 |
| 7f74c454b000-7f74c45ec000 rw-p 00000000 00:00 0 |
| 7f74c45ec000-7f74c45ed000 ---p 00000000 00:00 0 |
| 7f74c45ed000-7f74c468e000 rw-p 00000000 00:00 0 |
| 7f74c468e000-7f74c468f000 ---p 00000000 00:00 0 |
| 7f74c468f000-7f74c4730000 rw-p 00000000 00:00 0 |
| 7f74c4730000-7f74c4731000 ---p 00000000 00:00 0 |
| 7f74c4731000-7f74c47d2000 rw-p 00000000 00:00 0 |
| 7f74c47d2000-7f74c47d3000 ---p 00000000 00:00 0 |
| 7f74c47d3000-7f74c4874000 rw-p 00000000 00:00 0 |
| 7f74c4874000-7f74c4875000 ---p 00000000 00:00 0 |
| 7f74c4875000-7f74c4916000 rw-p 00000000 00:00 0 |
| 7f74c4916000-7f74c4917000 ---p 00000000 00:00 0 |
| 7f74c4917000-7f74c49b8000 rw-p 00000000 00:00 0 |
| 7f74c49b8000-7f74c49b9000 ---p 00000000 00:00 0 |
| 7f74c49b9000-7f74c4a5a000 rw-p 00000000 00:00 0 |
| 7f74c4a5a000-7f74c4a5b000 ---p 00000000 00:00 0 |
| 7f74c4a5b000-7f74c4afc000 rw-p 00000000 00:00 0 |
| 7f74c4afc000-7f74c4afd000 ---p 00000000 00:00 0 |
| 7f74c4afd000-7f74c4b9e000 rw-p 00000000 00:00 0 |
| 7f74c4b9e000-7f74c4b9f000 ---p 00000000 00:00 0 |
| 7f74c4b9f000-7f74c4c40000 rw-p 00000000 00:00 0 |
| 7f74c4c40000-7f74c4c41000 ---p 00000000 00:00 0 |
| 7f74c4c41000-7f74c4ce2000 rw-p 00000000 00:00 0 |
| 7f74c4ce2000-7f74c4ce3000 ---p 00000000 00:00 0 |
| 7f74c4ce3000-7f74c4d84000 rw-p 00000000 00:00 0 |
| 7f74c4d84000-7f74c4d85000 ---p 00000000 00:00 0 |
| 7f74c4d85000-7f74c4e26000 rw-p 00000000 00:00 0 |
| 7f74c4e26000-7f74c4e27000 ---p 00000000 00:00 0 |
| 7f74c4e27000-7f74c4ec8000 rw-p 00000000 00:00 0 |
| 7f74c4ec8000-7f74c4ec9000 ---p 00000000 00:00 0 |
| 7f74c4ec9000-7f74c4f6a000 rw-p 00000000 00:00 0 |
| 7f74c4f6a000-7f74c4f6b000 ---p 00000000 00:00 0 |
| 7f74c4f6b000-7f74c500c000 rw-p 00000000 00:00 0 |
| 7f74c500c000-7f74c500d000 ---p 00000000 00:00 0 |
| 7f74c500d000-7f74c50ae000 rw-p 00000000 00:00 0 |
| 7f74c50ae000-7f74c50af000 ---p 00000000 00:00 0 |
| 7f74c50af000-7f74c5160000 rw-p 00000000 00:00 0 |
| 7f74c516f000-7f74c5170000 ---p 00000000 00:00 0 |
| 7f74c5170000-7f74c59c0000 rw-p 00000000 00:00 0 |
| 7f74c59cf000-7f74c7380000 rw-p 00000000 00:00 0 |
| 7f74c738f000-7f74c7490000 rw-p 00000000 00:00 0 |
| 7f74c7490000-7f74c7497000 r--s 00000000 00:50 15348559 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache |
| 7f74c7497000-7f74c74f0000 r--p 00000000 00:50 15348059 /usr/lib/locale/C.utf8/LC_CTYPE |
| 7f74c74f0000-7f74c74f3000 rw-p 00000000 00:00 0 |
| 7f74c74f3000-7f74c751b000 r--p 00000000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f74c751b000-7f74c76a3000 r-xp 00028000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f74c76a3000-7f74c76f2000 r--p 001b0000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f74c76f2000-7f74c76f6000 r--p 001fe000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f74c76f6000-7f74c76f8000 rw-p 00202000 00:50 15348597 /usr/lib/x86_64-linux-gnu/libc.so.6 |
| 7f74c76f8000-7f74c7707000 rw-p 00000000 00:00 0 |
| 7f74c7707000-7f74c770b000 r--p 00000000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f74c770b000-7f74c772e000 r-xp 00004000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f74c772e000-7f74c7732000 r--p 00027000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f74c7732000-7f74c7733000 r--p 0002b000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f74c7733000-7f74c7734000 rw-p 0002c000 00:50 15348637 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 |
| 7f74c7734000-7f74c7744000 r--p 00000000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f74c7744000-7f74c77c3000 r-xp 00010000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f74c77c3000-7f74c781b000 r--p 0008f000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f74c781b000-7f74c781c000 r--p 000e7000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f74c781c000-7f74c781d000 rw-p 000e8000 00:50 15348668 /usr/lib/x86_64-linux-gnu/libm.so.6 |
| 7f74c781d000-7f74c781f000 r--p 00000000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f74c781f000-7f74c7834000 r-xp 00002000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f74c7834000-7f74c784d000 r--p 00017000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f74c784d000-7f74c784e000 r--p 0002f000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f74c784e000-7f74c784f000 rw-p 00030000 00:50 15348620 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 |
| 7f74c784f000-7f74c7857000 rw-p 00000000 00:00 0 |
| 7f74c7857000-7f74c7861000 r--p 00000000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f74c7861000-7f74c78c4000 r-xp 0000a000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f74c78c4000-7f74c78d9000 r--p 0006d000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f74c78d9000-7f74c78da000 r--p 00081000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f74c78da000-7f74c78db000 rw-p 00082000 00:50 15348642 /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0 |
| 7f74c78db000-7f74c78dd000 r--p 00000000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f74c78dd000-7f74c78ef000 r-xp 00002000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f74c78ef000-7f74c78f5000 r--p 00014000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f74c78f5000-7f74c78f6000 r--p 0001a000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f74c78f6000-7f74c78f7000 rw-p 0001b000 00:50 15350670 /usr/lib/x86_64-linux-gnu/libz.so.1.3 |
| 7f74c78fc000-7f74c78fe000 rw-p 00000000 00:00 0 |
| 7f74c78fe000-7f74c78ff000 r--p 00000000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f74c78ff000-7f74c792a000 r-xp 00001000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f74c792a000-7f74c7934000 r--p 0002c000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f74c7934000-7f74c7936000 r--p 00036000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7f74c7936000-7f74c7938000 rw-p 00038000 00:50 15348571 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 |
| 7fff1e220000-7fff1ea1f000 rw-p 00000000 00:00 0 [stack] |
| 7fff1eb90000-7fff1eb94000 r--p 00000000 00:00 0 [vvar] |
| 7fff1eb94000-7fff1eb96000 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. |