[libxml-devel] Test Errors and Seg fault (08-07-19)

Sean Chittenden sean at chittenden.org
Sat Jul 19 15:12:10 EDT 2008


> A "real" solution would involve XPath objects registering themselves  
> with documents, and documents checking them when freed.  The reason  
> is that Ruby calls free functions in random order.  See discussion  
> here:
>
> http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-core/17725?17500-17840+split-mode-vertical

XPathObjects should have a custom mark function that marks their  
dependent XML Document object.  XPathObjects need to have that  
reference in their structure.  -sc

--
Sean Chittenden
sean at chittenden.org





More information about the libxml-devel mailing list