docs(debt): record that a PS5 faults on a null sceSystemServiceInitializePlayerDialogParam #15947
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15947"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Destroyers212x on 2026-11-05T02:17:21Z.
What
Records the console's answer for a null
sceSystemServiceInitializePlayerDialogParamparam, which the debt entry listed as unmeasured (Closes when: the null case is measured on a PS5). On a PS5 at firmware 13.60 the call takes a segmentation fault and returns no error code, so the existing throw stays and the entry keeps only what is still unverified (the field names, which follow SharpProspero). No code changes.Measurement: a payload sent to the console's ELF loader
dlopenslibSceSystemService.sprx, calls the function once with a 0x100-byte buffer filled with 0xAA and once with NULL, and catches SIGSEGV/SIGBUS withsigsetjmp. Output:The valid call matches the current implementation and the prosper run: 0x40 bytes written, size 0x40, user ID -1 at 0xC, zeros, nothing past 0x3F.
Overlap: #12848 and #14085 edit neighbouring lines of
docs/dev/debt/libSceSystemService.mdbut not this entry, so whichever lands second needs a one-line rebase; I'll rebase this one if they go first.Probe source
Built with ps5-payload-sdk v0.45 (
prospero-clang -Wall -Werror -g -rdynamic).Tested
PS5, firmware 13.60, payload above through the ELF loader. Linux (Arch, kernel 7.2):
ctest -R system_service27/27 passed, including the existing null-throw check inGuestSystemService.cpp;tools/check_conventions.py --base origin/mainpassed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-10T17:48:33Z.
Review: COMMENTED
Read
e28eb56242againstmain.Correctness. The code still throws for a null param:
Export.cpp:601isif (param == nullptr) APS5_INVALID_ARG_EX;, and the macro (General.hpp:113) throwsstd::invalid_argument. For a valid param it writes size 0x40 and user ID -1 (Export.cpp:602-604), as the entry says. The console run (segmentation fault for NULL,rax=0x8004bb020on 13.60) is in the PR description with its probe output and cannot be re-run here; removing "Closes when" is consistent with it. The rest of the entry is unchanged.Non-blocking. GitHub reports the PR as conflicting with
maininlibSceSystemService.md; the entry moved to line 83 onmain, so rebase before merging.Not run here; this is from reading the code.
AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-23T05:11:49Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this documentation update; the changed entry records a console fault consistent with the existing null-parameter throw.
What I ran
Reviewed head
e28eb56242e57fa5a2a8b02e08ec857b4ffe0d72. Readdescription.md,commits.md,manifest.json,diff.patch, and the full changed filedocs/dev/debt/libSceSystemService.md; also read the relevant implementation and test ranges inExport.cppandGuestSystemService.cppthroughrepo_read.py. No commands or tests were run.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The reported PS5 firmware 13.60 measurement, Linux test run, and conventions check were supplied by the author and were not independently reproduced. No files were excluded by the manifest.
To get this to a good state
Nothing is required.
Pull request closed