Re: [xml] xmlSchemaNewParserCtxt coredump



On Thu, Aug 04, 2005 at 09:29:09AM +0200, Remy HAREL wrote:
Hi,

If sometimes you have segfaults and sometimes not, it's probably not 
because of your schema but memory allocation.
Maybe gdb could help you, I encountered once such problems with 
xmlDocDumpxxx functions, and I thought it was weird, but after a while, 
I found that I used a wrong pointer of pointer somewhere.

  Right, use valgrind or other memory debugging tools.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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