Open sunnyqeen opened 3 years ago
The pdb file is almost 200MB last time I checked, it's not viable to include it with the binaries
Could we just put the zipped pdb to a second package for download? Then users could choose if they need them for bug report.
And for the full callstack dump , there is a lib already exist and easy to use. https://github.com/JochenKalmbach/StackWalker
This is a PPU callstack, not x86.
@elad335 Thanks for point it out. Then the x86 callstack logging is completely missing. see static LONG exception_handler(PEXCEPTION_POINTERS pExp) noexcept and static LONG exception_filter(PEXCEPTION_POINTERS pExp) noexcept inside Utilities/Thread.cpp
I got several random crashes like ·F 0:21:15.506754 {PPU[0x1000000] Thread (main_thread) [0x00cd6a60]} VM: Access violation reading location 0xb3b98c00 (unmapped memory) [type=u0] which will freeze the emu, but the current callstack info from the log could not help much, as it just show the address. Call stack:
0x00cd6a60 (0x0) called
It would be good we could show also the function names, and maybe even show the source file and line if the .pdb files are packed to the binaries.
From my limit understanding of the emu. We just need to add some code to Utilities/Thread.cpp