Error UFC 6 (PS5) #6336

Closed
opened 2026-10-15 12:13:54 +00:00 by YOHASAKURASAN · 3 comments
YOHASAKURASAN commented 2026-10-15 12:13:54 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by YOHASAKURASAN on 2026-10-15T12:13:54Z.


AMD Ryzen 5 5600G, NVIDIA RTX 5060 8 GB, Windows 11, DDR4 16 GB
Paging file 32 GB
GCC 15.2
The game starts for 5 seconds with a black screen, but crashes with error 0xc0000005 (access violation) in libkernel.prx.

run.log

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5865888306 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/6336). Originally posted by [YOHASAKURASAN](https://github.com/YOHASAKURASAN) on 2026-10-15T12:13:54Z. --- AMD Ryzen 5 5600G, NVIDIA RTX 5060 8 GB, Windows 11, DDR4 16 GB Paging file 32 GB GCC 15.2 The game starts for 5 seconds with a black screen, but crashes with error 0xc0000005 (access violation) in libkernel.prx. [run.log](https://github.com/user-attachments/files/33491622/run.log)
MarcZX10 commented 2026-10-15 12:36:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T12:36:24Z.


I decoded the attached UTF-16 log. The fault is an indirect call to address zero at eboot.exe+0x3b43d89 on Job0; rdi contains 0xffffffff80020002, which matches SCE_KERNEL_ERROR_ENOENT in the current libkernel headers. That suggests a failed lookup/load may be involved, but the register alone does not identify which API or resource failed. Could you share the UFC 6 title ID/content version, the exact relinker command and first startup log lines before this crash? A current tools/import_audit.py report (or unresolved import output) would help determine whether this is an import binding issue or a later title-side null call.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6192192071 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/6336#issuecomment-6192192071). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-15T12:36:24Z. --- I decoded the attached UTF-16 log. The fault is an indirect call to address zero at `eboot.exe+0x3b43d89` on `Job0`; `rdi` contains `0xffffffff80020002`, which matches `SCE_KERNEL_ERROR_ENOENT` in the current libkernel headers. That suggests a failed lookup/load may be involved, but the register alone does not identify which API or resource failed. Could you share the UFC 6 title ID/content version, the exact relinker command and first startup log lines before this crash? A current `tools/import_audit.py` report (or unresolved import output) would help determine whether this is an import binding issue or a later title-side null call.
karthiktheaking-blip commented 2026-10-17 00:01:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by karthiktheaking-blip on 2026-10-17T00:01:06Z.


Additional local reproduction for PPSA23566, content version 01.004.000, Windows, RTX 5080 (driver 617.42).

I reproduced the same signature when converting only the executable and the two modules in sce_module: Job0 executes address zero, the first frame-pointer-chain entry is ufc6.exe+0x3b43d89, and rdi is ffffffff80020002. This is a matching signature, not proof of the same root cause.

The dump also has Engine.Render.Core2.PlatformPs5.prx beside eboot.bin. Including that root-level module moved this run past the null call into shader registration and texture upload. The staged inputs were plain ELF files (the original inputs were decrypted SELF containers, unwrapped with tools/unwrap_self.py).

Commands, using a separate source directory containing eboot.elf, the root rendering module and sce_module/{libc.prx,libSceNpCppWebApi.prx}:

relinker --windows --to-intel --windows-diagnostics --registry source/eboot.elf out/ufc6.exe
relinker --windows --to-intel --windows-diagnostics --module-dir . source/eboot.elf out/ufc6-full.exe

The second output's generated guest modules were kept at their generated relative paths under app0, without staging a second copy in prx/. Its startup log confirms that app0/Engine.Render.Core2.PlatformPs5.prx.guest.prx loads successfully. This appears consistent with the layout investigations in #3123, although the setup here was an omitted root module rather than a duplicate-module copy.

Later output included:

shader library prebuild skipped: DescriptorBindingBuilder::Populate multisampled image resources have no descriptor image shape
StorageTexture upload submit
StorageTexture upload done
Failure in SubmissionManagerPs5::waitForFrame with error code 0x8002003C.

A static import audit using tools/import_audit.py from upstream 85643f75e7, the installed system libraries, the first conversion's registries and all three ELF guest modules found 9,166 references, 1,566 unique imports and 0 absent imports. The 37 imports classified as throwing stubs are classifications against that source revision, not evidence they were called. Static export availability does not establish runtime correctness.

Limits: the runtime used existing installed binaries whose source revision is unknown, not a fresh build of the audit revision. No confirmed menu or gameplay, controlled performance result, or shader correctness claim. This is a layout/reproduction data point; it does not establish that the prebuild warning causes the frame timeout.

AI-assisted: yes (Codex); observations are from local runs. No game binaries or shaders attached.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6227004797 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/6336#issuecomment-6227004797). Originally posted by [karthiktheaking-blip](https://github.com/karthiktheaking-blip) on 2026-10-17T00:01:06Z. --- Additional local reproduction for PPSA23566, content version 01.004.000, Windows, RTX 5080 (driver 617.42). I reproduced the same signature when converting only the executable and the two modules in sce_module: Job0 executes address zero, the first frame-pointer-chain entry is ufc6.exe+0x3b43d89, and rdi is ffffffff80020002. This is a matching signature, not proof of the same root cause. The dump also has Engine.Render.Core2.PlatformPs5.prx beside eboot.bin. Including that root-level module moved this run past the null call into shader registration and texture upload. The staged inputs were plain ELF files (the original inputs were decrypted SELF containers, unwrapped with tools/unwrap_self.py). Commands, using a separate source directory containing eboot.elf, the root rendering module and sce_module/{libc.prx,libSceNpCppWebApi.prx}: ```text relinker --windows --to-intel --windows-diagnostics --registry source/eboot.elf out/ufc6.exe relinker --windows --to-intel --windows-diagnostics --module-dir . source/eboot.elf out/ufc6-full.exe ``` The second output's generated guest modules were kept at their generated relative paths under app0, without staging a second copy in prx/. Its startup log confirms that app0/Engine.Render.Core2.PlatformPs5.prx.guest.prx loads successfully. This appears consistent with the layout investigations in #3123, although the setup here was an omitted root module rather than a duplicate-module copy. Later output included: ```text shader library prebuild skipped: DescriptorBindingBuilder::Populate multisampled image resources have no descriptor image shape StorageTexture upload submit StorageTexture upload done Failure in SubmissionManagerPs5::waitForFrame with error code 0x8002003C. ``` A static import audit using tools/import_audit.py from upstream 85643f75e723719ef21682de5942e1a524f36c33, the installed system libraries, the first conversion's registries and all three ELF guest modules found 9,166 references, 1,566 unique imports and 0 absent imports. The 37 imports classified as throwing stubs are classifications against that source revision, not evidence they were called. Static export availability does not establish runtime correctness. Limits: the runtime used existing installed binaries whose source revision is unknown, not a fresh build of the audit revision. No confirmed menu or gameplay, controlled performance result, or shader correctness claim. This is a layout/reproduction data point; it does not establish that the prebuild warning causes the frame timeout. AI-assisted: yes (Codex); observations are from local runs. No game binaries or shaders attached.
MarcZX10 commented 2026-10-17 02:31:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T02:31:28Z.


Thanks, the added root-level module changes the diagnosis materially: loading Engine.Render.Core2.PlatformPs5.prx.guest.prx gets past the earlier null call, while the later frame wait is a separate symptom. I found no existing report for the exact 0x8002003C wait in this context. Could you capture the full waitForFrame log around the first failure (including the queue/frame number and preceding submit/flip events) and identify the exact AnyPS5 commit or installed build used? The shader prebuild warning alone does not show that it caused the timeout, and a current-main trace would tell us whether the later failure is already fixed or needs its own report.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6228537542 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/6336#issuecomment-6228537542). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T02:31:28Z. --- Thanks, the added root-level module changes the diagnosis materially: loading `Engine.Render.Core2.PlatformPs5.prx.guest.prx` gets past the earlier null call, while the later frame wait is a separate symptom. I found no existing report for the exact `0x8002003C` wait in this context. Could you capture the full `waitForFrame` log around the first failure (including the queue/frame number and preceding submit/flip events) and identify the exact AnyPS5 commit or installed build used? The shader prebuild warning alone does not show that it caused the timeout, and a current-main trace would tell us whether the later failure is already fixed or needs its own report.
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#6336
No description provided.