Re: [xml] Missing line numbers in error handling



On Fri, Mar 26, 2004 at 10:44:16AM -0500, David Ascher wrote:
While trying to expand the python/tests/tstLastError.py code to test 
validation and not just well-formedness, I'm finding a memory leak from 
the debugMemory call in tearDown.  Specifically, adding the following test:
[...]
AssertionError: Memory leak 4415 bytes

[...]
1) Can others replicate?  (it's running against the latest windows 
binary distribution, while the test is from the latest CVS snapshot, if 
that makes a difference).

  FYI, I never run Windows, I don't have a Licence for it.

2) Suggestions for what to fix?

  Try to reproduce the leak at the C level, then see 
  http://xmlsoft.org/xmlmem.html#Debugging

of course configuring with memory debug might be impossible on the Windows
build (again, no idea).

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]