user32: Lock user32 in alloc_user_handle to fix races with get_user_handle_ptr

Dan Kegel dank at kegel.com
Fri Jun 18 12:21:32 CDT 2010


On Fri, Jun 18, 2010 at 9:18 AM, Paul Chitescu <paulc at voip.null.ro> wrote:
> On Friday 18 June 2010 07:04:14 pm Dan Kegel wrote:
>> Say, that sounds like a kind of test we should have in our test suite.
>>
>> What apps does this fix?
>
> Sysinternal's autoruns.exe which populates a number of list/tree views with a
> large number of icons extracted them the exes. It seems to do so from
> different threads and it doesn't stop if one thread crashes (I wonder -
> intentionally?)
>
> Unfortunately it's a race condition that doesn't always happen. Adding just a
> TRACE suppressed the error. Adding if (...) ERR(...) showed that only 1-2 out
> of about 150 icon creations would crash.

Thanks for the info.



More information about the wine-devel mailing list