Crash in Ruby 2.1.3 (and 2.1-head), works in 2.1.2
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.