Re: [xml] Compression Problem I think?



On Thu, Feb 19, 2004 at 04:02:36PM -0000, johnsag knology net wrote:
Here is the situation

I am currently using cygwin with the libxml2-2.4.22 and gzip1.2.4(I can't 
change this version..hardware uses this version).

I am currently trying to get the the programs to work with the new libxml2 
but running into problem with not determist...?

There are several C programs using an libxml2-2.4.22 that work fine. The 
difference from the C programs that work and the one that does not work?.is 
the one the doesn't work uses compression. The last call to the libxml2 
library is xmlSaveFormatFile. The program hangs at this point. It does not 
return our C program but probably hangs in the libxml2 library. 

What I would like to be able to do:
How do I get in tree.c(where the funxtion xmlSaveFormatFile is) and do some 
debugging so I can see where my problem starts.
(I have recompiled the libxml2 library with some printf calls in the tree.c 
file and got nothing?not sure of a way of getting in there and finding 
where the problem is)

I am not very infamilar with libxml2 I may have overlooks some debugging 
stuff

I hope I have added enough information

  Well the only sane way to do this kind of debugging is to use a debugger !
launch the program under gdb, interrupt it where it blocks and check what's
going on. Nobody can really debug the problem for you since you don't
provide a way to reproduce it with xmllint.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]