Random segmentation faults in Tempfile
I'm getting random segmentation faults after switch to Ruby 2.0.0
I cannot reproduce it on my local machine, but it often happens when deploying to Heroku.
This is rails app with lot of other gem dependencies, so it might be hard to find responsible code for that.
Already submitted to rails bug tracker: https://github.com/rails/rails/issues/9608
Here is a stacktrace: https://gist.github.com/morgoth/a63eb1feebf5139e9537