RE: [xml] New problems after register memory management routines

Hello Daniel,

that's realy, realy awkward for me...  8).
Pls forgive my ingnorance!
In German we call it "Den Wald vor lauter Bäumen nicht sehen",
don't know how to translate this exactly, maybe something like
"Don't see the forest for all the trees".
Again: I'm sorry!

Ciao, Markus

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Thursday, October 18, 2001 2:08 PM
To: Henke, Markus
Cc: 'xml gnome org'
Subject: Re: [xml] New problems after register memory management

On Thu, Oct 18, 2001 at 02:01:36PM +0200, Henke, Markus wrote:
  xmlMemSetup(freeFunc, mallocFunc, reallocFunc, strdupFunc);


  xmlCleanupParser();   <- Assertion failed: pbi != NULL

I've debbuged it to a point where
which causes the assertion to fail.
handlers[nbCharEncodingHandler]->name is "HTML" at this 
point (WTHDTM...).
So, i'm stuck again...

  And you find this surprizing ????

xmlInitParser() is allocating memory of course !
And you're trying to free it with a different routine.

  If you remap the memory routine this must be done before any other
libxml or libxslt call of course. This is common sense, no ?


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

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