Bugs item #19242, was opened at 2008-04-01 15:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1971&aid=19242&group_id=494
Category: memory Group: None >Status: Closed Resolution: None Priority: 3 Submitted By: Nobody (None) >Assigned to: Charlie Savage (cfis) 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... ---------------------------------------------------------------------- >Comment By: Charlie Savage (cfis) Date: 2008-07-01 02:46 Message: This is hopefully fixed by Joe's patch - so closing it. ---------------------------------------------------------------------- Comment By: Joe Khoobyar (walltndr) Date: 2008-04-01 22:16 Message: Oops. :) I meant patch #19252 ---------------------------------------------------------------------- Comment By: Joe Khoobyar (walltndr) Date: 2008-04-01 22:14 Message: I have a patch for this that is working fine on both OS X (Leopard) and 64-bit Linux. See patch #1952 ---------------------------------------------------------------------- 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