[Bug 20466] Brothers in Arms: Hell's Highway crashes on startup (TLS slot index allocation must start at non-zero indexes)
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Mar 16 21:11:06 CDT 2014
http://bugs.winehq.org/show_bug.cgi?id=20466
Andrew Emery <aemery777 at icloud.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aemery777 at icloud.com
--- Comment #28 from Andrew Emery <aemery777 at icloud.com> ---
> Either slot indexes that are allocated/exposed by TlsXXX API must start at
> non-zero values -> ntdll change, keeping index zero 'reserved' (with zero
> init value!).
>
> A quick hack that also seems to be sufficient for the game is to 'steal'
> index zero for any further public allocation during process startup ->
> kernel32 ('singleton' TlsAlloc in process attach) before any higher level
> Wine builtins can grab it.
Hi Anastasius. Thanks for taking the time to figure this out. This is all new
to me and I have never even heard of TLS. After reading the post 3 or 4 times
my understanding is I need to "free up" the TLS index slot zero. Right? How do
you change a TLS index value? Or how do you steal the zero index?
--
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