Re: [xml] Crash while SAX parsing HTML



I added xmlInitParser() but it still crashes. 

I didn't think it was necessary because by reviewing the source code of htmlSAXParseDoc, I noticed it calls xmlInitParser.

Giovanni


On Fri, Jul 10, 2009 at 11:34 AM, Daniel Veillard <veillard redhat com> wrote:
On Fri, Jul 10, 2009 at 10:46:34AM -0700, Giovanni Donelli wrote:
> Hi Daniel,    thanks for the response. I did some additional debugging and I
> verified that the crash doesn't occur on the main thread, but is 100%
> reproducible on secondary thread.

Your code is threaded ...
 http://xmlsoft.org/threads.html
I see no xmlInitParser() anywhere in your code.

Daniel

--
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]