[libxml-devel] Odd Segmentation Faults

Charlie Savage cfis at savagexi.com
Sun Feb 8 19:01:35 EST 2009


Hi Michael,

>   <!ENTITY % product SYSTEM "lib/dtds/product.dtd">
>   %product;
> 
>>From that I get:
> ./app/models/queue_item.rb:44: [BUG] Segmentation fault
> Line 44 is:     dtd = XML::Dtd.new(File.read(Rails.root + "/lib/dtds/"
> + dtd_filename))
> where dtd_filename is definition.dtd

Works fine here, but you didn't post lib/dtds/product.dtd, so the test I 
have is different than yours.

> So my question is, does anyone know if [BUG] is indicating a bug in
> libxml-ruby or something that I'm doing wrong? 

It sounds like a libxml bug - can you post a test case that shows it 
happening?  If so, it should be easy to fix.

Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://rubyforge.org/pipermail/libxml-devel/attachments/20090208/0d7aa789/attachment.bin>


More information about the libxml-devel mailing list