[libxml-devel] [patch] Fix GC-related segfault on amd64 (libxml-ruby 0.3.8.4)
Masashi Shimbo
shimbo at is.naist.jp
Thu Mar 8 12:19:57 EST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libxml-ruby-0.3.8.4.patch
Type: application/octet-stream
Size: 365 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/libxml-devel/attachments/20070309/a8c53f37/attachment.obj
-------------- next part --------------
More information about the libxml-devel
mailing list