Skip to content

Add support for RUBY_FREE_AT_EXIT #1680

Add support for RUBY_FREE_AT_EXIT

Add support for RUBY_FREE_AT_EXIT #1680

Triggered via pull request November 15, 2025 00:40
Status Failure
Total duration 4m 39s
Artifacts

test.yml

on: pull_request
ruby-versions  /  Generate Ruby versions
6s
ruby-versions / Generate Ruby versions
Matrix: test-ibm
Matrix: test-openssls
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

15 errors
openssl-3.3.5
Process completed with exit code 1.
ubuntu-latest truffleruby
Process completed with exit code 1.
openssl-3.4.3
Process completed with exit code 1.
Failure: test/openssl/test_pkey.rb#L144
<["Enter PEM pass phrase:"]> expected but was <["Enter PEM pass phrase:", "-e: [BUG] Segmentation fault at 0x0000000000000000", "ruby 3.0.7p220 (2024-04-23 revision 724a071175) [x86_64-linux]", "", "-- Machine register context ------------------------------------------------", " RIP: 0x00007f54604a3249 RBP: 0x00007ffdb65ee290 RSP: 0x00007ffdb65ee260", " RAX: 0x0000000000000001 RBX: 0xda620058c5eae52d RCX: 0x00007f545ca87cf8", " RDX: 0x0000000000000000 RDI: 0xda620058c5eae52d RSI: 0x0000000000000001", " R8: 0x000055b8d849137c R9: 0x0000000000000007 R10: 0x000055bd83a5c6d0", " R11: 0xda620058c5eae52d R12: 0x000055bd8384ef70 R13: 0x0000000000000001", " R14: 0x0000000000000000 R15: 0x00007f5460604fc0 EFL: 0x0000000000010206", "", "-- C level backtrace information -------------------------------------------", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(rb_vm_bugreport+0x48e) [0x7f5460acecbe]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(rb_bug_for_fatal_signal+0xf4) [0x7f54608cb424]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(sigsegv+0x4f) [0x7f5460a209ff]", "[0x7f5460445330]", "[0x7f54604a3249]", "[0x7f545c8324ad]", "[0x7f545c82e6cf]", "[0x7f545c82f3d9]", "[0x7f545c82f743]", "[0x7f545c956743]", "[0x7f545c82eb30]", "[0x7f545c8189e9]", "[0x7f545c818e28]", "[0x7f545c81d292]", "[0x7f5460447a76]", "[0x7f5460447bbe]", "[0x7f546042a1d1]", "[0x7f546042a28b]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby(_start+0x25) [0x55bd7b2c51c5]", "", "-- Other runtime information -----------------------------------------------", "", "* Process memory map:", "", "55bd7b2c4000-55bd7b2c5000 r--p 00000000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55bd7b2c5000-55bd7b2c6000 r-xp 00001000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55bd7b2c6000-55bd7b2c7000 r--p 00002000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55bd7b2c7000-55bd7b2c8000 r--p 00002000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55bd7b2c8000-55bd7b2c9000 rw-p 00003000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55bd8334f000-55bd83d2f000 rw-p 00000000 00:00 0 [heap]", "7f545c600000-7f545c6c5000 r--p 00000000 08:11 330295 /home/runner/openssl/lib/libcrypto.so.3", "7f545c6c5000-7f545ca12000 r-xp 000c5000 08:11 330295 /home/runner/openssl/lib/libcrypto.so.3", "7f545ca12000-7f545cb2c000 r--p 00412000 08:11 330295 /home/runner/openssl/lib/libcrypto.so.3", "7f545cb2c000-7f545cb92000 r--p 0052b000 08:11 330295 /home/runner/openssl/lib/libcrypto.so.3", "7f545cb92000-7f545cb95000 rw-p 00591000 08:11 330295 /home/runner/openssl/lib/libcrypto.so.3", "7f545cb95000-7f545cb98000 rw-p 00000000 00:00 0 ", "7f545ccac000-7f545cce4000 r--s 00000000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "7f545cce4000-7f545cce5000 r--p 00000000 08:11 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f545cce5000-7f545cce6000 r-xp 00001000 08:11 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f545cce6000-7f545cce7000 r--p 00002000 08:11 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f545cce7000-7f545cce8000 r--p 00002000 08:11 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f545cce8000-7f545cce9000 rw-p 00003000 08:11 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f545cce9000-7f545cd0a000 r--p 00000000 08:11 330286 /home/runner/openssl/lib/libssl.so.3", "7f545cd0a000-7f545cdb1000 r-xp 00021000 08:11 330286 /home/runner/openssl/lib/libssl.so.3", "7f545cdb100
openssl-3.6.0
Process completed with exit code 1.
openssl-3.2.6
Process completed with exit code 1.
ubuntu-latest truffleruby-head
Process completed with exit code 1.
openssl-3.5.4
Process completed with exit code 1.
Failure: test/openssl/test_pkey.rb#L144
<["Enter PEM pass phrase:"]> expected but was <["Enter PEM pass phrase:", "-e: [BUG] Segmentation fault at 0x0000000000000000", "ruby 3.0.7p220 (2024-04-23 revision 724a071175) [x86_64-linux]", "", "-- Machine register context ------------------------------------------------", " RIP: 0x00007f1f710a3249 RBP: 0x00007ffe59e56e90 RSP: 0x00007ffe59e56e60", " RAX: 0x0000000000000001 RBX: 0xc1e65b29a5593a6a RCX: 0x00007f1f6d8ebed8", " RDX: 0x0000000000000000 RDI: 0xc1e65b29a5593a6a RSI: 0x0000000000000001", " R8: 0x00005612266ef2e6 R9: 0x0000000000000007 R10: 0x0000561747306e10", " R11: 0xc1e65b29a5593a6a R12: 0x00005617471e0990 R13: 0x0000000000000001", " R14: 0x0000000000000000 R15: 0x00007f1f71204fc0 EFL: 0x0000000000010206", "", "-- C level backtrace information -------------------------------------------", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(rb_vm_bugreport+0x48e) [0x7f1f716cecbe]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(rb_bug_for_fatal_signal+0xf4) [0x7f1f714cb424]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(sigsegv+0x4f) [0x7f1f716209ff]", "[0x7f1f71045330]", "[0x7f1f710a3249]", "[0x7f1f6d663acd]", "[0x7f1f6d65fbdd]", "[0x7f1f6d6608e9]", "[0x7f1f6d660be3]", "[0x7f1f6d79beb3]", "[0x7f1f6d65fe50]", "[0x7f1f6d649439]", "[0x7f1f6d649878]", "[0x7f1f6d64df22]", "[0x7f1f71047a76]", "[0x7f1f71047bbe]", "[0x7f1f7102a1d1]", "[0x7f1f7102a28b]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby(_start+0x25) [0x5617123701c5]", "", "-- Other runtime information -----------------------------------------------", "", "* Process memory map:", "", "56171236f000-561712370000 r--p 00000000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "561712370000-561712371000 r-xp 00001000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "561712371000-561712372000 r--p 00002000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "561712372000-561712373000 r--p 00002000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "561712373000-561712374000 rw-p 00003000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "561746c05000-5617475fc000 rw-p 00000000 00:00 0 [heap]", "7f1f6d400000-7f1f6d4e2000 r--p 00000000 08:01 330294 /home/runner/openssl/lib/libcrypto.so.3", "7f1f6d4e2000-7f1f6d870000 r-xp 000e2000 08:01 330294 /home/runner/openssl/lib/libcrypto.so.3", "7f1f6d870000-7f1f6d9a2000 r--p 00470000 08:01 330294 /home/runner/openssl/lib/libcrypto.so.3", "7f1f6d9a2000-7f1f6da1e000 r--p 005a1000 08:01 330294 /home/runner/openssl/lib/libcrypto.so.3", "7f1f6da1e000-7f1f6da21000 rw-p 0061d000 08:01 330294 /home/runner/openssl/lib/libcrypto.so.3", "7f1f6da21000-7f1f6da24000 rw-p 00000000 00:00 0 ", "7f1f6da2b000-7f1f6da63000 r--s 00000000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "7f1f6da63000-7f1f6da64000 r--p 00000000 08:01 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f1f6da64000-7f1f6da65000 r-xp 00001000 08:01 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f1f6da65000-7f1f6da66000 r--p 00002000 08:01 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f1f6da66000-7f1f6da67000 r--p 00002000 08:01 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f1f6da67000-7f1f6da68000 rw-p 00003000 08:01 3942631 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/io/wait.so", "7f1f6da68000-7f1f6da6e000 r--p 00000000 08:01 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7f1f6da6e000-7f1f6da91000 r-xp 00006000 08:01 3942584 /opt/hostedtool
openssl-3.5.4 without legacy provider
Process completed with exit code 1.
Failure: test/openssl/test_pkey.rb#L144
<["Enter PEM pass phrase:"]> expected but was <["Enter PEM pass phrase:", "-e: [BUG] Segmentation fault at 0x0000000000000000", "ruby 3.0.7p220 (2024-04-23 revision 724a071175) [x86_64-linux]", "", "-- Machine register context ------------------------------------------------", " RIP: 0x00007fd1d14a3249 RBP: 0x00007ffe0eeb0c90 RSP: 0x00007ffe0eeb0c60", " RAX: 0x0000000000000001 RBX: 0x18807c57c0d37ca1 RCX: 0x00007fd1cdcebed8", " RDX: 0x0000000000000000 RDI: 0x18807c57c0d37ca1 RSI: 0x0000000000000001", " R8: 0x0000558d41beef6d R9: 0x0000000000000007 R10: 0x000055881943db50", " R11: 0x18807c57c0d37ca1 R12: 0x000055881939b760 R13: 0x0000000000000001", " R14: 0x0000000000000000 R15: 0x00007fd1d1604fc0 EFL: 0x0000000000010206", "", "-- C level backtrace information -------------------------------------------", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(rb_vm_bugreport+0x48e) [0x7fd1d1acecbe]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(rb_bug_for_fatal_signal+0xf4) [0x7fd1d18cb424]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(sigsegv+0x4f) [0x7fd1d1a209ff]", "[0x7fd1d1445330]", "[0x7fd1d14a3249]", "[0x7fd1cda63acd]", "[0x7fd1cda5fbdd]", "[0x7fd1cda608e9]", "[0x7fd1cda60be3]", "[0x7fd1cdb9beb3]", "[0x7fd1cda5fe50]", "[0x7fd1cda49439]", "[0x7fd1cda49878]", "[0x7fd1cda4df22]", "[0x7fd1d1447a76]", "[0x7fd1d1447bbe]", "[0x7fd1d142a1d1]", "[0x7fd1d142a28b]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby(_start+0x25) [0x5587ef9991c5]", "", "-- Other runtime information -----------------------------------------------", "", "* Process memory map:", "", "5587ef998000-5587ef999000 r--p 00000000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "5587ef999000-5587ef99a000 r-xp 00001000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "5587ef99a000-5587ef99b000 r--p 00002000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "5587ef99b000-5587ef99c000 r--p 00002000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "5587ef99c000-5587ef99d000 rw-p 00003000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "558818db5000-5588197ad000 rw-p 00000000 00:00 0 [heap]", "7fd1cd795000-7fd1cd7cd000 r--s 00000000 08:11 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "7fd1cd7cd000-7fd1cd7d3000 r--p 00000000 08:11 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fd1cd7d3000-7fd1cd7f6000 r-xp 00006000 08:11 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fd1cd7f6000-7fd1cd7fe000 r--p 00029000 08:11 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fd1cd7fe000-7fd1cd7ff000 r--p 00030000 08:11 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fd1cd7ff000-7fd1cd800000 rw-p 00031000 08:11 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fd1cd800000-7fd1cd8e2000 r--p 00000000 08:11 330292 /home/runner/openssl/lib/libcrypto.so.3", "7fd1cd8e2000-7fd1cdc70000 r-xp 000e2000 08:11 330292 /home/runner/openssl/lib/libcrypto.so.3", "7fd1cdc70000-7fd1cdda2000 r--p 00470000 08:11 330292 /home/runner/openssl/lib/libcrypto.so.3", "7fd1cdda2000-7fd1cde1e000 r--p 005a1000 08:11 330292 /home/runner/openssl/lib/libcrypto.so.3", "7fd1cde1e000-7fd1cde21000 rw-p 0061d000 08:11 330292 /home/runner/openssl/lib/libcrypto.so.3", "7fd1cde21000-7fd1cde24000 rw-p 00000000 00:00 0 ", "7fd1cde40000-7fd1cde61000 r--p 00000000 08:11 330284 /home/runner/openssl/lib/libssl.so.3", "7fd1cde61000-7fd1cdf10000 r-xp 00021000 08:11 330284 /home/runner/openssl/lib/libssl.so.3", "7fd1cdf10000-7fd
macos-latest truffleruby-head
Process completed with exit code 1.
macos-latest truffleruby
Process completed with exit code 1.
openssl-master
Process completed with exit code 1.
Failure: test/openssl/test_pkey.rb#L144
<["Enter PEM pass phrase:"]> expected but was <["Enter PEM pass phrase:", "-e: [BUG] Segmentation fault at 0x0000000000000000", "ruby 3.0.7p220 (2024-04-23 revision 724a071175) [x86_64-linux]", "", "-- Machine register context ------------------------------------------------", " RIP: 0x00007fad7d6a3249 RBP: 0x00007ffd72e34e80 RSP: 0x00007ffd72e34e50", " RAX: 0x0000000000000001 RBX: 0xf50db08e212b8f2c RCX: 0x00007fad79d01f78", " RDX: 0x0000000000000000 RDI: 0xf50db08e212b8f2c RSI: 0x0000000000000001", " R8: 0x000055c7a24ab25d R9: 0x0000000000000007 R10: 0x000055c2fe58d000", " R11: 0xf50db08e212b8f2c R12: 0x000055c2fe061fe0 R13: 0x0000000000000001", " R14: 0x0000000000000000 R15: 0x00007fad7d804fc0 EFL: 0x0000000000010206", "", "-- C level backtrace information -------------------------------------------", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(rb_vm_bugreport+0x48e) [0x7fad7dccecbe]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(rb_bug_for_fatal_signal+0xf4) [0x7fad7dacb424]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/lib/libruby.so.3.0(sigsegv+0x4f) [0x7fad7dc209ff]", "[0x7fad7d645330]", "[0x7fad7d6a3249]", "[0x7fad79a6479d]", "[0x7fad79a6007d]", "[0x7fad79a60dc9]", "[0x7fad79a610d3]", "[0x7fad79b9db15]", "[0x7fad79a6030f]", "[0x7fad79a4e1c9]", "[0x7fad79a4e5d8]", "[0x7fad79a52d12]", "[0x7fad7d647a76]", "[0x7fad7d647bbe]", "[0x7fad7d62a1d1]", "[0x7fad7d62a28b]", "/opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby(_start+0x25) [0x55c2be05f1c5]", "", "-- Other runtime information -----------------------------------------------", "", "* Process memory map:", "", "55c2be05e000-55c2be05f000 r--p 00000000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55c2be05f000-55c2be060000 r-xp 00001000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55c2be060000-55c2be061000 r--p 00002000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55c2be061000-55c2be062000 r--p 00002000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55c2be062000-55c2be063000 rw-p 00003000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "55c2fdf3c000-55c2fe934000 rw-p 00000000 00:00 0 [heap]", "7fad79800000-7fad798e4000 r--p 00000000 08:01 526445 /home/runner/openssl/lib/libcrypto.so.4", "7fad798e4000-7fad79c85000 r-xp 000e4000 08:01 526445 /home/runner/openssl/lib/libcrypto.so.4", "7fad79c85000-7fad79dbc000 r--p 00485000 08:01 526445 /home/runner/openssl/lib/libcrypto.so.4", "7fad79dbc000-7fad79e3a000 r--p 005bb000 08:01 526445 /home/runner/openssl/lib/libcrypto.so.4", "7fad79e3a000-7fad79e3d000 rw-p 00639000 08:01 526445 /home/runner/openssl/lib/libcrypto.so.4", "7fad79e3d000-7fad79e40000 rw-p 00000000 00:00 0 ", "7fad79f72000-7fad79faa000 r--s 00000000 08:01 4012826 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/ruby", "7fad79faa000-7fad79fb0000 r--p 00000000 08:01 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fad79fb0000-7fad79fd3000 r-xp 00006000 08:01 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fad79fd3000-7fad79fdb000 r--p 00029000 08:01 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fad79fdb000-7fad79fdc000 r--p 00030000 08:01 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fad79fdc000-7fad79fdd000 rw-p 00031000 08:01 3942584 /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/x86_64-linux/socket.so", "7fad79fdd000-7fad79fff000 r--p 00000000 08:01 526446 /home/runner/openssl/lib/libssl.so.4", "7fad79fff000-7fad7a0af000 r-xp 00022000 08:01 526446 /home/runner/openssl/lib/libssl.so.4", "7fad7a0af000-7fa