| "make update-download -j4" exit with 0. |
| "make update-src -j4" exit with 0. |
| From https://github.com/ruby/ruby |
| 457bb11..91619f0 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. |
| *** stack smashing detected ***: terminated |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j4'" exit with 512. |
| *** stack smashing detected ***: terminated |
| /tmp/ruby/src/trunk/lib/rubygems/specification.rb: [BUG] Aborted at 0x000003e9000b650c |
| ruby 4.1.0dev (2026-01-29T22:32:04Z master 91619f0230) +PRISM [riscv64-linux] |
| -- Control frame information ----------------------------------------------- |
| c:0006 p:---- s:0027 e:000026 l:y b:---- DUMMY [FINISH] |
| c:0005 p:---- s:0024 e:000023 l:y b:---- CFUNC :require_relative |
| c:0004 p:0069 s:0019 e:000018 l:y b:0001 TOP /tmp/ruby/src/trunk/lib/rubygems.rb:1409 [FINISH] |
| c:0003 p:---- s:0012 e:000011 l:y b:---- CFUNC :require |
| c:0002 p:0012 s:0007 e:000006 l:y b:0001 TOP <internal:gem_prelude>:2 [FINISH] |
| c:0001 p:0000 s:0003 E:0001a0 l:y b:---- DUMMY [FINISH] |
| -- Ruby level backtrace information ---------------------------------------- |
| <internal:gem_prelude>:2:in '<internal:gem_prelude>' |
| <internal:gem_prelude>:2:in 'require' |
| /tmp/ruby/src/trunk/lib/rubygems.rb:1409:in '<top (required)>' |
| /tmp/ruby/src/trunk/lib/rubygems.rb:1409:in 'require_relative' |
| -- Threading information --------------------------------------------------- |
| Total ractor count: 1 |
| Ruby thread count for this ractor: 1 |
| -- Machine register context ------------------------------------------------ |
| sp: 0x0000003fffef6060 s0: 0x00000000000b650c s1: 0x0000003fc53158e8 |
| a0: 0x0000000000000000 a1: 0x00000000000b650c a2: 0x0000000000000006 |
| a3: 0x0000003fc5315558 a4: 0x0000000000000001 a5: 0x0000003fc51a5ea0 |
| a6: 0x0000000000000000 a7: 0x0000000000000083 s2: 0x0000003fc51a5ea0 |
| s3: 0x0000000000000006 s4: 0x0000003fc593ad18 s5: 0x0000003fc5448000 |
| s6: 0x0000000000000000 s7: 0x0000003fc52d90de s8: 0x7fffffffffffffff |
| s9: 0x0000000000000001 s10: 0x0000000000000000 s11: 0x0000000000000001 |
| -- C level backtrace information ------------------------------------------- |
| /tmp/ruby/build/trunk/libruby.so.4.1(rb_print_backtrace+0x14) [0x3fc56f400c] /tmp/ruby/src/trunk/vm_dump.c:1105 |
| /tmp/ruby/build/trunk/libruby.so.4.1(rb_vm_bugreport) /tmp/ruby/src/trunk/vm_dump.c:1450 |
| /tmp/ruby/build/trunk/libruby.so.4.1(rb_bug_for_fatal_signal+0x72) [0x3fc5530e84] /tmp/ruby/src/trunk/error.c:1131 |
| /tmp/ruby/build/trunk/libruby.so.4.1(sigabrt+0x42) [0x3fc5659de8] /tmp/ruby/src/trunk/signal.c:962 |
| linux-vdso.so.1(__vdso_rt_sigreturn+0x0) [0x3fc5917800] |
| [0x3fc521c612] |
| [0x3fc51ddb4a] |
| [0x3fc51cd57c] |
| [0x3fc5210224] |
| [0x3fc5282438] |
| [0x3fc5282f98] |
| /tmp/ruby/build/trunk/libruby.so.4.1(obj_traverse_i+0x266) [0x3fc5606d6c] /tmp/ruby/src/trunk/ractor.c:1402 |
| [0x3fffef69d8] |
| -- Other runtime information ----------------------------------------------- |
| * Loaded script: /tmp/ruby/build/trunk/ruby |
| * Ruby Box: disabled |
| * Loaded features: |
| 0 enumerator.so |
| 1 thread.rb |
| 2 fiber.so |
| 3 rational.so |
| 4 complex.so |
| 5 pathname.so |
| 6 ruby2_keywords.rb |
| 7 set.rb |
| 8 /tmp/ruby/build/trunk/.ext/riscv64-linux/enc/encdb.so |
| 9 /tmp/ruby/build/trunk/.ext/riscv64-linux/enc/trans/transdb.so |
| 10 /tmp/ruby/build/trunk/rbconfig.rb |
| 11 /tmp/ruby/src/trunk/lib/rubygems/defaults.rb |
| 12 /tmp/ruby/src/trunk/lib/rubygems/deprecate.rb |
| 13 /tmp/ruby/src/trunk/lib/rubygems/errors.rb |
| 14 /tmp/ruby/src/trunk/lib/rubygems/target_rbconfig.rb |
| 15 /tmp/ruby/src/trunk/lib/rubygems/win_platform.rb |
| 16 /tmp/ruby/src/trunk/lib/rubygems/util/atomic_file_writer.rb |
| 17 /tmp/ruby/src/trunk/lib/rubygems/unknown_command_spell_checker.rb |
| 18 /tmp/ruby/src/trunk/lib/rubygems/exceptions.rb |
| * Process memory map: |
| 2aafb8f000-2aafb90000 r-xp 00000000 00:1e 2815830 /tmp/ruby/build/trunk/ruby |
| 2aafb90000-2aafb91000 r--p 00000000 00:1e 2815830 /tmp/ruby/build/trunk/ruby |
| 2aafb91000-2aafb92000 rw-p 00001000 00:1e 2815830 /tmp/ruby/build/trunk/ruby |
| 2aafb92000-2aafdcd000 rw-p 00000000 00:00 0 [heap] |
| 3fa8680000-3fa9b8b000 rw-p 00000000 00:00 0 |
| 3fa9b8b000-3faaa37000 r--s 00000000 00:1e 2815823 /tmp/ruby/build/trunk/libruby.so.4.1.0 |
| 3faaa37000-3faaa72000 r--s 00000000 00:1e 2815830 /tmp/ruby/build/trunk/ruby |
| 3faaa72000-3faaa8d000 r-xp 00000000 b3:03 32 /usr/lib/riscv64-linux-gnu/libgcc_s.so.1 |
| 3faaa8d000-3faaa8e000 r--p 0001b000 b3:03 32 /usr/lib/riscv64-linux-gnu/libgcc_s.so.1 |
| 3faaa8e000-3faaa8f000 rw-p 0001c000 b3:03 32 /usr/lib/riscv64-linux-gnu/libgcc_s.so.1 |
| 3faaa8f000-3faaaa0000 r--p 00000000 00:1e 3121 /tmp/ruby/src/trunk/lib/rubygems/specification.rb |
| 3faaaa0000-3faab60000 rw-p 00000000 00:00 0 [anon:Ruby:GC:default:heap_page_body_allocate] |
| 3faab6f000-3faab70000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faab70000-3faabb1000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faabb1000-3faabb2000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faabb2000-3faabf3000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faabf3000-3faabf4000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faabf4000-3faac35000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faac35000-3faac36000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faac36000-3faac77000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faac77000-3faac78000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faac78000-3faacb9000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faacb9000-3faacba000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faacba000-3faacfb000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faacfb000-3faacfc000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faacfc000-3faad3d000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faad3d000-3faad3e000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faad3e000-3faad7f000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faad7f000-3faad80000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faad80000-3faadc1000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faadc1000-3faadc2000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faadc2000-3faae03000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faae03000-3faae04000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faae04000-3faae45000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faae45000-3faae46000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faae46000-3faae87000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faae87000-3faae88000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faae88000-3faaec9000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faaec9000-3faaeca000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faaeca000-3faaf0b000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faaf0b000-3faaf0c000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faaf0c000-3faaf4d000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faaf4d000-3faaf4e000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faaf4e000-3faaf8f000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faaf8f000-3faaf90000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faaf90000-3faafd1000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faafd1000-3faafd2000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3faafd2000-3fab013000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab013000-3fab014000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab014000-3fab055000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab055000-3fab056000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab056000-3fab097000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab097000-3fab098000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab098000-3fab0d9000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab0d9000-3fab0da000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab0da000-3fab11b000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab11b000-3fab11c000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab11c000-3fab15d000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab15d000-3fab15e000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab15e000-3fab19f000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab19f000-3fab1a0000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab1a0000-3fab1e1000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab1e1000-3fab1e2000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab1e2000-3fab223000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab223000-3fab224000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab224000-3fab265000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab265000-3fab266000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab266000-3fab2a7000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab2a7000-3fab2a8000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab2a8000-3fab2e9000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab2e9000-3fab2ea000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab2ea000-3fab32b000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab32b000-3fab32c000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab32c000-3fab36d000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab36d000-3fab36e000 ---p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab36e000-3fab3af000 rw-p 00000000 00:00 0 [anon:Ruby:fiber_pool_allocate_memory] |
| 3fab3af000-3fab3b0000 ---p 00000000 00:00 0 |
| 3fab3b0000-3fabbb0000 rw-p 00000000 00:00 0 |
| 3fabbb0000-3fabc00000 rw-p 00000000 00:00 0 [anon:Ruby:GC:default:heap_page_body_allocate] |
| 3fabc0f000-3fc3c0f000 rw-p 00000000 00:00 0 [anon:Ruby:Init_default_shapes:shape_cache] |
| 3fc3c0f000-3fc500f000 rw-p 00000000 00:00 0 [anon:Ruby:Init_default_shapes:shape_list] |
| 3fc500f000-3fc5030000 rw-p 00000000 00:00 0 |
| 3fc5030000-3fc5040000 rw-p 00000000 00:00 0 [anon:Ruby:GC:default:heap_page_body_allocate] |
| 3fc5047000-3fc504a000 r-xp 00000000 00:1e 1203406 /tmp/ruby/build/trunk/.ext/riscv64-linux/enc/trans/transdb.so |
| 3fc504a000-3fc504b000 r--p 00002000 00:1e 1203406 /tmp/ruby/build/trunk/.ext/riscv64-linux/enc/trans/transdb.so |
| 3fc504b000-3fc504c000 rw-p 00003000 00:1e 1203406 /tmp/ruby/build/trunk/.ext/riscv64-linux/enc/trans/transdb.so |
| 3fc504c000-3fc514d000 rw-p 00000000 00:00 0 |
| 3fc514d000-3fc51a5000 r--p 00000000 b3:03 8804 /usr/lib/locale/C.utf8/LC_CTYPE |
| 3fc51a5000-3fc51a7000 rw-p 00000000 00:00 0 |
| 3fc51a7000-3fc5311000 r-xp 00000000 b3:03 5812 /usr/lib/riscv64-linux-gnu/libc.so.6 |
| 3fc5311000-3fc5314000 r--p 0016a000 b3:03 5812 /usr/lib/riscv64-linux-gnu/libc.so.6 |
| 3fc5314000-3fc5316000 rw-p 0016d000 b3:03 5812 /usr/lib/riscv64-linux-gnu/libc.so.6 |
| 3fc5316000-3fc5322000 rw-p 00000000 00:00 0 |
| 3fc5322000-3fc5399000 r-xp 00000000 b3:03 5818 /usr/lib/riscv64-linux-gnu/libm.so.6 |
| 3fc5399000-3fc539a000 r--p 00077000 b3:03 5818 /usr/lib/riscv64-linux-gnu/libm.so.6 |
| 3fc539a000-3fc539b000 rw-p 00078000 b3:03 5818 /usr/lib/riscv64-linux-gnu/libm.so.6 |
| 3fc539b000-3fc53ca000 r-xp 00000000 b3:03 4307 /usr/lib/riscv64-linux-gnu/libcrypt.so.1.1.0 |
| 3fc53ca000-3fc53cb000 r--p 0002e000 b3:03 4307 /usr/lib/riscv64-linux-gnu/libcrypt.so.1.1.0 |
| 3fc53cb000-3fc53cc000 rw-p 0002f000 b3:03 4307 /usr/lib/riscv64-linux-gnu/libcrypt.so.1.1.0 |
| 3fc53cc000-3fc53d4000 rw-p 00000000 00:00 0 |
| 3fc53d4000-3fc5430000 r-xp 00000000 b3:03 313 /usr/lib/riscv64-linux-gnu/libgmp.so.10.4.1 |
| 3fc5430000-3fc5431000 r--p 0005b000 b3:03 313 /usr/lib/riscv64-linux-gnu/libgmp.so.10.4.1 |
| 3fc5431000-3fc5432000 rw-p 0005c000 b3:03 313 /usr/lib/riscv64-linux-gnu/libgmp.so.10.4.1 |
| 3fc5432000-3fc5445000 r-xp 00000000 b3:03 4335 /usr/lib/riscv64-linux-gnu/libz.so.1.2.13 |
| 3fc5445000-3fc5446000 r--p 00013000 b3:03 4335 /usr/lib/riscv64-linux-gnu/libz.so.1.2.13 |
| 3fc5446000-3fc5447000 rw-p 00014000 b3:03 4335 /usr/lib/riscv64-linux-gnu/libz.so.1.2.13 |
| 3fc5448000-3fc5449000 rw-p 00000000 00:00 0 |
| 3fc5449000-3fc544a000 r--p 00000000 00:1e 2888782 /tmp/rubytest.6d4xtj_0/399-path_outside_pwd/main.rb |
| 3fc544a000-3fc544c000 r-xp 00000000 00:1e 1203297 /tmp/ruby/build/trunk/.ext/riscv64-linux/enc/encdb.so |
| 3fc544c000-3fc544d000 r--p 00001000 00:1e 1203297 /tmp/ruby/build/trunk/.ext/riscv64-linux/enc/encdb.so |
| 3fc544d000-3fc544e000 rw-p 00002000 00:1e 1203297 /tmp/ruby/build/trunk/.ext/riscv64-linux/enc/encdb.so |
| 3fc544e000-3fc5455000 r--s 00000000 b3:03 10215 /usr/lib/riscv64-linux-gnu/gconv/gconv-modules.cache |
| 3fc5455000-3fc58f3000 r-xp 00000000 00:1e 2815823 /tmp/ruby/build/trunk/libruby.so.4.1.0 |
| 3fc58f3000-3fc58fe000 r--p 0049e000 00:1e 2815823 /tmp/ruby/build/trunk/libruby.so.4.1.0 |
| 3fc58fe000-3fc5902000 rw-p 004a9000 00:1e 2815823 /tmp/ruby/build/trunk/libruby.so.4.1.0 |
| 3fc5902000-3fc5917000 rw-p 00000000 00:00 0 |
| 3fc5917000-3fc5918000 r-xp 00000000 00:00 0 [vdso] |
| 3fc5918000-3fc5919000 r--p 00000000 00:00 0 [vdso_data] |
| 3fc5919000-3fc5939000 r-xp 00000000 b3:03 5806 /usr/lib/riscv64-linux-gnu/ld-linux-riscv64-lp64d.so.1 |
| 3fc5939000-3fc593b000 r--p 0001f000 b3:03 5806 /usr/lib/riscv64-linux-gnu/ld-linux-riscv64-lp64d.so.1 |
| 3fc593b000-3fc593d000 rw-p 00021000 b3:03 5806 /usr/lib/riscv64-linux-gnu/ld-linux-riscv64-lp64d.so.1 |
| 3fffed9000-3fffefa000 rw-p 00000000 00:00 0 [stack] |
| 1) |
| Thread::Backtrace::Location#path in a main script when the script is outside of the working directory when using an absolute path returns an absolute path FAILED |
| Expected exit status is 0 but actual is :SIGABRT 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/rubytest.6d4xtj_0/399-path_outside_pwd/main.rb") |
| Output: |
| /tmp/ruby/src/trunk/spec/ruby/core/thread/backtrace/location/path_spec.rb:84:in 'block (5 levels) in <top (required)>' |
| /tmp/ruby/src/trunk/spec/ruby/core/thread/backtrace/location/path_spec.rb:4:in '<top (required)>' |
| make: *** [uncommon.mk:963: yes-test-spec] Error 1 |