Loader: append crash reports as single records (port of upstream #2033) #1328
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1328
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1328"
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?
@CwWwWwW on GitHub · 2026-11-26 15:34 UTC · original
CwWwWwW:port/crash-single-record→main· +58 −4 · 1 files · 1 commits · closed without mergingProblem
The crash log is the only record of a crash after the console is gone. append_to_log formatted the record straight into the file with write!(), which may append its fragments separately; with more than one thread crashing at once, one report's header/body can be split by another's pieces and the log can no longer be read back.
Upstream VIctory fixed this in commit a7560bf (pull request #2033, by BaggyALPHA); this is that fix ported to the fork.
Change
Tests
(CI note: the check job on main is currently red on the asset-policy violation; #1322 fixes that, after which this can be rebased.)
Pull request closed