Closed cwabbott0 closed 2 months ago
0024:fixme:qemu_module:import_dll No implementation for msvcrt.dll.__p___argv imported from L"G:\home\cwabbott\src\apitrace\build-mingw32\d3dretrace.exe", setting to 0x7fb489b3bd ... EIP=b489b3bd EFL=00000206 [-----P-] CPL=3 II=0 A20=1 SMM=0 HLT=0
This is bailing on one of the unimplemented functions (truncated because the "stub" that just contains 0xcc is above 4 GB. Sorry, right now there's no code in hangover that will tell you which one it is...
This works with Hangover 9.x, please try again
I finally managed to build hangover on Fedora (natively on aarch64) after working around some nasty problems with the mingw crt being built with stack-protector support. I can successfully run a simple hello-world program cross-compiled with mingw, but running
d3dretrace.exe
(fwiw, cross-compiled on the aarch64 host using the same toolchain used to build wine-guest) results in two different crashes with 32-bit and 64-bit builds. In 32-bit mode it seems to crash in the guest, and I get this output:I think qemu has a gdb server implementation, but passing
-gdb
doesn't work, so I'm not sure how to get a proper backtrace.For the 64-bit version it seems to crash in the host (qemu?) and I get this output from the windbg dialog:
I couldn't match up the IP with a location in the objdump output of qemu, and it seems like a bunch of dwarf stuff isn't implemented for aarch64 so it doesn't give a proper backtrace. I'm not sure how to go about debugging either crash.