Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0
Issue occurred with Puma and Ruby 3.0.0. I've attached the text scrollback from Puma, it's quite long.
Updated by jlevnhv (Josh Levinson) 4 months ago
This looks like the method which caused the seg fault on line 317
# ~/.rvm/gems/ruby-3.0.0/gems/actionpack-184.108.40.206/lib/action_dispatch/routing/route_set.rb --316 def define_url_helper(mod, name, helper, url_strategy) 317 mod.define_method(name) do |*args| 318 last = args.last 319 options = \ 320 case last 321 when Hash 322 args.pop 323 when ActionController::Parameters 324 args.pop.to_h 325 end 326 helper.call(self, name, args, options, url_strategy) 327 end 328 end 329 end
Updated by jeremyevans0 (Jeremy Evans) 4 months ago
- Status changed from Open to Feedback
Can you please test with the master branch to see if this issue has been resolved? If it still is present in the master branch, please try to develop a minimal self-contained reproducible example.