Re: [xslt] libxslt, Win32, threads
- From: "Michael Rothwell" <rothwell holly-springs nc us>
- To: <xslt gnome org>
- Subject: Re: [xslt] libxslt, Win32, threads
- Date: Mon, 6 May 2002 16:35:14 -0400
From: "Daniel Veillard" <firstname.lastname@example.org>
> Please check the mail archives, this generated a relatively large
> thread last month:
I'll do that.
> Others have suceeded doing so, maybe they can help you,
I get the stylesheet by doing either this:
/stylesheet = xsltParseStylesheetFile((const unsigned char
styledoc = xmlParseFile(stylefile_path);
stylesheet = xsltParseStylesheetDoc(styledoc);
regardless, xsltFreeStylesheet(stylesheet) segfaults. If I comment out the
xsltFreeStylesheet(), it never segfaults, but leaks memory like a sieve.
I'm using libXML 2.4.20 and libxslt 1.0.16, Win32 editions...
I've methodically commented out other sections of the code, put the entire
dealing-with-libxml portions in one big lock, and narrowed the problem down
to the call to xsltFreeStylesheet(). It might be something else still, but
nothing else seems to crash the program. It's an ISAPI filter, so it's a
pain in the butt to debug, and all I typically get is a hung debugger or
disassembly (and once, a BSOD, whee).
I'm looking for the experieces of others here... I'll post the
xsltfilter.cpp code if asked.
] [Thread Prev