stack level too deep (SystemStackError)

asked 2016-02-09 07:12:19 -0600

karthikeayan gravatar image

updated 2016-02-09 07:13:00 -0600

When I try to execute rspec for puppet module getting this below error:

/var/lib/gems/2.1.0/gems/rspec-core-3.4.1/lib/rspec/core/formatters/exception_presenter.rb:97: stack level too deep (SystemStackError)

module directory size is 31MB. I tried to change ulimit size, doesn't help

edit retag flag offensive close merge delete

Comments

Some test in that module may be doing something recursive and thus causing that "out of stack" error. The tricky thing is to figure out which test that is. Try doing a manual binary search; disable half of the tests, continue on the side that has failure until one test remains.

Henrik Lindberg gravatar imageHenrik Lindberg ( 2016-02-15 06:52:25 -0600 )edit

Same tests, working in CentOS VM, getting errors only in Debian VM.

karthikeayan gravatar imagekarthikeayan ( 2016-02-16 03:24:50 -0600 )edit