mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[GH-ISSUE #1792] Bloodborne freezes often when moving around, requiring constant debugger pause/resume #613
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#613
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 @C0rn3j on GitHub (Dec 14, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1792
Issue originally posted in this PR - https://github.com/shadps4-emu/shadPS4/pull/1777
The game keeps freezing (not crashing), and the only way to get it unstuck is to have it launched in a debugger and constantly pause and unpause whenever it happens.
When userfaultfd is enabled, it happens immediately upon entering the character creator.
When it is disabled, it triggers later during loading screens or more often when running around in the game - usually within a minute or less of gameplay.
Full all-thread backtraces from when the game is frozen are available in here - https://github.com/shadps4-emu/shadPS4/pull/1777#issuecomment-2543111947 and here https://github.com/shadps4-emu/shadPS4/pull/1777#issuecomment-2543132430
Log from a build around some Dec 8: shad_log.txt - it happens on a build from today too, though.
@Missake212 commented on GitHub (Dec 22, 2024):
Hey, I was wondering if your PR #1777 also "solves" this issue ?
@C0rn3j commented on GitHub (Dec 22, 2024):
Nope, it just makes it happen half a minute later.
@C0rn3j commented on GitHub (Dec 22, 2024):
Having said that, I tested with latest commits and I couldn't reproduce in 2 minutes, and it was very very consistent before, so maybe it is gone now with the userfd patch + recent patches combined, will try later.
@C0rn3j commented on GitHub (Dec 23, 2024):
I cannot repro on
github.com/shadps4-emu/shadPS4@43fd8fa44a, I can with-DENABLE_USERFAULTFD=ONI can repro from an older build I have hanging around
github.com/shadps4-emu/shadPS4@e752f04cdeand I have two versions, I believe one with userfd patch and one without, and both are capable of failing even on the loading screen from loading a savefile.So it looks like the userfaultfd is causing freezes, and some other issue which was fixed in the last couple days (I tested somewhat often, so it was probably fixed in the last 24h) was too.
TL;DR there were two issues. Latest master + disabled userfd works, enabled userfd has freezes.