I've found weird bug today. My tests are crashed with JSON is too deeply nested (SystemStackError) when called from make utility.
JSON is too deeply nested (SystemStackError)
$ ruby test.rb
test.rb:2:in `load': JSON is too deeply nested (SystemStackError)
from test.rb:2:in `<main>'
make: *** [run] Error 1
Oj version is 2.0.4
Unfortunately I cannot write failing test for this bug, 'cause I cannot understand its nature.
I was able to reproduce the problem. It turns out that linux misreports the stack size without reporting an error. It is fixed in release 2.0.6. Let me know if it works for you.
Yes, it works now. Thanks for solving the problem :)
I don't like to keep issues unsolved. Glad you found it.