[GH-ISSUE #735] [macOS] Regression: Rosetta Error #189

Closed
opened 2026-02-27 21:05:02 +03:00 by kerem · 12 comments
Owner

Originally created by @shinra-electric on GitHub (Sep 2, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/735

This is related to Issue #667. When that issue was fixed by PR #685 it exposed this issue.

I opened this because I don't want to necropost on a closed issue.

The following games will crash with a rosetta error. It seems to have been introduced with PR #638.

Dead Cells - CUSA11253 (When entering the first level)

rosetta error: unexpectedly need to EmulateForward on a synchronous exception x86_rip=0x38670545502 arm_pc=0x481054039580 num_insts=3 inst_index=2 x86 instruction bytes: 0x5083236904201223365 0x11330223254244112

Dark Souls - CUSA08495 (When starting a new game)

rosetta error: unexpectedly need to EmulateForward on a synchronous exception x86_rip=0x38666814885 arm_pc=0x481062790024 num_insts=3 inst_index=2 x86 instruction bytes: 0x1296127535214623941 0x5192690247171377216
Originally created by @shinra-electric on GitHub (Sep 2, 2024). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/735 This is related to Issue #667. When that issue was fixed by PR #685 it exposed this issue. I opened this because I don't want to necropost on a closed issue. The following games will crash with a rosetta error. ~~It seems to have been introduced with PR #638.~~ Dead Cells - CUSA11253 (When entering the first level) ``` rosetta error: unexpectedly need to EmulateForward on a synchronous exception x86_rip=0x38670545502 arm_pc=0x481054039580 num_insts=3 inst_index=2 x86 instruction bytes: 0x5083236904201223365 0x11330223254244112 ``` Dark Souls - CUSA08495 (When starting a new game) ``` rosetta error: unexpectedly need to EmulateForward on a synchronous exception x86_rip=0x38666814885 arm_pc=0x481062790024 num_insts=3 inst_index=2 x86 instruction bytes: 0x1296127535214623941 0x5192690247171377216 ```
kerem closed this issue 2026-02-27 21:05:03 +03:00
Author
Owner

@rcaridade145 commented on GitHub (Sep 2, 2024):

https://github.com/golang/go/issues/42700 Golang seems to have it that issue also.

<!-- gh-comment-id:2324900841 --> @rcaridade145 commented on GitHub (Sep 2, 2024): https://github.com/golang/go/issues/42700 Golang seems to have it that issue also.
Author
Owner

@squidbus commented on GitHub (Sep 2, 2024):

This is not a regression from https://github.com/shadps4-emu/shadPS4/pull/638, I tried a build from the commit before and it has the same issue.

<!-- gh-comment-id:2325191649 --> @squidbus commented on GitHub (Sep 2, 2024): This is not a regression from https://github.com/shadps4-emu/shadPS4/pull/638, I tried a build from the commit before and it has the same issue.
Author
Owner

@squidbus commented on GitHub (Sep 2, 2024):

As far as I can tell this starts with github.com/shadps4-emu/shadPS4@cf706f8cc7

<!-- gh-comment-id:2325200689 --> @squidbus commented on GitHub (Sep 2, 2024): As far as I can tell this starts with https://github.com/shadps4-emu/shadPS4/commit/cf706f8cc7fb2e1606182b676ac50510211ec88b
Author
Owner

@squidbus commented on GitHub (Sep 2, 2024):

Specifically, blocking texel buffers from stream buffer is causing this, possibly something to do with the exception handler logic for buffer tracking.

<!-- gh-comment-id:2325217655 --> @squidbus commented on GitHub (Sep 2, 2024): Specifically, blocking texel buffers from stream buffer is causing this, possibly something to do with the exception handler logic for buffer tracking.
Author
Owner

@squidbus commented on GitHub (Sep 5, 2024):

I think this has stopped happening with some of the recent changes, could you check?

<!-- gh-comment-id:2332367497 --> @squidbus commented on GitHub (Sep 5, 2024): I think this has stopped happening with some of the recent changes, could you check?
Author
Owner

@shinra-electric commented on GitHub (Sep 5, 2024):

It has stopped happening with Dead Cells, but it still happens with Dark Souls.

It used to happen with the EU version of RDR (but not the US version, I'm told). But I'll have to reinstall that to check.

Edit: I tried out the EU version of RDR [CUSA36843] and it doesn't have the rosetta error anymore.

<!-- gh-comment-id:2332496891 --> @shinra-electric commented on GitHub (Sep 5, 2024): It has stopped happening with Dead Cells, but it still happens with Dark Souls. It used to happen with the EU version of RDR (but not the US version, I'm told). But I'll have to reinstall that to check. Edit: I tried out the EU version of RDR [CUSA36843] and it doesn't have the rosetta error anymore.
Author
Owner

@squidbus commented on GitHub (Sep 23, 2024):

This seems to be a bug in Rosetta 2 where store instructions that cross a page boundary don't fire page fault signals properly, causing problems with the buffer/texture caches. I have filed a feedback to Apple to try and get it fixed.

<!-- gh-comment-id:2367245060 --> @squidbus commented on GitHub (Sep 23, 2024): This seems to be a bug in Rosetta 2 where store instructions that cross a page boundary don't fire page fault signals properly, causing problems with the buffer/texture caches. I have filed a feedback to Apple to try and get it fixed.
Author
Owner

@Hermiten commented on GitHub (Oct 14, 2024):

Do you have any feedback about that ?
Is it fixed here ?

<!-- gh-comment-id:2411352089 --> @Hermiten commented on GitHub (Oct 14, 2024): Do you have any feedback about that ? Is it fixed here ?
Author
Owner

@squidbus commented on GitHub (Oct 14, 2024):

No, it is not fixed yet.

<!-- gh-comment-id:2411439970 --> @squidbus commented on GitHub (Oct 14, 2024): No, it is not fixed yet.
Author
Owner

@Hermiten commented on GitHub (Dec 23, 2024):

2 months since the last message, is it still revelant ?

<!-- gh-comment-id:2560079440 --> @Hermiten commented on GitHub (Dec 23, 2024): 2 months since the last message, is it still revelant ?
Author
Owner

@polybiusproxy commented on GitHub (Dec 23, 2024):

I suppose so.

<!-- gh-comment-id:2560106123 --> @polybiusproxy commented on GitHub (Dec 23, 2024): I suppose so.
Author
Owner

@shinra-electric commented on GitHub (Dec 23, 2024):

Fixed for now, but these Rosetta errors tend to resurface.
Closing....

<!-- gh-comment-id:2560138707 --> @shinra-electric commented on GitHub (Dec 23, 2024): Fixed for now, but these Rosetta errors tend to resurface. Closing....
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#189
No description provided.