PPSA02530 stops at scePadOpen with port type 3 or 4 since #10361 #10904

Closed
opened 2026-10-25 08:54:42 +00:00 by xXPBSXx · 0 comments
xXPBSXx commented 2026-10-25 08:54:42 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-25T08:54:42Z.


PPSA02530 now aborts on current main where it ran before #10361.

Run: Windows 10 Pro 10.0.19045, WinLibs GCC 15.2.0, Release, relinker and all libraries built from the tree, NVIDIA GeForce RTX 4080 SUPER, no input sent, up to 600 s through a runner script.

  • main af49a07885 (contains #10361, merge c15c361163): the title stops after about 3 minutes with
[libc] unhandled exception 'St13runtime_error' thrown from ...
terminate called after throwing an instance of 'std::runtime_error'
  what():  scePadOpen_nid_postfix not implemented
FATAL: abort() (SIGABRT)

The same stop came in 2 of 2 runs on this main, one with only ANYPS5_GPU=4080 set and one that additionally had APS5_STALL_WATCHDOG_SECS=3.

  • main 50757b01c6 (before #10361): the title ran the full 600 s without an abort and without this message.

What the title does (static reading of its executable, call-site addresses only): it has one call to scePadOpen, in a wrapper at 0x1bcc229. A caller at 0x1bcc160 opens types 0 and 2 for a user, and types 3 and 4 only when that user's index matches a value read at run time (calls at 0x1bcc1bd and 0x1bcc1cd); index 0 and a null parameter in every call. On a negative result the wrapper compares the code with 0x80920001 and, for types 3 and 4 only, logs its own longer message, then returns -1; the title stores -1 in the slot and goes on, and its close function skips slots that hold -1. So the wrapper does not abort on a failed open of types 3 and 4; what the title does with the -1 later, beyond closing the slots, was not read.

Since #10361, scePadOpen throws for types 3 and 4 after the type and user checks, because the console accepts them and what they open is unknown. This is the case its description anticipates ("a title that probes them will stop here"). Before #10361 the call returned PAD_ERROR_INVALID_ARG, which is 0x80920001.

I have no console measurement of what types 3 and 4 return for a logged-in user, so this report does not propose a return value.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6022657284 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/10904). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-25T08:54:42Z. --- PPSA02530 now aborts on current `main` where it ran before #10361. **Run:** Windows 10 Pro 10.0.19045, WinLibs GCC 15.2.0, Release, relinker and all libraries built from the tree, NVIDIA GeForce RTX 4080 SUPER, no input sent, up to 600 s through a runner script. - `main` `af49a07885` (contains #10361, merge `c15c361163`): the title stops after about 3 minutes with ``` [libc] unhandled exception 'St13runtime_error' thrown from ... terminate called after throwing an instance of 'std::runtime_error' what(): scePadOpen_nid_postfix not implemented FATAL: abort() (SIGABRT) ``` The same stop came in 2 of 2 runs on this `main`, one with only `ANYPS5_GPU=4080` set and one that additionally had `APS5_STALL_WATCHDOG_SECS=3`. - `main` `50757b01c6` (before #10361): the title ran the full 600 s without an abort and without this message. **What the title does** (static reading of its executable, call-site addresses only): it has one call to `scePadOpen`, in a wrapper at `0x1bcc229`. A caller at `0x1bcc160` opens types 0 and 2 for a user, and types 3 and 4 only when that user's index matches a value read at run time (calls at `0x1bcc1bd` and `0x1bcc1cd`); index 0 and a null parameter in every call. On a negative result the wrapper compares the code with `0x80920001` and, for types 3 and 4 only, logs its own longer message, then returns -1; the title stores -1 in the slot and goes on, and its close function skips slots that hold -1. So the wrapper does not abort on a failed open of types 3 and 4; what the title does with the -1 later, beyond closing the slots, was not read. Since #10361, `scePadOpen` throws for types 3 and 4 after the type and user checks, because the console accepts them and what they open is unknown. This is the case its description anticipates ("a title that probes them will stop here"). Before #10361 the call returned `PAD_ERROR_INVALID_ARG`, which is `0x80920001`. I have no console measurement of what types 3 and 4 return for a logged-in user, so this report does not propose a return value. AI-assisted (Claude Code).
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#10904
No description provided.