ASTRO BOT (PPSA21564): SoundManager asserts defaultBusses.size() == 1 during start-up (main 1be0a7ce) #3480
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 StarMrGamer on 2026-10-11T11:18:53Z.
ASTRO BOT (PPSA21564, content 01.007.000) stops during start-up on
main(1be0a7ce): its own assertiondefaultBusses.size() == 1(SoundManager.cpp:306) fires and the process exits.What happens
About 30–45 s into start-up, every run:
Start-up runs far before it: the relink resolves all imports, shaders compile,
VideoOutpresents.Root cause (found)
The title builds asset paths containing a literal
%ASOBI_ROOT%token and passes them unresolved to the file API, for example/host/%ASOBI_ROOT%/target/data/common/sound/config.xml. The sound configuration therefore never loads, the sound system builds no default buses, and the assertion above fires.Making those paths resolve removes the assertion — verified locally: the game passes audio initialisation, memory settles, and start-up continues for minutes.
Notes on the fix layer
ASOBI_ROOTthrough the guest environment alone does not help: the title does not expand the token itself.%VAR%inside libc path handling works but is the wrong layer —%...%expansion is not kernel/libc behaviour and would change the meaning of any path containing two%signs (review discussion in #3959 and #4274, both closed)./hostmount semantics: paths under/hostare resolved with the token substituted at the mount/translation layer. A fix should implement that general behaviour, not a title-specific expansion.Environment
main1be0a7ce, Release,-DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON.Later stops (separate issues)
With the assertion removed, start-up continues and two further problems appear: the scene renders black at full frame rate (root-caused to a compute shader being refused storage access to a depth surface — #1409, fix #425), and later the title asserts
prop->m_pParent == this.Related: #271 (title import announce).
Written with AI assistance.
Imported from boykopovar/AnyPS5. Originally posted by renzipego-cpu on 2026-10-17T20:41:04Z.
Windows reproduction of the same stop, with the fault that follows it (the report above could not verify Windows):
Windows, RTX 3060, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release, title relinked with
--registry, libraries fromlibs. The assert fires first; the0xc0000005(read of0xffffffffffffffffateboot.exe+0xf6b40a) is what terminates the process right after, so it looks like a poisoned pointer in the assert's cleanup path, not a separate stop.@StarMrGamer - your Round 10 fix (commit
6ec3c56dcb01f00e9d66ac8b968aa9bd4d69af15:ExpandEnvironmentVariables()for%VAR%inlibc/src/General.cppwired intoResolve(), the AudioOut2 port/speaker parity and theAudioOut2PortStatetest) does not appear to be pushed anywhere: the commit is not fetchable and your fork's branches (main,ci/public-lint-gated-builds,feat/aio-poll-requests,feat/no-ingame-shaders-recomp,fix/relinker-syscall-number,fix/windows-host-import-texture-reuploads) don't contain it.Could you push it to a branch? If you do, I can carry it as a PR with your authorship preserved, and verify it end-to-end here on Windows against the title - my setup reproduces the assert on current main, so that would also cover the Windows gap in the evidence.
If you would rather not publish it, I will reimplement from your Round 10 description instead - but the carry keeps your attribution and your measured values, so pushing is the better path.
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by renzipego-cpu on 2026-10-19T02:30:27Z.
Your rework is carried as #7715 (authorship preserved). Rebase note: main landed
70ef3710f(guest environment starts empty, never reads the host's) after your branch base, so the rebase keeps the empty environment and seeds only theASOBI_ROOT=app0default; the host-seeding half of the branch was dropped, and the debt entry in docs/dev/debt/libc.md now records the exception.asobi_root_environmentandguest_environmentpass on Windows (WinLibs GCC 15.2.0 r7). Happy to fold in further changes if you have them.