http://bugs.winehq.org/show_bug.cgi?id=25504
Marcel Meißner mm-meissner@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mm-meissner@gmx.de
--- Comment #6 from Marcel Meißner mm-meissner@gmx.de 2011-04-11 15:09:36 CDT --- (In reply to comment #2)
Created an attachment (id=33234)
--> (http://bugs.winehq.org/attachment.cgi?id=33234) [details]
added libgcrypt-thread-fu to secur32/schannel.c
I've installed wine as described in the appdb instructions (winetricks vcrun2005 ie6 d3dx9 [and maybe wininet, not sure though]). Now the shop crashed with
ient.exe: ath.c:193: _gcry_ath_mutex_lock: Assertion `*lock == ((ath_mutex_t) 0)' failed
As this is usually caused by libgcrypt being not thread-safe per default I added libgcrypt-thread-fu to secur32/schannel.c, and this seems to have resolved the issue for me. Note that this adds the libgcrypt headers to wine's build-dependencies.
I've checkout wine-1.3.11 and applied the ole and libgcrypt patches, I've also installed the necessary winetricks with the result being the exact same crash as before. So I still do get the _gcry_ath_mutex_lock assertion, the patch does not resolve this issue at all.
I really wonder why people keep reporting that this patch works, as a matter of fact the store does work with and without the patch to a certain degree, but it is very very unstable. But maybe it's an issue with gnutls, what version of gnutls are you using, do you still think that this patch resolves the issue?