[Astro Bot / PPSA21567] Strict Linker Unresolved Imports in libSceNpCppWebApi and Hard AGC write watch Abort Panic #8052
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 TheEzio5 on 2026-10-19T18:59:04Z.
Description
Testing Astro Bot (Title ID:
PPSA21567) on a standalone native Windows build (eboot.exe) compiled viarelinker.exe --windows --to-intel --lazy-bindingreveals two sequential development bottlenecks: severe missing export symbol tables in the standalone network library wrappers, followed by a destructive Vulkan/AGC storage memory synchronization crash.Phase 1: Missing NID / Import Obstacles
When compiling
libSceNpCppWebApi.prxfrom the main repository branch (core/libs/prx/libSceNpCppWebApi), strict binary dependency mapping fails because the game expects multiple internal symbol strings that aren't mapped.The linker throws an instant
UnresolvedImportcrash on thread setup unless the following concrete functions are manually injected and exported with__attribute__((visibility("default"))):Y295ygEccqk8x++mBOUesoUYPxv8MIzGo52AlYvq+dmkPhase 2: Post-Link Graphics Core Crash
Once the network stack library is manually shimmed with dummy symbols to allow the application graph to advance, the graphics engine maps
js::GpuDevicevia Vulkan and completes material unpacking seamlessly. However, it experiences an immediate thread crash (SIGABRT) right after theGAME: Resident Load endsequence while drawing textures.The exact terminal failure backtrace reads:
Host Laptop Architecture / Specifications
.binRequests
Y295ygEccqk,8x++mBOUeso,UYPxv8MIzGo, and52AlYvq+dmkinside the rootlibSceNpCppWebApirepository tree.libSceAgcDriver.prxfor handling non-resident storage image writes that modify active target layouts (0x53aa00000) outside the current host write-watch system tracking limits to enable large first-party 3D graphics loops to initialize seamlessly.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-19T19:22:13Z.
The four missing
libSceNpCppWebApiimports (Y295ygEccqk,8x++mBOUeso,UYPxv8MIzGo,52AlYvq+dmk) should be covered by #6901 (4f1016419, merged today, "restore libSceNpCppWebApi for dumps that ship no copy"). On Linux mainb6583dd868, which includes it, the PPSA21564 dump imports and defines all four and the library converts fully. Could you rebuild from current main and check whether theUnresolvedImportis gone without the manual shims?The second failure (
storing storage image results pending over memory outside the write watch ... is not implemented) did not appear in a 20000-frame Linux run of PPSA21564, so I can't confirm it yet. That run was on Linux and a different title ID, so it may still be specific to PPSA21567 or to Windows. If you can attach the full log withAPS5_TRACE_SECONDSset, that would help narrow it down.Imported from boykopovar/AnyPS5. Originally posted by TheEzio5 on 2026-10-20T11:40:37Z.
Update & Full Trace Attached
UnresolvedImportnetwork stack errors are 100% resolved with the latest main merge! The game now passes module tracking checks natively without any manual shims.write watchexception block on frame presentation.I have attached the complete trace log initiated via
$env:APS5_TRACE_SECONDS="0:60"to help pinpoint the memory layout mismatch behaviors on Windows host configurations for Title ID PPSA21567.Host Specifications Checked:
full_trace_log.txt
Imported from boykopovar/AnyPS5. Originally posted by TheEzio5 on 2026-10-20T16:25:44Z.
Update: Tested on Current Main (Build #23654)
Hi team, I compiled the absolute latest master branch from source natively on Windows using
w64devkitto test the new PR #8172 merge parameters.UnresolvedImportsteps remain completely clear, but the game still hits a hardSIGABRTcrash on the exact same assertion line during frame presentation.PPSA21567) is hitting one of the alternate unhandled write-back edge cases listed in thelibSceAgcDriver.mddebt document.I have attached the complete fresh
full_trace_log.txtgenerated from the updated build. Hope this helps narrow down the remaining Windowswrite watchpage protection blocks for first-party titles!full_trace_log.txt
Imported from boykopovar/AnyPS5. Originally posted by cookie42073-cmd on 2026-10-20T18:36:35Z.
Hey @TheEzio5, thanks for the fresh trace. I compared it with the NHL 26 run-7 recurrence. Both reach the same saved-byte safety refusal, but that doesn't identify a common cause: NHL hit it with #7048 applied, and neither report identifies the exact storage unit and its watch/save history. Astro's
0x53aa00000names the color-target operation that failed, not necessarily the pending storage unit responsible.One build detail is worth checking first. Line 66 of the new attachment still prints
source version ce0513dbc5744e08, format 30. The main ref recorded for Build #23654,d1f8ae214, defines FormatVersion = 41, and the logging statement prints that compiled constant, not a version read from an old cache file. That workflow merges #8358's filesystem changes, which don't change this value. The attachment therefore doesn't match that unmodified shader-cache component; it doesn't tell us why.Could you share the exact source HEAD/local changes and check the path and SHA-256 of the
libSceAgcDriver.prxactually loaded against the freshly builtlibsoutput? Once that is resolved, the standalone #7604 diagnostic handoff, still for author review, can help capture the missing unit/exclusion/save history withAPS5_TRACE_WATCH=unsavedafter checking compatibility. The timed trace you already supplied is useful; it doesn't contain those focused records. Keep the refusal enabled; no game files or raw memory payload are needed.This is a source/log comparison, not a local game reproduction. AI-assisted and independently reviewed.
Imported from boykopovar/AnyPS5. Originally posted by TheEzio5 on 2026-10-21T22:27:43Z.
Thanks for the detailed breakdown and checking the logs!
Here is the context on the build environment, local setup, and current status for Astro Bot (
PPSA21567):1. Source HEAD & Build Version Alignment
main(git pull origin main, submodules updated recursively) to align with the currentFormatVersion = 41expectations.2. Module & PRX Verification
libSceAgcDriver.prx(along withmimalloc.dlland the MinGW toolchain runtime DLLs) frombuild/core/libs/libs/was freshly deployed into the game's execution directory (libs/) to match the newly generated PE binary.3. Current Runtime & Trace Handoff
APS5_TRACE_WATCH=unsaved. Attached the newly updatedaps5-summary.jsonlsummary log and trace archive (aps5-trace-*.json.gz) for review[cite: 3].aps5-trace-a6dcea9279b5-30004.json.gz
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T22:49:35Z.
I inspected the attached
aps5-trace-a6dcea9279b5-30004.json.gz. It contains Chrome-style GPU event records (for example,Driver.PacketandVulkan.Dispatch), but no write-watch or unsaved-unit records. The comment mentions anaps5-summary.jsonl, but that file is not linked here.Could you attach the matching summary JSONL, or paste the exact safety-refusal line plus the relevant unit's watch/save history from that run? We need the pending storage unit and its watch history to identify a general write-watch fix; the color-target address alone does not identify which unit triggered the refusal.
Imported from boykopovar/AnyPS5. Originally posted by TheEzio5 on 2026-10-22T07:27:55Z.
Thanks for pointing that out! Here is the matching
aps5-summary.jsonlentry for that run, along with the requested safety refusal line and watch/save history details from the trace:1. Matching Summary JSONL Record