SonsOfSparta PPSA28997 - unhandled exception 0xc000001d #3719

Closed
opened 2026-10-11 15:57:05 +00:00 by magnusfoxy-beep · 3 comments
magnusfoxy-beep commented 2026-10-11 15:57:05 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by magnusfoxy-beep on 2026-10-11T15:57:05Z.


Hello! I would like to report a crash when trying to run Sons of Sparta (PPSA28997) using AnyPS5.

The game processes shaders up to the end, but crashes instantly upon starting with a fatal instruction error.

Details:

  • Game: Sons of Sparta (PPSA28997)
  • Error: unhandled exception 0xc000001d
  • Location: libc.prx.guest.prx

I am attaching the generated log files (game.err, game.log, launcher.log, and windows-diagnostics-imports.txt) to help with the analysis. Thank you very much for your hard work on the project!

game.log
link.log
prepare.log
windows-diagnostics-imports.txt
launcher.log

game.err.txt

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5802680795 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3719). Originally posted by [magnusfoxy-beep](https://github.com/magnusfoxy-beep) on 2026-10-11T15:57:05Z. --- Hello! I would like to report a crash when trying to run Sons of Sparta (PPSA28997) using AnyPS5. The game processes shaders up to the end, but crashes instantly upon starting with a fatal instruction error. **Details:** - Game: Sons of Sparta (PPSA28997) - Error: unhandled exception 0xc000001d - Location: libc.prx.guest.prx I am attaching the generated log files (`game.err`, `game.log`, `launcher.log`, and `windows-diagnostics-imports.txt`) to help with the analysis. Thank you very much for your hard work on the project! [game.log](https://github.com/user-attachments/files/33306605/game.log) [link.log](https://github.com/user-attachments/files/33306606/link.log) [prepare.log](https://github.com/user-attachments/files/33306609/prepare.log) [windows-diagnostics-imports.txt](https://github.com/user-attachments/files/33306607/windows-diagnostics-imports.txt) [launcher.log](https://github.com/user-attachments/files/33306608/launcher.log) [game.err.txt](https://github.com/user-attachments/files/33306615/game.err.txt)
MarcZX10 commented 2026-10-11 16:12:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T16:12:26Z.


I decoded the bytes recorded at libc.prx.guest.prx+0x21cf3:

c4 62 e9 f7 c0  ->  VEX.66.0F38.F7 /r (SHLX, 64-bit)

That is a BMI2 variable left shift, so the exception is consistent with a host CPU that does not support BMI2. The issue log does not include the host CPU model or feature flags, and those determine whether this is an unsupported-host-ISA case or a different relinking/execution problem.

Could you share the Windows CPU model (or confirm whether CPUID reports BMI2) and whether the same prepared build fails on another BMI2-capable host? That will tell us whether a BMI2 lowering is needed here.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111002076 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3719#issuecomment-6111002076). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-11T16:12:26Z. --- I decoded the bytes recorded at `libc.prx.guest.prx+0x21cf3`: ```text c4 62 e9 f7 c0 -> VEX.66.0F38.F7 /r (SHLX, 64-bit) ``` That is a BMI2 variable left shift, so the exception is consistent with a host CPU that does not support BMI2. The issue log does not include the host CPU model or feature flags, and those determine whether this is an unsupported-host-ISA case or a different relinking/execution problem. Could you share the Windows CPU model (or confirm whether CPUID reports BMI2) and whether the same prepared build fails on another BMI2-capable host? That will tell us whether a BMI2 lowering is needed here.
oneandonlydean commented 2026-10-14 07:31:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T07:31:09Z.


#5705 makes this stop at start-up with the host CPU's name and the missing extensions instead of crashing inside the game. Which CPU are you running it on?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6163262600 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3719#issuecomment-6163262600). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-14T07:31:09Z. --- #5705 makes this stop at start-up with the host CPU's name and the missing extensions instead of crashing inside the game. Which CPU are you running it on?
oneandonlydean commented 2026-10-16 23:53:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-16T23:53:48Z.


This is the host CPU lacking an instruction extension the PS5's Zen 2 has (0xc000001d is an illegal instruction). Since #5705 (1209d3707) the run stops at start-up and names the CPU and the missing extensions instead of crashing inside the title. Closing this one; if your CPU has all the extensions the start-up message lists and you still see it, reopen with the message.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6226916643 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3719#issuecomment-6226916643). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-16T23:53:48Z. --- This is the host CPU lacking an instruction extension the PS5's Zen 2 has (0xc000001d is an illegal instruction). Since #5705 (1209d3707) the run stops at start-up and names the CPU and the missing extensions instead of crashing inside the title. Closing this one; if your CPU has all the extensions the start-up message lists and you still see it, reopen with the message.
Sign in to join this conversation.
No labels
No milestone
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.

Reference
boykopovar/AnyPS5#3719
No description provided.