JRuby

SystemStackError with YAML.dump

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1.6
  • Fix Version/s: JRuby 1.2
  • Component/s: Extensions
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    0

Description

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

Activity

Hide
Charles Oliver Nutter added a comment -

Fixed in r8889.

Show
Charles Oliver Nutter added a comment - Fixed in r8889.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: