mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 06:59:57 -04:00
Crash report: the log names what the crashing thread was building, and a library link names its case.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -291,6 +291,9 @@ static void crash_handler(const PlatCrash *x) {
|
||||
if (foreign_hook(x->module))
|
||||
rt_logf(" %s is not part of the game: a recording, overlay or capture program put it into the game. Close that "
|
||||
"program or turn off its Vulkan capture, then start the game again\n", x->module);
|
||||
// what the thread was doing (a pipeline build names its shaders): the stderr note crash_veh writes misses the log
|
||||
const char *note = plat_crash_context_get();
|
||||
if (note) rt_logf(" the thread was %s\n", note);
|
||||
uint64_t f = x->module ? 0 : lifted_function(rip);
|
||||
if (f) rt_logf(" in lifted function f_%llx = %s\n", (unsigned long long)f, ldr_describe(f, d, sizeof d));
|
||||
// abort and invalid parameter: where the host code called it; a fault in another module: the host calls that led
|
||||
|
||||
Reference in New Issue
Block a user