We have an older REE rails app that I work on my local dev environment in OSX Yosemite. I recently switched from Mavericks, with which I had no problems. I ran this app for the first time on my new work mac and found I was unable to login due to it throwing a segment fault error and quitting the local webrick server. After some investigation, I found the culprit:
digest = Digest::SHA512.hexdigest('some_arbitrary_value')
On further investigation, I found that this line of code throws the following error:
[BUG] Segmentation fault
ruby 1.8.7 (2013-06-27 MBARI 8/0x6770 on patchlevel 374) [i686-darwin14.3.0], MBARI 0x6770, Ruby Enterprise Edition 2012.02
...and quits the ruby console.
Both ruby versions 1.8.7 and REE produce this issue on my OSX Yosemite machine. Ruby versions 1.9.3 and newer seem to produce the expected hash without error.
Why does Digest::SHA512.hexdigest
produce a [BUG] Segmentation fault
error after switching from OSX Mavericks to Yosemite?