[Bug 28913] Wininet.dll violates DLL unloading requirements by calling Winsock functions from DLL_PROCESS_DETACH

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 28 01:11:03 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28913

--- Comment #5 from Cameron Gutman <aicommander at gmail.com> 2011-10-28 01:11:03 CDT ---
(In reply to comment #4)
> Sounds like you need to investigate and fix it on the ReactOS side.
> 
> Not a Wine bug.

This is certainly a Wine bug. The ReactOS loader is functioning within NT spec
(try loading your wininet.dll on real NT), but bugs in Wine's wininet.dll are
causing deadlocks. Even Microsoft's own documentation says that the current
Wine wininet DllMain() code is wrong and can cause all sorts of mayhem
depending on the way the loader decides to unload DLLs (a future Wine loader
change could trigger this). DllMain should always be order-agnostic and in this
case it is not. I'd like to help get this fixed for both projects, so I'd
appreciate it if you could help me get in touch with the developer(s) in charge
of wininet so we can properly fix this bug.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list