SystemStackError with YAML.dump
-------------------------------

                 Key: JRUBY-3269
                 URL: http://jira.codehaus.org/browse/JRUBY-3269
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
    Affects Versions: JRuby 1.1.6
            Reporter: Mike Wadhera


Some gems, like older versions of Feedtools, will override YAML.dump with 
custom behavior that invokes #to_yaml on the argument passed to dump:
http://github.com/seancribbs/hippo/tree/master/lib/feed_tools/monkey_patch.rb#L5

This was causing SystemStackErrors in our JRuby rails application. Upon further 
investigation we noticed this wasn't an issue on MRI and headius sent me a 
patch against trunk that has AFAIK solved this circular reference snafu. Here 
is a link to that patch: http://pastie.org/348040


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to