From: jlevnhv@... Date: 2021-02-24T22:50:29+00:00 Subject: [ruby-core:102597] [Ruby master Bug#17655] Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0 Issue #17655 has been updated by jlevnhv (Josh Levinson). Rails -v 6.1.2.1 # app/lib/json_constraint.rb require 'json-schema' # https://github.com/ruby-json-schema/json-schema 2 3 class JsonSchemaConstraint 4 def initialize(schema = {}) 5 @schema = schema 6 end 7 8 def matches?(request) 9 JSON::Validator.validate(@schema, request.parameters.to_json) 10 end 11 end ---------------------------------------- Bug #17655: Experiencing Repeated Segmentation Faults Using Puma with Ruby 3.0.0 https://bugs.ruby-lang.org/issues/17655#change-90581 * Author: jlevnhv (Josh Levinson) * Status: Open * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- Issue occurred with Puma and Ruby 3.0.0. I've attached the text scrollback from Puma, it's quite long. ---Files-------------------------------- ruby_scrollback.txt (575 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: