Re: [xml] strange transformCtxt free-ing problem



On Mon, Jan 15, 2007 at 10:28:48AM +0000, Nic James Ferrier wrote:
"William M. Brack" <wbrack mmm com hk> writes:

With your example program, I found two separate problems.  One of them
was causing the segfault you experienced with this program, while the
other was not actually encountered in this instance, but nevertheless was
(IMHO) an error.

A fix for these two problems is in SVN, and I would appreciate it if you
could quickly test it with your original python program, because a new
library release is imminent and I would like to assure that a complete
fix for your original problem is included.

I tried trunk (2.6.27?)

It didn't work. My program still fails:

 $ python test.py
 ./file2.html:12: HTML parser error : htmlParseStartTag: misplaced <html> tag
 <html>
      ^
 ./file2.html:13: HTML parser error : htmlParseStartTag: misplaced <head> tag
 <head>
      ^
 ./file2.html:22: HTML parser error : Unexpected end tag : head
 </head>
        ^
 ./file2.html:23: HTML parser error : htmlParseStartTag: misplaced <body> tag
 <body>
      ^
 ./file2.html:39: HTML parser error : Tag nbsp invalid
 <td><nbsp></nbsp></td>
          ^
 *** glibc detected *** double free or corruption (!prev): 0x081b6300 ***
 Aborted

It fixed it for you?

  he told me so with your example.


Here's what I did:

- svn n co svn://svn.gnome.org/svn/libxml2/trunk
- ./autogen.sh --prefix=/usr --with-python
- make
- sudo make install

then recompiled my xslt dist as well and ran my test.

  But did you update libxslt too and make install for it too ? Please do
he fixed the problems in libxslt not in libxml2,

 thanks,

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]