Bugs item #19242, was opened at 2008-04-01 17:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=19242&group_id=494
Category: memory Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: xpath causes GC crash Initial Comment: Well, I debugged this one, but I don't know how to fix it right. The problem is this: in order to free an xpath object, the nodes it references need to be available. But ruby will happily free the document before freeing the xpath objects. I think some kind of refcount might work, where the last xpath object calls xmlFreeDoc... ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=19242&group_id=494 _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel