[GH-ISSUE #1578] shad_log does not get fully written when emulator crashes #535

Closed
opened 2026-02-27 21:06:46 +03:00 by kerem · 5 comments
Owner

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
shad_log_async

Sync logging

shad_log_sync.txt
shad_log_sync

End of the text file in both cases:
image

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](https://github.com/user-attachments/files/17875745/shad_log_async.txt) ![shad_log_async](https://github.com/user-attachments/assets/17826161-f4e4-417e-8314-738e291e9ae6) ### Sync logging [shad_log_sync.txt](https://github.com/user-attachments/files/17875768/shad_log_sync.txt) ![shad_log_sync](https://github.com/user-attachments/assets/8cb487f9-3634-47d3-b7ca-575c9be910e0) End of the text file in both cases: ![image](https://github.com/user-attachments/assets/f93861f9-3281-4757-8cc0-a5d7f6733538)
kerem closed this issue 2026-02-27 21:06:47 +03:00
Author
Owner

@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?

<!-- gh-comment-id:2543036874 --> @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?
Author
Owner

@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:
image
And latest log:
shad_log.txt

<!-- gh-comment-id:2543120181 --> @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: ![image](https://github.com/user-attachments/assets/f0c4296f-de85-4b54-b112-5c083b326fac) And latest log: [shad_log.txt](https://github.com/user-attachments/files/18136143/shad_log.txt)
Author
Owner

@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

<!-- gh-comment-id:2564401848 --> @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
Author
Owner

@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.
CatherineLogError1
CatherineHang
shad_log.txt

<!-- gh-comment-id:2566096744 --> @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. ![CatherineLogError1](https://github.com/user-attachments/assets/ce045280-0abc-4e07-b800-6860a1a3ad71) ![CatherineHang](https://github.com/user-attachments/assets/c0fcac00-f688-44d0-932f-5fb25c135429) [shad_log.txt](https://github.com/user-attachments/files/18279014/shad_log.txt)
Author
Owner

@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.

<!-- gh-comment-id:2566098381 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#535
No description provided.