Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite hangs with Ruby 3.4 #357

Open
simpl1g opened this issue Nov 14, 2024 · 0 comments
Open

Test suite hangs with Ruby 3.4 #357

simpl1g opened this issue Nov 14, 2024 · 0 comments

Comments

@simpl1g
Copy link
Contributor

simpl1g commented Nov 14, 2024

It's continuation of this PR #356

Currently Ruby process can't finish after all tests passed. I've dumped all thread backtraces and it shows

/Users/simpl1g/.rbenv/versions/3.4.0-preview2/lib/ruby/gems/3.4.0+0/gems/ffi-rzmq-2.0.7/lib/ffi-rzmq/device.rb:24:in 'LibZMQ.zmq_proxy'
/Users/simpl1g/.rbenv/versions/3.4.0-preview2/lib/ruby/gems/3.4.0+0/gems/ffi-rzmq-2.0.7/lib/ffi-rzmq/device.rb:24:in 'ZMQ::Device#initialize'
/Users/simpl1g/work/ruby_projects/iruby/lib/iruby/session_adapter/ffirzmq_adapter.rb:29:in 'Class#new'
/Users/simpl1g/work/ruby_projects/iruby/lib/iruby/session_adapter/ffirzmq_adapter.rb:29:in 'IRuby::SessionAdapter::FfirzmqAdapter#heartbeat_loop'
/Users/simpl1g/work/ruby_projects/iruby/lib/iruby/session.rb:55:in 'block in IRuby::Session#setup_heartbeat'

So it looks like a problem in ffi-rzmq gem. If I comment out creating heartbeat thread all tests passes and process completes fine. But I'm not sure that this is correct way to do this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant