Bug #10379

Crash in Ruby 2.1.3 (and 2.1-head), works in 2.1.2

Added by anamba (Aaron Namba) almost 5 years ago. Updated 30 days ago.

Target version:
ruby -v:
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin13.0]


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 (

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.


crash.txt (345 KB) crash.txt 2.1.3 crash example anamba (Aaron Namba), 10/14/2014 01:24 AM
crash2.txt (344 KB) crash2.txt 2.1-head crash example anamba (Aaron Namba), 10/14/2014 02:02 AM


Updated by hsbt (Hiroshi SHIBATA) 7 months ago

  • Status changed from Open to Feedback

Ruby 2.1 is EOL today. Can you try with Ruby 2.5? Thanks.


Updated by jeremyevans0 (Jeremy Evans) 30 days ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF