[PATCH 0/2] MR85: ntdll: Fix Wow64 crashes when many threads are created.

Brendan Shanks (@bshanks) wine at gitlab.winehq.org
Tue May 17 16:39:56 CDT 2022


On both Mac and Linux under Wow64, after ~120 threads are created, the 64-bit stacks start to be allocated above 4GB. 

This triggered crashes in alloc_fs_sel() and when the result of get_cpu_area() was used.
(On Mac the ntdll threadpool tests reproduced this, but on both platforms a test app that created 256 threads also worked).

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/85



More information about the wine-devel mailing list