[#82706] [Ruby trunk Bug#13851] getting "can't modify string; temporarily locked" on non-frozen instances — cardoso_tiago@...
Issue #13851 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/07
[#82853] [Ruby trunk Bug#13916] Race condition when sending a signal to a new fork — russell.davis@...
Issue #13916 has been reported by russelldavis (Russell Davis).
3 messages
2017/09/19
[#82892] [Ruby trunk Bug#13921] buffered read_nonblock doesn't work as expected using SSLSocket — cardoso_tiago@...
Issue #13921 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/20
[ruby-core:83054] [Ruby trunk Bug#13948] Segfault instead of recursion depth error
From:
me@...
Date:
2017-09-28 20:23:19 UTC
List:
ruby-core #83054
Issue #13948 has been reported by rpon (Ryan Pon).
----------------------------------------
Bug #13948: Segfault instead of recursion depth error
https://bugs.ruby-lang.org/issues/13948
* Author: rpon (Ryan Pon)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: 2.4.2
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Repro instructions:
~~~ ruby
# (using Ruby 2.4.2)
# 1. $ git clone git@github.com:thoughtbot/factory_girl.git && cd factory_girl
# 2. $ bundle install
# 3. Add the code snippet under spec/acceptance/recursion.rb
# 4. $ rspec spec/acceptance/recursion.rb
require "spec_helper"
describe "seg fault" do
before do
define_model("User", two: :string, one: :string)
FactoryGirl.define do
factory :user do
one { two }
two { one }
end
end
end
subject { FactoryGirl.create(:user) }
it('recursion depth error') { subject }
it('segfault') { subject } # need to do deep recursion twice
end
~~~
Results in:
~~~
[1] 1229 segmentation fault bundle exec rspec
~~~
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>