mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2553] [Issue]: corrupt jsons can prevent start #1265
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1265
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @mirh on GitHub (Jun 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2553
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Basically I got a BSOD and
manifest.json,manifest.json.bak,app_settings.json,chats.jsonandchats.json.bakgot corrupted.It's nice that you have a recovery feature, but apparently it's not strong enough.
Expected behavior
At least after re-launching the program it starts.
Actual behavior
I had to manually delete
packages\server\data\storage\to fix the problem.Steps to reproduce
PAGE_FAULT_IN_NONPAGED_AREAerrorEnvironment
Logs, screenshots, or video
Additional context
The files were all 1KB or 2KB long strings of 00 (NULL).
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jun 14, 2026):
Codex is taking this in branch . I’ll harden corrupt JSON recovery so startup can continue even when primary and backup files are both damaged.
@SpicyMarinara commented on GitHub (Jun 14, 2026):
Fix is in draft PR #2558: https://github.com/Pasta-Devs/Marinara-Engine/pull/2558
The patch keeps startup alive when both a JSON file and its .bak are corrupt/NUL-filled, logs that fallback data is being used, and marks the files for self-heal on the next flush without copying the corrupt primary over the backup.