Issue #14714 has been updated by obromios (Chris Drane).


I have reverted to ruby 2.4.4 and done rspec/spec/features and the problem does not occur, to this increases the probability that it is a ruby 2.5.1 problem.

----------------------------------------
Bug #14714: Ruby 2.5.1 Segmentation Fault
https://bugs.ruby-lang.org/issues/14714#change-71657

* Author: obromios (Chris Drane)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
I am using Ruby 2.5.1, and running ruby on rails 5.1.4 with rspec-rails 3.7.2 and capybara 3.0.2.

When I run my feature tests, i.e. rspec spec/features, I get a segmentation fault.  When I found the test in which  the fault is occurring, and run that test by itself, then the fault does not appear. If I make the offending test pending,and run rspec spec/features again, then the fault still occurs but in another test.  Accordingly, I cannot give you the exact code that is causing the fault.

I have attached the crash report log file.


---Files--------------------------------
ruby_2018-04-26-200005_MiniMe.crash (59.4 KB)


-- 
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>