Henrik Rydgård
2814668cf5
Show a MIPS stack trace on crash screen ( #17211 )
...
* Print simple stack traces to log on crashes.
* Display stack traces on crash screen
* Show the in-function offset in the printed callstacks.
* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Henrik Rydgård
0a13c78788
Revert "ffmpeg: Don't ask for multi-threaded decoding"
...
This reverts commit b173e0f4a4
.
Turns out it's not actually known to fix anything, should have closed
that old PR.
2023-01-12 16:23:39 +01:00
Henrik Rydgård
b173e0f4a4
ffmpeg: Don't ask for multi-threaded decoding
...
For whatever reason, our version of ffmpeg has problems with it,
and I don't care enough to dig deep.
See PR #13806
2023-01-12 12:13:10 +01:00
Henrik Rydgård
830f1064e6
Merge pull request #16676 from unknownbrackets/riscv-disasm
...
Add disassembler for RISC-V
2023-01-04 09:52:56 +01:00
Henrik Rydgård
aa80659530
Memory exception: Add facility to track size
...
Might theoretically help in tracking some things down.
Not fully utilized yet, the fault handler needs to extract the
information from the faulting instruction. But we can use it for
GetPointerRange etc.
2023-01-01 20:30:29 +01:00
Unknown W. Brackets
77849d3eed
riscv: Add disassembler.
...
From https://github.com/anthony-coulter/riscv-disassembler .
Modified slightly to pull in less headers in the h, prefix funcs.
2023-01-01 10:28:53 -08:00
Henrik Rydgård
97fadbcecb
Show bluescreen properly on memory errors that we failed to ignore.
...
Previously we just wouldn't draw it but still would be in the error
state.
2022-12-30 12:29:23 +01:00
Unknown W. Brackets
4fa071e78a
riscv: Implement basic crash handler.
...
Tested by letting it recover non-guest crashes.
2022-12-24 19:08:31 +00:00
Unknown W. Brackets
c1c8a70401
Crash: Ensure we never handle faults in faults.
...
In theory, this shouldn't happen because it won't be in jit space, but
better to be sure.
2022-12-20 20:18:02 -08:00
Unknown W. Brackets
21fb6e5385
Crash: Recover from unaligned CPU access.
...
This catches SIMD accesses that are unaligned, see #15523 .
2022-05-21 11:39:26 -07:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
3df6cb704f
Global: Fix some type conversion warnings.
...
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets
b8ab7f39df
jit: Lock around changes to the jit pointer.
2021-11-28 10:04:22 -08:00
Henrik Rydgård
4b67fe4947
Remove now-redundant check
2021-02-09 10:17:15 +01:00
Henrik Rydgård
6db827093d
Buildfix
2021-02-09 09:48:34 +01:00
Henrik Rydgård
f6b2070e47
Cause the correct type of exception. Never ignore EXEC_ADDR exceptions.
2021-02-09 09:38:03 +01:00
Henrik Rydgård
6b4356a060
Handle exec addr errors better - don't let IgnoreBadMemoryAccesses skip dispatcher exceptions.
...
It would then just fall through into the compiler and die.
Should remove one of the "mystery" crashes from #14082 .
2021-02-09 09:32:38 +01:00
Henrik Rydgård
6e6f1693d9
UWP buildfix
2020-12-19 23:19:42 +01:00
Henrik Rydgård
6c8ee35826
Crash screen: Add a very dangerous and inaccurate "Resume" function.
...
Not sure if there's much point really but maybe..
2020-12-19 20:27:39 +01:00
Henrik Rydgård
ac6715baa9
Improvements to crash screen.
...
Part of #13299
Use the new tests/cpu/crash tests in pspautotest to test this code
(manually).
2020-12-19 19:48:24 +01:00
Henrik Rydgård
989e353482
Common.h shouldn't include Log.h.
...
Buildfixes
More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
dae9df3829
Fix a bug in crashhandler where we could end up disassembling far too much.
2020-07-19 17:23:21 +02:00
Henrik Rydgård
8c38d7305e
Crash: Show disassembly of the instruction causing the crash, and the symbol name.
2020-07-15 12:38:05 +02:00
Henrik Rydgård
626d173d10
Split the fault handling from MemMap.cpp to MemFault.cpp.
2020-07-15 12:12:57 +02:00