Re: [xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-27 Thread Daniel Veillard
On Wed, Oct 26, 2005 at 06:15:21PM -0700, Rick Jones wrote: So, I'm trying to get netperf4 up and running under Debian Itanium (64-bit). It uses libxml2 :) I've apt-got libxml2, libxml2-dev, -doc and -utils. Being an HP-UX refugee, I just did this: [...] At this point what would be next

Re: [xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-27 Thread Rick Jones
At this point what would be next steps? Gentle, specific RTFM pointers would be fine. Are you moving parts of trees between documents ? If yes then you're probably having dictionaries pointers problems. When loading documents with xmlRead... use the XML_PARSE_NODICT option. I don't

Re: [xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-27 Thread Rick Jones
Daniel Veillard wrote: On Thu, Oct 27, 2005 at 09:14:15AM -0700, Rick Jones wrote: if ((*message = xmlParseMemory(message_base,message_len)) != NULL) { Hum, okay , could try to use xmlReadMemory and check if problem persists What sematic differences are there? Does xlmReadMemory do

Re: [xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-27 Thread Daniel Veillard
On Thu, Oct 27, 2005 at 09:49:39AM -0700, Rick Jones wrote: Daniel Veillard wrote: On Thu, Oct 27, 2005 at 09:14:15AM -0700, Rick Jones wrote: if ((*message = xmlParseMemory(message_base,message_len)) != NULL) { Hum, okay , could try to use xmlReadMemory and check if problem

Re: [xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-27 Thread Rick Jones
What sematic differences are there? Does xlmReadMemory do validation and attribute loading from the DTD (more that I left-out originally, sorry - i'm not the only one contributing to this code and they went down a path of getting default values from a DTD) no. It's the new parser API, the

[xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-26 Thread Rick Jones
So, I'm trying to get netperf4 up and running under Debian Itanium (64-bit). It uses libxml2 :) I've apt-got libxml2, libxml2-dev, -doc and -utils. Being an HP-UX refugee, I just did this: [EMAIL PROTECTED]:~/netperf-4.0.0alpha2/src$ xmllint --version xmllint: using libxml version 20622