Re: [xml] Re: Release of libxml2-2.5.8



On Tue, Jul 08, 2003 at 09:42:50AM -0400, Daniel Veillard wrote:
/me launch "make valgrind" for good measure too

  Hum, okay, reproduced. Seems to be the regexp and automata test
programs which don't initialize the library but call xmlCleanupParser()
which then genrate some pain in the thread area:

Testing xpath
==26389== Invalid read of size 4
==26389==    at 0x40217260: __pthread_mutex_destroy (vg_libpthread.c:1159)
==26389==    by 0x8091771: xmlFreeMutex (threads.c:138)
==26389==    by 0x8090EF6: xmlCleanupGlobals (globals.c:49)
==26389==    by 0x805A183: xmlCleanupParser (parser.c:11179)
==26389==    Address 0x4 is not stack'd, malloc'd or free'd

  kaboom ... patch enclosed fixing it for me

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/

Attachment: patch.mutex
Description: Text document



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