[GH-ISSUE #2088] Emulator crashes with SIGSEGV when launching Bloodborne #723

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

Originally created by @joinemm on GitHub (Jan 7, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2088

Checklist (we expect you to perform these steps before opening the issue)

  • 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.
  • I have re-dumped the game and performed a clean install without mods and the issue is still present.
  • I have disabled all patches and cheats and the issue is still present.
  • I have all the required system modules installed.

Describe the Bug

Not sure if this is game bug or app bug. When launching bloodborne, the emulator freezes for few seconds before crashing with SIGSEGV (Address boundary error). Game window is never seen. I haven't tried any other games. Using NixOS with xmonad on X11 and amdgpu driver.

Reproduction Steps

  • Install shadps4 from nixpkgs (shadps4 commit 596f4cdf0e66a97c9d2d4272091d8c0167a5b8e1)
  • Install Bloodborne CUSA03173 + 1.09 patch
  • Launch game.

Specify OS Version

NixOS unstable

CPU

AMD Ryzen 7 3700X

GPU

AMD RX 5700 XT

Amount of RAM in GB

32 GB

Amount of VRAM in GB

8 GB

Log File

[Loader] <Info> emulator.cpp:Emulator:57: Starting shadps4 emulator v0.5.1 WIP
[Loader] <Info> emulator.cpp:Emulator:58: Revision GITDIR-NOTFOUND
[Loader] <Info> emulator.cpp:Emulator:59: Branch GIT-NOTFOUND
[Loader] <Info> emulator.cpp:Emulator:60: Description GIT-NOTFOUND
[Config] <Info> emulator.cpp:Emulator:62: General Logtype: sync
[Config] <Info> emulator.cpp:Emulator:63: General isNeo: false
[Config] <Info> emulator.cpp:Emulator:64: GPU isNullGpu: false
[Config] <Info> emulator.cpp:Emulator:65: GPU shouldDumpShaders: false
[Config] <Info> emulator.cpp:Emulator:66: GPU vblankDivider: 1
[Config] <Info> emulator.cpp:Emulator:67: Vulkan gpuId: 0
[Config] <Info> emulator.cpp:Emulator:68: Vulkan vkValidation: false
[Config] <Info> emulator.cpp:Emulator:69: Vulkan vkValidationSync: false
[Config] <Info> emulator.cpp:Emulator:70: Vulkan vkValidationGpu: false
[Config] <Info> emulator.cpp:Emulator:71: Vulkan rdocEnable: false
[Config] <Info> emulator.cpp:Emulator:72: Vulkan rdocMarkersEnable: false
[Config] <Info> emulator.cpp:Emulator:73: Vulkan crashDiagnostics: false
[Kernel.Vmm] <Info> address_space.cpp:Impl:421: System managed virtual memory region: 0x400000 - 0x7ffffbfff
[Kernel.Vmm] <Info> address_space.cpp:Impl:424: System reserved virtual memory region: 0x7ffffc000 - 0xfffffffff
[Kernel.Vmm] <Info> address_space.cpp:Impl:427: User virtual memory region: 0x1000000000 - 0x10fffffffff
[Kernel.Vmm] <Info> memory.cpp:MemoryManager:30: Usable memory address space: 1087_GB
[Common.Filesystem] <Critical> trp.cpp:Extract:53: Trophy decryption key is not specified
[Loader] <Error> emulator.cpp:Run:142: Couldn't extract trophies
[Loader] <Info> emulator.cpp:Run:157: Game id: CUSA03173 Title: Bloodborne™
[Loader] <Info> emulator.cpp:Run:160: Fw: 0x4500000 App Version: 01.09
fish: Job 1, 'shadps4' terminated by signal SIGSEGV (Address boundary error)
Originally created by @joinemm on GitHub (Jan 7, 2025). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2088 ### Checklist (we expect you to perform these steps before opening the issue) - [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. - [X] I have re-dumped the game and performed a clean install without mods and the issue is still present. - [X] I have disabled all patches and cheats and the issue is still present. - [X] I have all the required [system modules](https://github.com/shadps4-emu/shadps4-game-compatibility?tab=readme-ov-file#informations) installed. ### Describe the Bug Not sure if this is game bug or app bug. When launching bloodborne, the emulator freezes for few seconds before crashing with `SIGSEGV (Address boundary error)`. Game window is never seen. I haven't tried any other games. Using NixOS with xmonad on X11 and amdgpu driver. ### Reproduction Steps - Install shadps4 from nixpkgs (shadps4 commit `596f4cdf0e66a97c9d2d4272091d8c0167a5b8e1`) - Install Bloodborne CUSA03173 + 1.09 patch - Launch game. ### Specify OS Version NixOS unstable ### CPU AMD Ryzen 7 3700X ### GPU AMD RX 5700 XT ### Amount of RAM in GB 32 GB ### Amount of VRAM in GB 8 GB ### Log File ``` [Loader] <Info> emulator.cpp:Emulator:57: Starting shadps4 emulator v0.5.1 WIP [Loader] <Info> emulator.cpp:Emulator:58: Revision GITDIR-NOTFOUND [Loader] <Info> emulator.cpp:Emulator:59: Branch GIT-NOTFOUND [Loader] <Info> emulator.cpp:Emulator:60: Description GIT-NOTFOUND [Config] <Info> emulator.cpp:Emulator:62: General Logtype: sync [Config] <Info> emulator.cpp:Emulator:63: General isNeo: false [Config] <Info> emulator.cpp:Emulator:64: GPU isNullGpu: false [Config] <Info> emulator.cpp:Emulator:65: GPU shouldDumpShaders: false [Config] <Info> emulator.cpp:Emulator:66: GPU vblankDivider: 1 [Config] <Info> emulator.cpp:Emulator:67: Vulkan gpuId: 0 [Config] <Info> emulator.cpp:Emulator:68: Vulkan vkValidation: false [Config] <Info> emulator.cpp:Emulator:69: Vulkan vkValidationSync: false [Config] <Info> emulator.cpp:Emulator:70: Vulkan vkValidationGpu: false [Config] <Info> emulator.cpp:Emulator:71: Vulkan rdocEnable: false [Config] <Info> emulator.cpp:Emulator:72: Vulkan rdocMarkersEnable: false [Config] <Info> emulator.cpp:Emulator:73: Vulkan crashDiagnostics: false [Kernel.Vmm] <Info> address_space.cpp:Impl:421: System managed virtual memory region: 0x400000 - 0x7ffffbfff [Kernel.Vmm] <Info> address_space.cpp:Impl:424: System reserved virtual memory region: 0x7ffffc000 - 0xfffffffff [Kernel.Vmm] <Info> address_space.cpp:Impl:427: User virtual memory region: 0x1000000000 - 0x10fffffffff [Kernel.Vmm] <Info> memory.cpp:MemoryManager:30: Usable memory address space: 1087_GB [Common.Filesystem] <Critical> trp.cpp:Extract:53: Trophy decryption key is not specified [Loader] <Error> emulator.cpp:Run:142: Couldn't extract trophies [Loader] <Info> emulator.cpp:Run:157: Game id: CUSA03173 Title: Bloodborne™ [Loader] <Info> emulator.cpp:Run:160: Fw: 0x4500000 App Version: 01.09 fish: Job 1, 'shadps4' terminated by signal SIGSEGV (Address boundary error) ```
kerem closed this issue 2026-02-27 21:07:47 +03:00
Author
Owner

@SleepingSnakezzz commented on GitHub (Jan 7, 2025):

Reproduction Steps

  • Install shadps4 from nixpkgs (shadps4 commit 596f4cdf0e)
  • Install Bloodborne CUSA03173 + 1.09 patch
  • Launch game.
[Loader] <Info> emulator.cpp:Emulator:58: Revision GITDIR-NOTFOUND
[Loader] <Info> emulator.cpp:Emulator:59: Branch GIT-NOTFOUND
[Loader] <Info> emulator.cpp:Emulator:60: Description GIT-NOTFOUND

Your own issue, and log clearly shows that you are not using an official release build, even though you checked the box saying that you are. We do not provide support with unofficial builds here. Please read the issue templates more carefully.

<!-- gh-comment-id:2576365039 --> @SleepingSnakezzz commented on GitHub (Jan 7, 2025): ### Reproduction Steps - Install shadps4 from nixpkgs (shadps4 commit 596f4cdf0e66a97c9d2d4272091d8c0167a5b8e1) - Install Bloodborne CUSA03173 + 1.09 patch - Launch game. ``` [Loader] <Info> emulator.cpp:Emulator:58: Revision GITDIR-NOTFOUND [Loader] <Info> emulator.cpp:Emulator:59: Branch GIT-NOTFOUND [Loader] <Info> emulator.cpp:Emulator:60: Description GIT-NOTFOUND ``` Your own issue, and log clearly shows that you are not using an official release build, even though you checked the box saying that you are. We do not provide support with unofficial builds here. Please read the issue templates more carefully.
Author
Owner

@roamic commented on GitHub (Jan 8, 2025):

Ask nixpkg contributors that added shadPS4 there for support. We have no affiliation to this build.

<!-- gh-comment-id:2576839723 --> @roamic commented on GitHub (Jan 8, 2025): Ask nixpkg contributors that added shadPS4 there for support. We have no affiliation to this build.
Author
Owner

@Sporesirius commented on GitHub (Jan 25, 2025):

Hello,
I have the same problem.
It seems that the issue comes from a Trophy key that is not set?

[Common.Filesystem] <Critical> trp.cpp:Extract:53: Trophy decryption key is not specified
[Loader] <Error> emulator.cpp:Run:142: Couldn't extract trophies

Is there some special key from the PS4 needed?

<!-- gh-comment-id:2614114859 --> @Sporesirius commented on GitHub (Jan 25, 2025): Hello, I have the same problem. It seems that the issue comes from a Trophy key that is not set? ``` [Common.Filesystem] <Critical> trp.cpp:Extract:53: Trophy decryption key is not specified [Loader] <Error> emulator.cpp:Run:142: Couldn't extract trophies ``` Is there some special key from the PS4 needed?
Author
Owner

@StevenMiller123 commented on GitHub (Jan 25, 2025):

@Sporesirius The trophy key shouldn't have anything to do with this, all crashes caused by missing trophy key errors should be fixed by now. Make sure you're on an updated, official build of shadPS4.

<!-- gh-comment-id:2614115290 --> @StevenMiller123 commented on GitHub (Jan 25, 2025): @Sporesirius The trophy key shouldn't have anything to do with this, all crashes caused by missing trophy key errors should be fixed by now. Make sure you're on an updated, official build of shadPS4.
Author
Owner

@Newhope13 commented on GitHub (Feb 3, 2025):

Hello
The Last Guardian doesn't work! Error when starting the game! I can't figure out what's the reason

[Lib.Ngs2] ngs2.cpp:sceNgs2SystemRender:229: (STUBBED) called

<!-- gh-comment-id:2631156675 --> @Newhope13 commented on GitHub (Feb 3, 2025): Hello The Last Guardian doesn't work! Error when starting the game! I can't figure out what's the reason [Lib.Ngs2] <Error> ngs2.cpp:sceNgs2SystemRender:229: (STUBBED) called
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#723
No description provided.