From: "chucke (Tiago Cardoso) via ruby-core" Date: 2026-05-27T11:24:08+00:00 Subject: [ruby-core:125579] [Ruby Bug#22083] "should have cvar cache entry" bug on Array#clone Issue #22083 has been reported by chucke (Tiago Cardoso). ---------------------------------------- Bug #22083: "should have cvar cache entry" bug on Array#clone https://bugs.ruby-lang.org/issues/22083 * Author: chucke (Tiago Cardoso) * Status: Open * ruby -v: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +PRISM [x86_64-linux] * Backport: 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- The [httpx test suite has been reliably failing with a core dump on latest ruby 4](https://gitlab.com/os85/httpx/-/jobs/14559355119). 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](https://github.com/net-ssh/net-ssh/blob/v7.3.2/lib/net/ssh/config.rb#L57) 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](https://gitlab.com/os85/httpx/-/blob/master/test/README.md?ref_type=heads) are instructions on how to set up the docker container. You can then run this script to reproduce it: ```ruby 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-------------------------------- test.log (167 KB) -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/