https://bugs.winehq.org/show_bug.cgi?id=53701
Bug ID: 53701 Summary: x32dbg crashes when debugging some executables Product: Wine Version: 7.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: loic.taleb02@gmail.com Distribution: ArchLinux
Created attachment 73109 --> https://bugs.winehq.org/attachment.cgi?id=73109 LunaDll
Tested on Wine 7.15 and 7.17. I've managed to get the same crash for multiple executables.
Reproduction steps for SMBXLauncher.exe:
1. Download SMBX2 from: https://wohlsoft.ru/docs/SMBX2/SMBX2b4.4.1%20Installer.exe (SHA-256: 4cd2047e01df7e9a4155e7ebed890f29a38b424ef12ebcc77030bfacbaf9399c) and install it in any Wine prefix 2. Create a new 64 bit Wine prefix 3. If Wine >= 7.16, install Visual C++ 2013 Redistributable (winetricks vcrun2013) (workaround for https://bugs.winehq.org/show_bug.cgi?id=53672) 4. Download x64dbg from https://github.com/x64dbg/x64dbg/releases/download/snapshot/snapshot_2022-09... (SHA-256: dcd3b74faa6e845a533756f778a2c7eb020f130239bf3e7cbb881acd91d3e76b) and extract the release folder 5. Run x32/x32dbg.exe 6. File>Open then choose SMBX2/data/SMBXLauncher.exe 7. Click on Run (Right arrow button next to the pause button) multiple times 8. x32dbg should crash
Reproduction steps for LunaLoader.exe:
1. Download SMBX2 from: https://wohlsoft.ru/docs/SMBX2/SMBX2b4.4.1%20Installer.exe (SHA-256: 4cd2047e01df7e9a4155e7ebed890f29a38b424ef12ebcc77030bfacbaf9399c) and install it in any Wine prefix 2. (Facultative) Replace SMBX2/data/LunaDll.dll by the one attached to this bug report. Both versions of LunaDll produce the same crash but at different times. 3. Create a new 64 bit Wine prefix 4. If Wine >= 7.16, install Visual C++ 2013 Redistributable (winetricks vcrun2013) (workaround for https://bugs.winehq.org/show_bug.cgi?id=53672) 5. Install Direct3D 10.1 Extensions (winetricks d3dx10_43), DirectSound (winetricks dsound) and the Visual Basic 6 runtime (winetricks vb6run). These are required by SMBX2. 6. Download x64dbg from https://github.com/x64dbg/x64dbg/releases/download/snapshot/snapshot_2022-09... (SHA-256: dcd3b74faa6e845a533756f778a2c7eb020f130239bf3e7cbb881acd91d3e76b) and extract the release folder 7. Download DbgChild from https://github.com/therealdreg/DbgChild/releases/download/beta10/DbgChild.Be... (SHA-256: f17f588795d8f5f94d71335a8acfa58946bb03a94a5637be7f3e804c652ea2b4) and extract the contents of the release folder in the release folder of x64dbg 8. Download DbgChild patched executables from https://bugs.winehq.org/attachment.cgi?id=73108 (SHA-256: 69e34736c0ab844b675cfac7bd3cf547204cdfb43799e312e4bb14c96c9a9c5c) and extract the contents of the release folder in the release folder of x64dbg (workaround for https://bugs.winehq.org/show_bug.cgi?id=53700) 9. Run x32/x32dbg.exe 10. Plugins>dbgchild then check Auto from x32dbg/x64dbg Hook process creation, Auto from x32dbg/x64dbg Unpatch NTDLL entry and Launch from x32dbg/x64dbg NewProcessWatcher without ask 11. File>Open then choose SMBX2/data/LunaLoader.exe 12. Click on Run (Right arrow button next to the pause button) multiple times, if a new x32dbg window opens, do the same thing in it. 13. x32dbg should crash