Project

General

Profile

Actions

Bug #14714

closed

Ruby 2.5.1 Segmentation Fault in GC

Added by obromios (Chris Drane) almost 6 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.0preview2 (2018-05-31 trunk 63539) [x86_64-darwin18]
[ruby-core:86698]

Description

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) ruby_2018-04-26-200005_MiniMe.crash obromios (Chris Drane), 04/26/2018 10:25 AM
ruby-bug-14714_2018-04-30-150948.crash (115 KB) ruby-bug-14714_2018-04-30-150948.crash renchap (Renaud Chaput), 04/30/2018 03:12 PM

Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #14561: Consistent 2.5.0 seg fault in GC, related to accessing an enumerator in a threadClosedioquatix (Samuel Williams)Actions
Related to Ruby master - Bug #15362: [PATCH] Avoid GCing dead stack after switching away from a fiberClosedioquatix (Samuel Williams)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0