[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-core
Subject: [ruby-core:76608] [Ruby trunk Bug#12614] Segmentation Fault on Ruby 2.3.1
From: nagachika00 () gmail ! com
Date: 2016-07-29 6:29:44
Message-ID: redmine.journal-59829.20160729062944.bfe127aa5f530ad0 () ruby-lang ! org
[Download RAW message or body]
Issue #12614 has been updated by Tomoyuki Chikanaga.
Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: UNKNOWN, 2.2: \
UNKNOWN, 2.3: REQUIRED
----------------------------------------
Bug #12614: Segmentation Fault on Ruby 2.3.1
https://bugs.ruby-lang.org/issues/12614#change-59829
* Author: Matthew Wear
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: REQUIRED
----------------------------------------
### Description
We have an extensive test matrix that tests many versions of Rails over many versions \
of Ruby. We notice frequent segfaults when running our Rails 3.1 suite with Ruby \
2.3.1p112. We run the same suite with Ruby 1.8 - Ruby 2.2 without issues. It appears \
that our test suite is exposing a subtle bug in Ruby that I suspect that it is \
related to garbage collection. The segfault does not occur everytime the test suite \
runs, but if I run the suite in a bash for loop for 100 iterations I usually see 5-10 \
segfaults. If I turn off garbage collection during the test cases the segfault does \
not occur over 100 iterations of the test suite.
### To Reproduce
I tried, but was unable to come up with a minimal reproduction case. Our code and \
test suite are publically available and I'll list the steps you can follow to \
reproduce the issue with some additional setup.
1. Clone the newrelic rpm github repo from: https://github.com/newrelic/rpm
2. git checkout 3.16.0.318
3. bundle install
4. run the test suite a single time (you probably won't see a segfault): bundle exec \
rake test:multiverse[rails,env=6] 5. run the test suite in a bash for loop for 100 \
iterations: for i in \`seq 1 100\`; do bundle exec rake test:multiverse[rails,env=6]; \
done
### Segfault Output
[ruby_2_3_segfault.txt](../../attachments/6070/ruby_2_3_segfault.txt)
### Possibly Related:
https://bugs.ruby-lang.org/issues/11846
---Files--------------------------------
ruby_2_3_segfault.txt (160 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>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic