| "make update-download -j4" exit with 0. |
| "make update-src -j4" exit with 0. |
| From https://github.com/ruby/ruby |
| 3cb79d4..6cde41b master -> origin/master |
| "make after-update -j4" exit with 0. |
| "make miniruby -j4" exit with 0. |
| "make ruby -j4" exit with 0. |
| "make all -j4" exit with 0. |
| "make install -j4" exit with 0. |
| "make yes-btest TESTOPTS='-q -j4'" exit with 0. |
| |
| "make yes-test-basic TESTS='-j4'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j4'" exit with 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j4'" exit with 512. |
| 1) |
| An Exception reaching the top level kills all threads and fibers, ensure clauses are only run for threads current fibers, not for suspended fibers with ensure on the root fiber FAILED |
| Expected exit status is 0 but actual is :SIGSEGV for command ruby_exe("/tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/ruby/core/exception/fixtures/thread_fiber_ensure.rb") |
| Output: |
| /tmp/ruby/build/trunk/riscv64-linux-fake.rb: [BUG] Segmentation fault at 0xffffffc000000030 |
| ruby 3.4.0dev (2024-12-13T14:23:30Z master 6cde41bc52) +PRISM [riscv64-linux] |
| |
| -- Control frame information ----------------------------------------------- |
| c:0003 p:---- s:0009 e:000008 DUMMY [FINISH] |
| c:0002 p:---- s:0006 e:000005 CFUNC :require |
| c:0001 p:0000 s:0003 E:002410 DUMMY [FINISH] |
| |
| -- Ruby level backtrace information ---------------------------------------- |
| /tmp/ruby/src/trunk/tool/runruby.rb:0:in 'require' |
| |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 1 |
| Ruby thread count for this ractor: 1 |
| |
| -- Machine register context ------------------------------------------------ |
| sp: 0x0000003fffe90040 s0: 0x0000003fffe903c0 s1: 0x0000000000000000 |
| a0: 0x0000002ab7d030b8 a1: 0x0000000000000002 a2: 0x0000002ab7e9c900 |
| a3: 0x0000002ab7e9c900 a4: 0x0000002ab7f6d900 a5: 0x0000000000000038 |
| a6: 0x000000000000000c a7: 0x0000003fea3b2d18 s2: 0x0000000000000007 |
| s3: 0x0000003fea3b2d18 s4: 0xb7e8d5c00000002a s5: 0x0000003fffe90618 |
| s6: 0x0000003fffe905e8 s7: 0x0000002ab7d1d868 s8: 0x0000002ab7f0dbe0 |
| s9: 0x0000003fea083fd8 s10: 0x0000000000000001 s11: 0x0000000000000001 |
| |
| -- C level backtrace information ------------------------------------------- |
| /tmp/ruby/build/trunk/miniruby(rb_print_backtrace+0x14) [0x2ab7c874d6] /tmp/ruby/src/trunk/vm_dump.c:823 |
| /tmp/ruby/build/trunk/miniruby(rb_vm_bugreport) /tmp/ruby/src/trunk/vm_dump.c:1155 |
| /tmp/ruby/build/trunk/miniruby(rb_bug_for_fatal_signal+0x6e) [0x2ab7aea16c] /tmp/ruby/src/trunk/error.c:1129 |
| /tmp/ruby/build/trunk/miniruby(sigsegv+0x42) [0x2ab7bf40a4] /tmp/ruby/src/trunk/signal.c:933 |
| linux-vdso.so.1(__vdso_rt_sigreturn+0x0) [0x3fea38f800] |
| /tmp/ruby/build/trunk/miniruby(rb_intern3+0xe) [0x2ab7c243de] /tmp/ruby/src/trunk/symbol.c:756 |
| /tmp/ruby/build/trunk/miniruby(pm_parse_process+0x176) [0x2ab7aa7f14] /tmp/ruby/src/trunk/prism_compile.c:10673 |
| /tmp/ruby/build/trunk/miniruby(rbimpl_intern_const+0x0) [0x2ab7abe712] /tmp/ruby/src/trunk/prism_compile.c:10945 |
| /tmp/ruby/build/trunk/miniruby(pm_parse_file) /tmp/ruby/src/trunk/prism_compile.c:10950 |
| /tmp/ruby/build/trunk/miniruby(load_iseq_eval+0x5a) [0x2ab7b45196] /tmp/ruby/src/trunk/load.c:752 |
| /tmp/ruby/build/trunk/miniruby(require_internal) /tmp/ruby/src/trunk/load.c:1295 |
| /tmp/ruby/build/trunk/miniruby(rb_require_string_internal+0x2e) [0x2ab7b45996] /tmp/ruby/src/trunk/load.c:1401 |
| /tmp/ruby/build/trunk/miniruby(rb_require_string) /tmp/ruby/src/trunk/load.c:1387 |
| /tmp/ruby/build/trunk/miniruby(vm_cfp_consistent_p+0x0) [0x2ab7c7a210] /tmp/ruby/src/trunk/vm_eval.c:164 |
| /tmp/ruby/build/trunk/miniruby(vm_call0_cfunc_with_frame) /tmp/ruby/src/trunk/vm_eval.c:166 |
| /tmp/ruby/build/trunk/miniruby(vm_call0_cfunc) /tmp/ruby/src/trunk/vm_eval.c:178 |
| /tmp/ruby/build/trunk/miniruby(vm_call0_body) /tmp/ruby/src/trunk/vm_eval.c:229 |
| /tmp/ruby/build/trunk/miniruby(rb_funcallv_scope+0xda) [0x2ab7c7d6ba] /tmp/ruby/src/trunk/vm_eval.c:101 |
| /tmp/ruby/build/trunk/miniruby(rb_funcallv) /tmp/ruby/src/trunk/vm_eval.c:1062 |
| /tmp/ruby/build/trunk/miniruby(RB_FL_TEST_RAW+0x0) [0x2ab7bee5e8] /tmp/ruby/src/trunk/ruby.c:799 |
| /tmp/ruby/build/trunk/miniruby(RB_FL_ANY_RAW) /tmp/ruby/src/trunk/include/ruby/internal/fl_type.h:520 |
| /tmp/ruby/build/trunk/miniruby(rb_array_len) /tmp/ruby/src/trunk/include/ruby/internal/core/rarray.h:259 |
| /tmp/ruby/build/trunk/miniruby(require_libraries) /tmp/ruby/src/trunk/ruby.c:794 |
| /tmp/ruby/build/trunk/miniruby(ruby_opt_init) /tmp/ruby/src/trunk/ruby.c:1828 |
| /tmp/ruby/build/trunk/miniruby(ruby_opt_init) /tmp/ruby/src/trunk/ruby.c:1767 |
| /tmp/ruby/build/trunk/miniruby(prism_script+0x6) [0x2ab7bf00d8] /tmp/ruby/src/trunk/ruby.c:2215 |
| /tmp/ruby/build/trunk/miniruby(process_options) /tmp/ruby/src/trunk/ruby.c:2538 |
| /tmp/ruby/build/trunk/miniruby(ruby_process_options+0x124) [0x2ab7bf0568] /tmp/ruby/src/trunk/ruby.c:3169 |
| /tmp/ruby/build/trunk/miniruby(ruby_options+0x94) [0x2ab7af4674] /tmp/ruby/src/trunk/eval.c:117 |
| /tmp/ruby/build/trunk/miniruby(rb_main+0x16) [0x2ab7a52856] /tmp/ruby/src/trunk/thread_pthread_mn.c:861 |
| /tmp/ruby/build/trunk/miniruby(main) /tmp/ruby/src/trunk/main.c:68 |
| [0x3fea105a48] |
| [0x3fea105af0] |
| [0x2ab7a52894] |
| |
| -- Other runtime information ----------------------------------------------- |
| |
| * Loaded script: /tmp/ruby/src/trunk/tool/runruby.rb |
| |
| * Loaded features: |
| |
| 0 enumerator.so |
| 1 thread.rb |
| 2 fiber.so |
| 3 rational.so |
| 4 complex.so |
| 5 ruby2_keywords.rb |
| |
| * Process memory map: |
| |
| 2ab7a21000-2ab7e73000 r-xp 00000000 00:1e 2132063 /tmp/ruby/build/trunk/miniruby |
| 2ab7e73000-2ab7e7d000 r--p 00451000 00:1e 2132063 /tmp/ruby/build/trunk/miniruby |
| 2ab7e7d000-2ab7e7f000 rw-p 0045b000 00:1e 2132063 /tmp/ruby/build/trunk/miniruby |
| 2ab7e7f000-2ab7f79000 rw-p 00000000 00:00 0 [heap] |
| 3fcc019000-3fcdd1e000 r--s 00000000 00:1e 2132063 /tmp/ruby/build/trunk/miniruby |
| 3fcdd1e000-3fcfa23000 r--s 00000000 00:1e 2132063 /tmp/ruby/build/trunk/miniruby |
| 3fcfa23000-3fcfa3e000 r-xp 00000000 b3:03 32 /usr/lib/riscv64-linux-gnu/libgcc_s.so.1 |
| 3fcfa3e000-3fcfa3f000 r--p 0001b000 b3:03 32 /usr/lib/riscv64-linux-gnu/libgcc_s.so.1 |
| 3fcfa3f000-3fcfa40000 rw-p 0001c000 b3:03 32 /usr/lib/riscv64-linux-gnu/libgcc_s.so.1 |
| 3fcfa40000-3fcfa60000 rw-p 00000000 00:00 0 [anon:Ruby:GC:default:heap_page_body_allocate] |
| 3fcfa6f000-3fcfa70000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfa70000-3fcfab1000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfab1000-3fcfab2000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfab2000-3fcfaf3000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfaf3000-3fcfaf4000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfaf4000-3fcfb35000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfb35000-3fcfb36000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfb36000-3fcfb77000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfb77000-3fcfb78000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfb78000-3fcfbb9000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfbb9000-3fcfbba000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfbba000-3fcfbfb000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfbfb000-3fcfbfc000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfbfc000-3fcfc3d000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfc3d000-3fcfc3e000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfc3e000-3fcfc7f000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfc7f000-3fcfc80000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfc80000-3fcfcc1000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfcc1000-3fcfcc2000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfcc2000-3fcfd03000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfd03000-3fcfd04000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfd04000-3fcfd45000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfd45000-3fcfd46000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfd46000-3fcfd87000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfd87000-3fcfd88000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfd88000-3fcfdc9000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfdc9000-3fcfdca000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfdca000-3fcfe0b000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfe0b000-3fcfe0c000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfe0c000-3fcfe4d000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfe4d000-3fcfe4e000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfe4e000-3fcfe8f000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfe8f000-3fcfe90000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfe90000-3fcfed1000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfed1000-3fcfed2000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcfed2000-3fcff13000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcff13000-3fcff14000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcff14000-3fcff55000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcff55000-3fcff56000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcff56000-3fcff97000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcff97000-3fcff98000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcff98000-3fcffd9000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcffd9000-3fcffda000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fcffda000-3fd001b000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd001b000-3fd001c000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd001c000-3fd005d000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd005d000-3fd005e000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd005e000-3fd009f000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd009f000-3fd00a0000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd00a0000-3fd00e1000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd00e1000-3fd00e2000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd00e2000-3fd0123000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd0123000-3fd0124000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd0124000-3fd0165000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd0165000-3fd0166000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd0166000-3fd01a7000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd01a7000-3fd01a8000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd01a8000-3fd01e9000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd01e9000-3fd01ea000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd01ea000-3fd022b000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd022b000-3fd022c000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd022c000-3fd026d000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd026d000-3fd026e000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd026e000-3fd02af000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fd02af000-3fd02b0000 ---p 00000000 00:00 0 |
| 3fd02b0000-3fd0ab0000 rw-p 00000000 00:00 0 |
| 3fd0ab0000-3fd0b00000 rw-p 00000000 00:00 0 [anon:Ruby:GC:default:heap_page_body_allocate] |
| 3fd0b0f000-3fe8b0f000 rw-p 00000000 00:00 0 [anon:Ruby:Init_default_shapes:shape_cache] |
| 3fe8b0f000-3fe9f0f000 rw-p 00000000 00:00 0 [anon:Ruby:Init_default_shapes:shape_list] |
| 3fe9f0f000-3fe9f70000 rw-p 00000000 00:00 0 |
| 3fe9f70000-3fe9f80000 rw-p 00000000 00:00 0 [anon:Ruby:GC:default:heap_page_body_allocate] |
| 3fe9f84000-3fea085000 rw-p 00000000 00:00 0 |
| 3fea085000-3fea0dd000 r--p 00000000 b3:03 8804 /usr/lib/locale/C.utf8/LC_CTYPE |
| 3fea0dd000-3fea0df000 rw-p 00000000 00:00 0 |
| 3fea0df000-3fea249000 r-xp 00000000 b3:03 5812 /usr/lib/riscv64-linux-gnu/libc.so.6 |
| 3fea249000-3fea24c000 r--p 0016a000 b3:03 5812 /usr/lib/riscv64-linux-gnu/libc.so.6 |
| 3fea24c000-3fea24e000 rw-p 0016d000 b3:03 5812 /usr/lib/riscv64-linux-gnu/libc.so.6 |
| 3fea24e000-3fea25a000 rw-p 00000000 00:00 0 |
| 3fea25a000-3fea2d1000 r-xp 00000000 b3:03 5818 /usr/lib/riscv64-linux-gnu/libm.so.6 |
| 3fea2d1000-3fea2d2000 r--p 00077000 b3:03 5818 /usr/lib/riscv64-linux-gnu/libm.so.6 |
| 3fea2d2000-3fea2d3000 rw-p 00078000 b3:03 5818 /usr/lib/riscv64-linux-gnu/libm.so.6 |
| 3fea2d3000-3fea302000 r-xp 00000000 b3:03 4307 /usr/lib/riscv64-linux-gnu/libcrypt.so.1.1.0 |
| 3fea302000-3fea303000 r--p 0002e000 b3:03 4307 /usr/lib/riscv64-linux-gnu/libcrypt.so.1.1.0 |
| 3fea303000-3fea304000 rw-p 0002f000 b3:03 4307 /usr/lib/riscv64-linux-gnu/libcrypt.so.1.1.0 |
| 3fea304000-3fea30c000 rw-p 00000000 00:00 0 |
| 3fea30c000-3fea368000 r-xp 00000000 b3:03 313 /usr/lib/riscv64-linux-gnu/libgmp.so.10.4.1 |
| 3fea368000-3fea369000 r--p 0005b000 b3:03 313 /usr/lib/riscv64-linux-gnu/libgmp.so.10.4.1 |
| 3fea369000-3fea36a000 rw-p 0005c000 b3:03 313 /usr/lib/riscv64-linux-gnu/libgmp.so.10.4.1 |
| 3fea36a000-3fea37d000 r-xp 00000000 b3:03 4335 /usr/lib/riscv64-linux-gnu/libz.so.1.2.13 |
| 3fea37d000-3fea37e000 r--p 00013000 b3:03 4335 /usr/lib/riscv64-linux-gnu/libz.so.1.2.13 |
| 3fea37e000-3fea37f000 rw-p 00014000 b3:03 4335 /usr/lib/riscv64-linux-gnu/libz.so.1.2.13 |
| 3fea37f000-3fea381000 rw-p 00000000 00:00 0 |
| 3fea385000-3fea386000 r--p 00000000 00:1e 465315 /tmp/ruby/build/trunk/riscv64-linux-fake.rb |
| 3fea386000-3fea388000 r--p 00000000 00:1e 460505 /tmp/ruby/src/trunk/tool/runruby.rb |
| 3fea388000-3fea38f000 r--s 00000000 b3:03 10215 /usr/lib/riscv64-linux-gnu/gconv/gconv-modules.cache |
| 3fea38f000-3fea390000 r-xp 00000000 00:00 0 [vdso] |
| 3fea390000-3fea391000 r--p 00000000 00:00 0 [vdso_data] |
| 3fea391000-3fea3b1000 r-xp 00000000 b3:03 5806 /usr/lib/riscv64-linux-gnu/ld-linux-riscv64-lp64d.so.1 |
| 3fea3b1000-3fea3b3000 r--p 0001f000 b3:03 5806 /usr/lib/riscv64-linux-gnu/ld-linux-riscv64-lp64d.so.1 |
| 3fea3b3000-3fea3b5000 rw-p 00021000 b3:03 5806 /usr/lib/riscv64-linux-gnu/ld-linux-riscv64-lp64d.so.1 |
| 3fffe72000-3fffe93000 rw-p 00000000 00:00 0 [stack] |
| |
| |
| /tmp/ruby/src/trunk/spec/ruby/core/exception/top_level_spec.rb:57:in 'block (3 levels) in <top (required)>' |
| /tmp/ruby/src/trunk/spec/ruby/core/exception/top_level_spec.rb:3:in '<top (required)>' |
| make: *** [uncommon.mk:1013: yes-test-spec] Error 1 |