Actions
Bug #22083
closed"should have cvar cache entry" bug on Array#clone
Bug #22083:
"should have cvar cache entry" bug on Array#clone
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +PRISM [x86_64-linux]
Description
The httpx test suite has been reliably failing with a core dump on latest ruby 4.
The test suite runs on minitest with parallel mode turned on, although the issue can be reproduced in serial mode. The error happens when running the ssh proxy test, which eventually calls this net-ssh function and produces the core dump sent in attachment.
I couldn't come up with reproduction not involving the httpx test suite docker setup, but I was able to narrow it down. Here are instructions on how to set up the docker container. You can then run this script to reproduce it:
require "httpx"
uri = "http://nghttp2/get"
Ractor.new(uri) do |uri|
HTTPX.get(uri)
end.value
sess = HTTPX.plugin(:"proxy/ssh")
.with_proxy(uri: ["ssh://sshproxy:22"],
username: "root",
auth_methods: %w[publickey],
host_key: "ssh-rsa",
keys: %w[test/support/ssh/ssh_host_ed25519_key])
The key information is ractors being used before.
Files
Actions