[GH-ISSUE #2628] [APP BUG]: Getting error "Unreachable code". cannot start any games. #856

Closed
opened 2026-02-27 21:08:32 +03:00 by kerem · 3 comments
Owner

Originally created by @auwtin on GitHub (Mar 8, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2628

Checklist

  • I have searched for a similar issue in this repository and did not find one.
  • I am using an official build obtained from releases or updated one of those builds using its in-app updater.

Describe the Bug

So everytime i go to strat a game the log gives a lot of errors and then the application crashes with the last "critical" error stating "unreachable code!"
Did i mess something up while installing the pkg?

i have attached my log. Please help.

[Core] stubs.cpp:CommonStub:42: Stub: scePthreadGetaffinity (nid: rcrVFJsQWRY) called, returning zero to 0x900e97ebc
[Core] stubs.cpp:CommonStub:42: Stub: scePthreadSetaffinity (nid: bt3CTBKmGyI) called, returning zero to 0x900e97ecc
[Lib.SysModule] sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_XML
[Lib.SysModule] sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_ERROR_DIALOG
[Lib.SysModule] sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_NP_TOOLKIT
[Core] stubs.cpp:CommonStub:42: Stub: snprintf (nid: eLdDw6l0-bU) called, returning zero to 0x92fffd8ac
[Kernel.Vmm] memory.cpp:operator():212: in_addr = 0x0, out_addr = 0x143350000, len = 0x19c8000, prot = 0x3, flags = 0x0
[Core] stubs.cpp:CommonStub:42: Stub: sceLibcMspaceCreate (nid: -hn1tcVHq5Q) called, returning zero to 0x92fffd8ea
[Debug] exception.cpp:sceKernelDebugRaiseExceptionOnReleaseMode:157: Unreachable code!

shad_log.txt

Reproduction Steps

So i installed the 2 .pkg files and then installed the patch for Ratchet and clank and Red Dead Redemption 2.
When i went to run the game i got the same error:

[Core] stubs.cpp:CommonStub:42: Stub: scePthreadGetaffinity (nid: rcrVFJsQWRY) called, returning zero to 0x900e97ebc
[Core] stubs.cpp:CommonStub:42: Stub: scePthreadSetaffinity (nid: bt3CTBKmGyI) called, returning zero to 0x900e97ecc
[Lib.SysModule] sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_XML
[Lib.SysModule] sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_ERROR_DIALOG
[Lib.SysModule] sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_NP_TOOLKIT
[Core] stubs.cpp:CommonStub:42: Stub: snprintf (nid: eLdDw6l0-bU) called, returning zero to 0x92fffd8ac
[Kernel.Vmm] memory.cpp:operator():212: in_addr = 0x0, out_addr = 0x143350000, len = 0x19c8000, prot = 0x3, flags = 0x0
[Core] stubs.cpp:CommonStub:42: Stub: sceLibcMspaceCreate (nid: -hn1tcVHq5Q) called, returning zero to 0x92fffd8ea
[Debug] exception.cpp:sceKernelDebugRaiseExceptionOnReleaseMode:157: Unreachable code!
"

Expected Behavior

No response

Specify OS Version

Windows 11 x64

Originally created by @auwtin on GitHub (Mar 8, 2025). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2628 ### Checklist - [x] I have searched for a similar issue in this repository and did not find one. - [x] I am using an official build obtained from [releases](https://github.com/shadps4-emu/shadPS4/releases) or updated one of those builds using its in-app updater. ### Describe the Bug So everytime i go to strat a game the log gives a lot of errors and then the application crashes with the last "critical" error stating "unreachable code!" Did i mess something up while installing the pkg? i have attached my log. Please help. [Core] <Error> stubs.cpp:CommonStub:42: Stub: scePthreadGetaffinity (nid: rcrVFJsQWRY) called, returning zero to 0x900e97ebc [Core] <Error> stubs.cpp:CommonStub:42: Stub: scePthreadSetaffinity (nid: bt3CTBKmGyI) called, returning zero to 0x900e97ecc [Lib.SysModule] <Error> sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_XML [Lib.SysModule] <Error> sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_ERROR_DIALOG [Lib.SysModule] <Error> sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_NP_TOOLKIT [Core] <Error> stubs.cpp:CommonStub:42: Stub: snprintf (nid: eLdDw6l0-bU) called, returning zero to 0x92fffd8ac [Kernel.Vmm] <Info> memory.cpp:operator():212: in_addr = 0x0, out_addr = 0x143350000, len = 0x19c8000, prot = 0x3, flags = 0x0 [Core] <Error> stubs.cpp:CommonStub:42: Stub: sceLibcMspaceCreate (nid: -hn1tcVHq5Q) called, returning zero to 0x92fffd8ea [Debug] <Critical> exception.cpp:sceKernelDebugRaiseExceptionOnReleaseMode:157: Unreachable code! [shad_log.txt](https://github.com/user-attachments/files/19145084/shad_log.txt) ### Reproduction Steps So i installed the 2 .pkg files and then installed the patch for Ratchet and clank and Red Dead Redemption 2. When i went to run the game i got the same error: [Core] <Error> stubs.cpp:CommonStub:42: Stub: scePthreadGetaffinity (nid: rcrVFJsQWRY) called, returning zero to 0x900e97ebc [Core] <Error> stubs.cpp:CommonStub:42: Stub: scePthreadSetaffinity (nid: bt3CTBKmGyI) called, returning zero to 0x900e97ecc [Lib.SysModule] <Error> sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_XML [Lib.SysModule] <Error> sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_ERROR_DIALOG [Lib.SysModule] <Error> sysmodule.cpp:sceSysmoduleLoadModule:56: (DUMMY) called module = ORBIS_SYSMODULE_NP_TOOLKIT [Core] <Error> stubs.cpp:CommonStub:42: Stub: snprintf (nid: eLdDw6l0-bU) called, returning zero to 0x92fffd8ac [Kernel.Vmm] <Info> memory.cpp:operator():212: in_addr = 0x0, out_addr = 0x143350000, len = 0x19c8000, prot = 0x3, flags = 0x0 [Core] <Error> stubs.cpp:CommonStub:42: Stub: sceLibcMspaceCreate (nid: -hn1tcVHq5Q) called, returning zero to 0x92fffd8ea [Debug] <Critical> exception.cpp:sceKernelDebugRaiseExceptionOnReleaseMode:157: Unreachable code! " ### Expected Behavior _No response_ ### Specify OS Version Windows 11 x64
kerem closed this issue 2026-02-27 21:08:33 +03:00
Author
Owner

@polybiusproxy commented on GitHub (Mar 8, 2025):

You haven't dumped your modules, and the games you mentioned do not work.

<!-- gh-comment-id:2708420714 --> @polybiusproxy commented on GitHub (Mar 8, 2025): You haven't dumped your modules, and the games you mentioned do not work.
Author
Owner

@auwtin commented on GitHub (Mar 8, 2025):

How do i dump my modules? is there a game compatibility list?

<!-- gh-comment-id:2708422987 --> @auwtin commented on GitHub (Mar 8, 2025): How do i dump my modules? is there a game compatibility list?
Author
Owner

@polybiusproxy commented on GitHub (Mar 8, 2025):

Extract the /system/common/lib folder on your PS4 via the GoldHEN FTP server, and place the folder's contents in the user/sys_modules folder.
Our compatibility list is the following: https://github.com/shadps4-emu/shadps4-game-compatibility

<!-- gh-comment-id:2708424459 --> @polybiusproxy commented on GitHub (Mar 8, 2025): Extract the `/system/common/lib` folder on your PS4 via the GoldHEN FTP server, and place the folder's contents in the `user/sys_modules` folder. Our compatibility list is the following: https://github.com/shadps4-emu/shadps4-game-compatibility
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#856
No description provided.