Merge pull request #13055 from dmitriy-kiriyenko/fix-segmentation-fault-it-ruby-2.0.0-p353

Fix segmentation fault in Ruby 2.0.0-p353.