Re: [xml] Access Violation when using TLS



Since you mention unloading the DLL, let me add that TLS will *not*
work with LoadLibrary/FreeLibrary: it requires that the compiler
knows about your DLL.

So yes, please retry with 2.6.0beta6 without TLS and tell us
how it works. If it still fails, try to be somewhat more explicit
about your scneario.

Thanks.

-sbi

I'm not clear about your whole scenario, but here are a couple of thoughts
and questions.

First, are you sure you need to be using LIBXML_STATIC_FOR_DLL?  It's
intended for the case where libxml is statically linked into a DLL.  It
sounds like that may be what you're doing, but I'm not sure.

Second, LIBXML_STATIC_FOR_DLL has no effect if you're using compiler TLS, as
you must be doing if you're crashing in line 397.  Try disabling compiler
TLS.

-----Original Message-----
From: oliverst online de [mailto:oliverst online de] Sent: Wednesday, October 15, 2003 4:58 AM
To: xml gnome org
Subject: Re: [xml] Access Violation when using TLS



OK, I just read about those older threading patches and about the
"LIBXML_STATIC_FOR_DLL" define. So I added the define, compiled the
2.6.0beta6 again and it still crashes at line 397 in threads.c.
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml






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