cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
6.6k stars 506 forks source link

Cemu crashes without a stack trace or any debugging related files #1223

Open hYdos opened 1 month ago

hYdos commented 1 month ago

Current Behavior

Cemu crashes without printing a stack trace

Expected Behavior

A stack trace should be printed in log.txt

Steps to Reproduce

Grab the latest release of Cemu Crash a game Observe the log.txt

System Info (Optional)

OS: Windows 10 GPU: RTX 2070 Super

Emulation Settings (Optional)

No response

Logs (Optional)

log.txt

Homebrew I am working on which is crashing (it will be missing files so it won't crash the same way mine does, but it has the same missing stacktrace behavior) ReflectionMetaDumperWiiU.zip

Exzap commented 1 month ago

Proper PPC stack traces can only be generated if Cemu is running in interpreter mode (by setting game profile CPU mode to interpreter or launch Cemu with --force-interpreter). In recompiler mode stack traces can not always be generated due to the way stack is managed. #641 will fix this partially

hYdos commented 1 month ago

The stack trace i'm looking at is one for Cemu, not the application running. Is there a way to get one for the application or is that out of scope for Cemu?

Exzap commented 1 month ago

What I said applies. It should print two stack traces, one for Cemu and another one for the PPC application running within it (if it is the PPC code that causes the crash)