Re: [xml] strange transformCtxt free-ing problem



"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?


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.

-- 
Nic Ferrier
http://www.tapsellferrier.co.uk   for all your tapsell ferrier needs



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