mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[GH-ISSUE #337] Crash (SIGFPE) in MemoryManager::SearchFree() #50
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#50
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 @tkoecker on GitHub (Jul 29, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/337
I've encountered a crash in
MemoryManager::SearchFree()where the function was called with the default value ofalignment(which is0). The crash happens inside thewhere the
value % sizewithsizeof0triggers aSIGFPE.I guess this can be fixed by calling
Common::AlignUpthe same way as in the other calls in this class:(or maybe by defaulting alignment to
1instead - not sure what the semantic of aligning to0bytes should be)@georgemoralis commented on GitHub (Jul 29, 2024):
can you test https://github.com/shadps4-emu/shadPS4/pull/338 . Should fix the issue
@tkoecker commented on GitHub (Jul 29, 2024):
Thx. Yes this fixes the issue. The execution progresses further now.
@georgemoralis commented on GitHub (Jul 29, 2024):
ok fine :)