Re: [libxml-devel] Guaranteed non-crashing way to load an XML document?

2008-02-06 Thread Dan Janowski
A double free on the context seems the likely candidate. If you can send a bug exploit that I can reproduce then there is a possibility of resolution. The stack trace is identification. Dan On Feb 5, 2008, at 10:20, Saurabh Nanda wrote: > I have a long running RESTful web service that needs

Re: [libxml-devel] Code snippet to crash libxml (segfault)

2008-02-06 Thread Dan Janowski
Are you sure it is the doc reference and not the GC finalizers running? Put a print statement after it and see what happens. Dan On Feb 6, 2008, at 17:11, Saurabh Nanda wrote: > Why does the following code always cause a segfault on the last > statement, when simply trying to refer to 'doc'? T

[libxml-devel] Code snippet to crash libxml (segfault)

2008-02-06 Thread Saurabh Nanda
Why does the following code always cause a segfault on the last statement, when simply trying to refer to 'doc'? The answer to this could probably give me some pointers to my previous queries. require 'xml/libxml' x=XML::Parser.string("something") doc=x.parse x.parse puts '-- about to print refer

Re: [libxml-devel] Guaranteed non-crashing way to load an XML document?

2008-02-06 Thread Saurabh Nanda
No inputs from anyone on this? Any help would be appreciated. Saurabh. -- http://nandz.blogspot.com http://foodieforlife.blogspot.com ___ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel