-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack level too deep (SystemStackError) #65
Comments
Can you duplicate outside Event Machine? I'm really going to need a minimal test case here. |
Hi Bob, Thanks for the reply. I managed to replicate it outside of Event Machine, but not outside of Fibers...
My short-term solution is to require "require 'addressable/idna'" at the top of my script before anything else runs, although this is not ideal, because 'addressable/idna' is a dependency of a dependency of a dependency. |
OK, thanks, I think that should be sufficient for a test case. |
Yup, confirmed, was able to get a working test that reproduces this. |
"stack level too deep (SystemStackError)"
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]
I get this issue in addressable/idna.rb
The require of addressable/idna/pure.rb is failing.
require "addressable/idna/pure"
Running this example....
https://github.com/cjbottaro/em-xmlrpc-client
The issue is being caused because the data assigned to UNICODE_DATA is too large. If I break it up with {}.merge({}).merge({}) statements I do not see this issue.
I cannot reproduce this outside of the above example.
The text was updated successfully, but these errors were encountered: