https://bugs.winehq.org/show_bug.cgi?id=53700
Bug ID: 53700 Summary: DbgChild crashes because of missing function RtlDosPathNameToRelativeNtPathName_U in ntdll Product: Wine Version: 7.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: loic.taleb02@gmail.com Distribution: ArchLinux
Created attachment 73104 --> https://bugs.winehq.org/attachment.cgi?id=73104 Backtrace for x32dbg in Wine 7.15
Reproduction steps:
1. Create a new 64 bit Wine prefix 2. If Wine >= 7.16, install Visual C++ 2013 Redistributable (winetricks vcrun2013) (workaround for https://bugs.winehq.org/show_bug.cgi?id=53672) 3. Download x64dbg from https://github.com/x64dbg/x64dbg/releases/download/snapshot/snapshot_2022-09... (SHA-256: dcd3b74faa6e845a533756f778a2c7eb020f130239bf3e7cbb881acd91d3e76b) and extract the release folder 4. 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 5. Run x32/x32dbg.exe or x64/x64dbg.exe 6. 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 7. File>Open then choose any executable file 8. x32dbg/x64dbg crashes
Patching x32/CreateProcessPatch.exe and x64/CreateProcessPatch.exe to replace RtlDosPathNameToRelativeNtPathName_U by RtlDosPathNameToRelativeNtPathName_U_WithStatus fixes the crash