Re: [xml] Win32 bug
- From: Daniel Veillard <veillard redhat com>
- To: Jens Oknelid <Jens Oknelid tat se>
- Cc: xml gnome org
- Subject: Re: [xml] Win32 bug
- Date: Thu, 6 Mar 2008 10:01:46 -0500
On Wed, Mar 05, 2008 at 12:10:12PM +0100, Jens Oknelid wrote:
Hi all,
I've been working on a project using libxml on Win32 and I've found a
small bug. InitializeCriticalSection(&cleanup_helpers_cs) needs to be
called once somewhere before starting threads otherwise you'll get a
crash with the message "can't access memory at 0x00000010" or something
like that. I did it in threads.c at row 902 but you may want to do it
someplace else, I'm not too familiar with the structure of this project.
I just thought I'd let you know.
No, it's initialized from xmlInitThreads(),so it seems you just forgot
to read and follow the documentation when running in a threaded
environment:
http://xmlsoft.org/threads.html
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]