From: aaron@... Date: 2014-10-14T02:02:51+00:00 Subject: [ruby-core:65689] [ruby-trunk - Bug #10379] [Open] Crash in Ruby 2.1.3 (and 2.1-head), works in 2.1.2 Issue #10379 has been reported by Aaron Namba. ---------------------------------------- Bug #10379: Crash in Ruby 2.1.3 (and 2.1-head), works in 2.1.2 https://bugs.ruby-lang.org/issues/10379 * Author: Aaron Namba * Status: Open * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin13.0] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- This crash does not happen 100% consistently, but does happen very often. This crash happens most commonly when I am generating a large SELECT, containing about 600 options (_navigation.html.erb:35). I load Player objects from the database and iterate through them, translating their names using a large, hardcoded hash (translator.rb:6-791), then output the resulting html. Also happens in 2.1-head (ruby 2.1.4p247 (2014-09-24 revision 47703) [x86_64-darwin13.0]), but somewhat less frequently. I have also attached an example of that crash (happens on translator.rb:834, which references the large hash from line 6). The crash happens both locally on my mac and on my pre-deploy testing platform (Codeship.io). This code works fine in 2.1.2, so for now I guess I will have to downgrade my app servers to 2.1.2 to get things working again. ---Files-------------------------------- crash.txt (345 KB) crash2.txt (344 KB) -- https://bugs.ruby-lang.org/