Reload a DLL and _getptd returns zero

Michael Ost most at museresearch.com
Tue Jan 15 12:59:47 CST 2013


On 01/15/2013 03:39 AM, Piotr Caban wrote:
> On 01/15/13 00:32, Michael Ost wrote:
>> Here's a link to a zip file that includes the prebuilt .exe and .dll
>> windows binaries that crash in wine. Plus the code.
>>
>> https://dl.dropbox.com/u/97386125/msvcrt-dll-problem.zip
> The crash is caused by incomplete FlsFree implementation. There's a
> comment in it's code that says what needs to be added:
> /* FIXME: add equivalent of ThreadZeroTlsCell here */

Really? Are you sure that's it?

By the way, to aid my future Wine sleuthing, can you share any hints on 
how you figured this out?

> I guess it would be best to create a bug describing this issue
> (http://bugs.winehq.org/).

OK. Do you know if it is acceptable form to post a windows binary as an 
example case on the bug? The DLL part of the bug has to be a windows binary.

Thanks for the tip! -- mo




More information about the wine-devel mailing list