Grant Schoep
unread,Jun 8, 2014, 1:45:56 AM6/8/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ruby-opt...@googlegroups.com
Ah, I figured out the issue, give me a night to sleep on it and think
about more things.
When I first started running my app with ruby-prof, It was crashing
with "stack level too deep". I googled the issue and found this
solution to the crash.
RubyVM::InstructionSequence.compile_option = {
:tailcall_optimization => true,
:trace_instruction => false
}
That made it run fine, but, that "trace_instruction" was the cause of
the missing info, makes sense now.
Interestingly enough, I also found the culprit of the "stack level too deep"
I was using
$LOAD_PATH.insert(0,ENV['APP_HOME'] + '/rubylib')
which was causing the crash. I commented that out, and added that path
to the shell via the RUBYLIB variable, and presto, the stack level too
deep crash went away.
Thanks for your help all.