ntdll: Ignore invalid exit_frame when exiting thread.

Alexandre Julliard julliard at winehq.org
Tue Apr 19 08:46:21 CDT 2016

Sebastian Lackner <sebastian at fds-team.de> writes:

> This was one of my initial approaches, but first of all its very hacky, and moreover
> that alone is not sufficient. The 64-bit version of MSYS2 will try to reuse the
> existing stack at one point, and memset()s a specific amount of memory at the top for
> its internal use as thread local storage. Depending on the exact memory layout, this
> might corrupt pthread or wine internal structures like debug_info... ;)

Couldn't we ask them to stop doing such things?

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list