On Tue Aug 15 17:16:05 2023 +0000, Jinoh Kang wrote:
AFAIK there is a bug (probably https://bugs.winehq.org//show_bug.cgi?id=55092) in the current implementation where the wow64 context does not alias the native context when the process is in emulation (wow64) mode. I attempted to fix this in https://gitlab.winehq.org/wine/wine/-/merge_requests/123, but it causes conflicts with this MR. I've not looked into this MR in details, but I was wondering if the bug has been taken into consideration.
Your MR seems relevant. I think that part of it was addressed by 5031c6d938f119580e. It will still not work if target thread is not fully suspended (not suspended at all, like in attached tests, or suspend request issued a signal, but did not yet receive a select request) and that's what I'm trying to fix.
I'm not sure if mentioned bug is related.