mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[GH-ISSUE #1578] shad_log does not get fully written when emulator crashes #535
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#535
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 @jarrett-g on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1578
Issue
While attempting to boot a game that crashes on launch (Catherine Full Body in this example), shad_log.txt does not get fully written out from the console. This happens with both sync and async logging.
Async logging
shad_log_async.txt

Sync logging
shad_log_sync.txt

End of the text file in both cases:

@Hermiten commented on GitHub (Dec 14, 2024):
Many things have changed since then. It seems that this problem doesn't happen often, this is the 1st time I've seen it.
Is it still happening? Do you leave a certain amount of time to close everything down?
@jarrett-g commented on GitHub (Dec 14, 2024):
I just checked C:FB again. Same issue is still happening, the log does not get fully written out. The emulator hangs at the same point, I believe attempting to load/access/create save data. It does not fully crash then close, and I have to manually close the emulator when this happens. I attempted this a few times just now, and let it sit for a few seconds each time.

Latest attempt screenshot:
And latest log:
shad_log.txt
@Hermiten commented on GitHub (Dec 28, 2024):
Can you do a fresh install, be sure to uncheck PS4 pro mode and async too
You are the only one to report this problem
Thanks you
@jarrett-g commented on GitHub (Dec 31, 2024):
Downloaded release 0.5.0 into new testing folder.
Installed pkg again into separate game install folder for testing.
Installed 11.00 system firmware into user/sys_modules folder.
Not PS4 Pro, logging async.
Same save/load error occurs within the log, emulator continues to hang without crashing or advancing. Still gets to the same initial loading screen. shad_log still not fully written.
I would love to start to learn how to debug this error myself and help more than this, if someone is willing to teach.


shad_log.txt
@StevenMiller123 commented on GitHub (Dec 31, 2024):
The issue with Catherine Full Body is a known regression from the savedata rewrite preformed a couple releases back. The "incomplete" log is expected behavior for async logging. If you swap your logging type to sync, the log will be more complete.