diag: report nearest guest mapping on unhandled host faults #1740
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1740
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1740/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@theantipopau on GitHub · 2026-10-20 00:40 UTC · original
theantipopau:diag/fault-nearest-mapping→main· +63 −0 · 6 files · 1 commits · closed without mergingFollow-up to the Saros #1626 triage: the new log's store-loop overrun took hand-decoding to diagnose because the fault report prints only the fault address. This prints the nearest known guest mapping (or "(none known)") for access violations that HandleGpuFault declines, so the next report answers overrun-vs-short-mapping directly. No behavior change on the fault path itself.
@coderabbitai[bot] on GitHub · 2026-10-20 00:45 UTC · original · edited 2026-10-20 01:36 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
8a3be8ab-53fa-4e04-b74f-b2433baeea9d📥 Commits
Reviewing files that changed from the base of the PR and between
742fe17173and 7c6b4e91584abb427afb891e1fc4249dee81b613.📒 Files selected for processing: 6
src/graphics/host_gpu/rangeSet.hsrc/graphics/host_gpu/renderer/renderContext.cppsrc/graphics/host_gpu/renderer/renderContext.hsrc/kernel/memory.cppsrc/kernel/memory.hsrc/loader/runtimeLinker.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
📝 Walkthrough
The change adds nearest-range lookup to
RangeSetand exposes it throughRenderContextand the kernel memory API. On access violations,KytyExceptionHandlerreports the nearest known guest GPU mapping range or indicates that no mapping is known.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Feature
Merge Risk: ⚪ Minimal · up to
7c6b4The diagnostic change has no identified issue requiring correction before merge.
Pre-merge checks:
4 ·
1
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.Pull request closed