libkernel: LEGO Batman: Legacy of the Dark Knight (PPSA16833) does not load because no library exports sceCoredumpConfigDumpMode (gzLt9Qrauk0); fix branch ready #6688

Closed
opened 2026-10-16 05:00:29 +00:00 by Tamalero · 1 comment
Tamalero commented 2026-10-16 05:00:29 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-16T05:00:29Z.


LEGO Batman: Legacy of the Dark Knight imports sceCoredumpConfigDumpMode from libkernel. No AnyPS5 library exports it, so the executable doesn't load at all:

./app.elf: symbol lookup error: ./app.elf: undefined symbol: gzLt9Qrauk0

(exit code 127, before any guest code runs).

The NID resolves to sceCoredumpConfigDumpMode. The name comes from shadPS4's aerolib.inl, and I checked it against the NID formula. libkernel already implements the rest of the coredump family in System/src/Coredump.cpp, but not this one.

Title: LEGO Batman: Legacy of the Dark Knight (PPSA16833 v01.010.000)
Where it stops: the dynamic loader, on main 5d9dcc42d.

Fix

Branch: https://github.com/Tamalero/AnyPS5/tree/fix/libkernel-coredump-config-dump-mode (one commit on 5d9dcc42d).

The function is added as a stub that throws if called. That's the same treatment sceCoredumpWriteUserString already has, and it gets a technical-debt line in docs/dev/debt/libkernel.md. The signature isn't known, so the stub doesn't guess one.

With it, the title loads, and the stub is never called: through the start-up screens, the main menu, a new game, and gameplay in the first area, it never throws. So the title only needs the symbol to exist. If a title does call it later, the throw will name the function.

Details
  • Linux (CachyOS), GCC, Release, RTX 4090, i9-14900K. The title was relinked with --to-intel by the relinker at 5d9dcc42d.
  • tools/check_conventions.py --base origin/main passes. No test, as with sceCoredumpWriteUserString: there's no behaviour to test until the signature is known.
  • After this stop the title meets two more, which are in separate reports: the Terms of Service screen (#6447 already has that change) and a shader with more than 16 samplers.
  • I have fewer than 10 merged PRs, so this is an issue with the branch rather than a PR.

Tested and written by Claude (AI assistant) on a contributor's machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5878612335 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/6688). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-16T05:00:29Z. --- LEGO Batman: Legacy of the Dark Knight imports `sceCoredumpConfigDumpMode` from libkernel. No AnyPS5 library exports it, so the executable doesn't load at all: ``` ./app.elf: symbol lookup error: ./app.elf: undefined symbol: gzLt9Qrauk0 ``` (exit code 127, before any guest code runs). The NID resolves to `sceCoredumpConfigDumpMode`. The name comes from shadPS4's `aerolib.inl`, and I checked it against the NID formula. libkernel already implements the rest of the coredump family in `System/src/Coredump.cpp`, but not this one. **Title:** LEGO Batman: Legacy of the Dark Knight (PPSA16833 v01.010.000) **Where it stops:** the dynamic loader, on `main` `5d9dcc42d`. ### Fix Branch: https://github.com/Tamalero/AnyPS5/tree/fix/libkernel-coredump-config-dump-mode (one commit on `5d9dcc42d`). The function is added as a stub that throws if called. That's the same treatment `sceCoredumpWriteUserString` already has, and it gets a technical-debt line in `docs/dev/debt/libkernel.md`. The signature isn't known, so the stub doesn't guess one. With it, the title loads, and the stub is **never called**: through the start-up screens, the main menu, a new game, and gameplay in the first area, it never throws. So the title only needs the symbol to exist. If a title does call it later, the throw will name the function. <details><summary>Details</summary> - Linux (CachyOS), GCC, Release, RTX 4090, i9-14900K. The title was relinked with `--to-intel` by the relinker at `5d9dcc42d`. - `tools/check_conventions.py --base origin/main` passes. No test, as with `sceCoredumpWriteUserString`: there's no behaviour to test until the signature is known. - After this stop the title meets two more, which are in separate reports: the Terms of Service screen (#6447 already has that change) and a shader with more than 16 samplers. - I have fewer than 10 merged PRs, so this is an issue with the branch rather than a PR. </details> *Tested and written by Claude (AI assistant) on a contributor's machine.*
MarcZX10 commented 2026-10-16 05:07:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T05:07:27Z.


I opened PR #6694 carrying your existing commit unchanged, with your commit authorship preserved. The Linux libkernel build and local conventions check pass; the PR intake, eligibility and conventions checks also pass. The LEGO Batman run in the PR description remains your reported test; I did not rerun the title.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6208530682 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/6688#issuecomment-6208530682). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T05:07:27Z. --- I opened [PR #6694](https://github.com/boykopovar/AnyPS5/pull/6694) carrying your existing commit unchanged, with your commit authorship preserved. The Linux `libkernel` build and local conventions check pass; the PR intake, eligibility and conventions checks also pass. The LEGO Batman run in the PR description remains your reported test; I did not rerun the title.
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#6688
No description provided.