Re: [xslt] libxslt, Win32, threads



On Tue, May 07, 2002 at 09:27:01AM -0400, Michael Rothwell wrote:
> > From: "Daniel Veillard" <veillard@redhat.com>
> > >   Please check the mail archives, this generated a relatively large
> > > thread last  month:
> > >      http://mail.gnome.org/archives/xslt/2002-April/msg00093.html
> > >
> >
> > I'll do that.
> 
> The archives didn't contain any information that was particularly useful.
> 
> > >   Others have suceeded doing so, maybe they can help you,
> 
> I have succeeded now. And I finally tracked the problem down to GLib's hash
> tables. My program always crashed in xsltFreeStylesheet, but it was
> apparently memory corruption caused by, as far as I could make out,
> g_hash_table_remove().
> 
> Apparently glib2 hash tables have some issues on Win32. My solution was to
> remove all uses of g_hash*. No leaks, no crashes.

  Hum, libxml2 and libxslt do not depend on glib(2), thanks for the 
information on the resolution of the problem,

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]