Hi, Attached is a patch (against libxml-ruby 0.3.8.4) that should fix segmentation faults in XML::Document.file.
The patch hasn't been tested much, but the problem described in http://rubyforge.org/tracker/index.php?func=detail&aid=8337&group_id=494&atid=1971 (originally reported for freebsd-amd64) goes away on my Ubuntu Linux 6.10 amd64 box (with ruby 1.8.4 / gcc 4.1.2). Alternatively, it is possible to avoid the problem by turning off the compiler optimization altogether (by providing gcc with -O0), even without the patch. Masashi Shimbo
libxml-ruby-0.3.8.4.patch
Description: Binary data
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel