http://bugs.winehq.org/show_bug.cgi?id=60281 Bug ID: 60281 Summary: 32-bit installer crashes with stack overflow due to infinite loop in RtlUnwindEx (SEH unwinding) on macOS WoW64 build Product: Wine Version: 11.16 Hardware: x86-64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: nileshkumbhar1604@gmail.com Target Milestone: --- Wine version: wine-11.16 (self-built from git, commit gcd22bd7383a) Build configuration: ./configure --enable-archs=i386,x86_64 --with-mingw Host: Mac mini M4 (Apple Silicon), running Wine under Rosetta 2 as x86_64. Steps to reproduce: 1. Build Wine from source with WoW64 support (`--enable-archs=i386,x86_64`). 2. Run a 32-bit Windows installer, for example: `./wine UltraViewer_setup_6.6.124_en.exe` 3. The installation starts and the "Installing UltraViewer" dialog appears. 4. The process then crashes with: `err:virtual:virtual_setup_exception stack overflow 1664 bytes addr 0x7bcfccd3 stack 0x130000-0x131000-0x230000` Running with `WINEDEBUG=+seh,+tid` shows that `RtlUnwindEx` is repeatedly called with the same `target_ip` (`00006FFFFDFB2E80`) and does not appear to make any progress. This continues until the thread stack overflows. I have attached the full trace. This initially looked similar to bug 58698, which also involved an infinite loop with the new WoW64 implementation. However, that issue was related to the `VirtualAlloc` size-probing logic and was fixed by commit `f4c5b04148db5fc4e5265beec461d3b7d9f4a789`. The problem described here still occurs with Wine 11.16, so it does not appear to be the same issue. A 64-bit-only build (`--enable-win64`, without WoW64) does not reproduce the problem, and 64-bit applications run normally. The issue therefore appears to be specific to the 32-bit-on-64-bit exception/unwinding path. It may also be related to the macOS/Apple Silicon environment, although I have not confirmed this yet. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.