ASTRO BOT / ASTRO'S PLAYROOM: prop->m_pParent == this assertion after audio init (AudioOut2 semantics gap) #4317
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-12T05:55:27Z.
After the #3480 start-up stop is worked around, ASTRO BOT (PPSA21564) and ASTRO's PLAYROOM (PPSA01284) later crash on their own assertion
prop->m_pParent == this(Module/System/Property.cpp:478). This looks like anAudioOut2semantics gap that will surface for everyone once the #3480 fix lands.What happens
25–55 s into start-up, after GPU init, materials (41) and shaders (~1500, cache hits) load, and before texture allocation and the game loop:
Why this looks like an AudioOut2 problem
A local A/B test on the same build base isolates it to the values reported by
sceAudioOut2PortGetState/sceAudioOut2GetSpeakerInfo:output, constant channel count, stereoGetSpeakerInfo): the property assertion fires every run.output= main, and the speaker info carrying the two front angles the title reads: no assertion in 140 s of running (textures allocate, draw calls happen).So the title's property graph appears to be built from the reported device state, and a report it cannot classify leads to a detached property node and the assertion above.
Notes
mainthe title exits earlier at the sound assertion.Environment
mainplus the #3480 workaround.Related: #3480 (the start-up stop this is behind), #1409 (scene renders black).
Written with AI assistance.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-12T06:18:06Z.
The two builds differ in more than main:
6ec3c56dis1be0a7ce9plus the%VAR%path expansion,0528bae8bisd146ec1b6plus theASOBI_ROOTguest variable. Could you rund146ec1b6with the6ec3c56dchange cherry-picked (or1be0a7ce9with theASOBI_ROOTone)? That shows whether the assertion comes from main or from the changed patch. If it is main,git bisect --first-parentbetween the two bases builds at every step.Imported from boykopovar/AnyPS5. Originally posted by StarMrGamer on 2026-10-12T06:21:34Z.
Good point about the two variables — one piece of that isolation already exists, and it points at the reported values rather than the base.
On the same build (base
d146ec1b6+ theASOBI_ROOTchange), an A/B on just theAudioOut2values:mainreturns today: fixedoutput, constant channel count, stereoGetSpeakerInfo): theprop->m_pParent == thisassertion fires every run.output= main,GetSpeakerInfocarrying the two front angles the title's classification reads): no assertion in 140 s of running, textures allocate, draw calls happen.So within one base, the assertion depends on what the
AudioOut2functions report — which also matches the title-side picture: its classification code stores these fields into the property tree, and a device state it cannot classify seems to end up as a detached property node.That does not fully answer your question, so the requested matrix is next:
d146ec1b6with the%VAR%change cherry-picked, and1be0a7ce9with theASOBI_ROOTone, to separate base from patch completely. Will report both runs here. If it turns out to be base-side after all,git bisect --first-parentbetween the two bases it is.Written with AI assistance.
Imported from boykopovar/AnyPS5. Originally posted by StarMrGamer on 2026-10-12T07:21:36Z.
A/B Matrix Test Results (Corrected with APS5_RAYTRACING=miss)
Re-ran both tests with the missing environment variable that allows the title to reach the asserting phase.
Environment (both tests)
Test 1: Base
d146ec1b6+ Only %VAR% ExpansionConfiguration:
d146ec1b6(Oct 12, 2026)6ec3c56dtoGeneral.cppResult: ✅ No assertion
APS5_RAYTRACING=miss/host/%ASOBI_ROOT%/paths resolvedprop->m_pParent == thisassertionTest 2: Base
1be0a7ce9+ Only ASOBI_ROOT VariableConfiguration:
1be0a7ce9(Oct 11, 2026, 908 commits older)0528bae8btoEnvironment.cppResult: ✅ No assertion
APS5_RAYTRACING=miss/host/%ASOBI_ROOT%/paths resolvedprop->m_pParent == thisassertionAnalysis
Both minimal patches on their respective bases run without the assertion, even when
APS5_RAYTRACING=missis set and the title progresses past the black-scene phase into rendering.This suggests neither the base evolution (908 commits between the two bases) nor the individual patches cause the assertion when applied in isolation. The assertion likely requires a combination of factors not present in these minimal configurations.
Both tests successfully passed the 25-55s audio init window where the assertion was previously observed and proceeded to texture rendering without encountering the
prop->m_pParent == thisassertion.Full results in
notes/ab-test-corrected-results.md.Imported from boykopovar/AnyPS5. Originally posted by StarMrGamer on 2026-10-12T07:35:45Z.
One more data point that sharpens this: I re-ran the exact asserting configuration on the current build (placeholder AudioOut2 values,
APS5_RAYTRACING=miss,APS5_HOST_IMPORT_MIB=16384, same run directory) —prop->m_pParent == thisfired again within 150 s. And flipping only the reported AudioOut2 values (port channel count from the data format,output= main, the two front speaker angles) makes it run clean on the same base.That means the assertion tracks the reported
AudioOut2state one-to-one so far:mainreturns today)Caveat on the earlier A/B matrix comment: those runs'
LD_LIBRARY_PATHlisted the run-directorylibs/first and a shared build second, so theAudioOut2library they loaded cannot be attributed with certainty — which would explain why both came out clean despite using the placeholder configuration on paper. Treat the two-row table above as the reliable pair.So the open question is narrower than "base vs patch": which piece of the reported state the title's property tree cannot classify. Next: A/B the value fields one at a time (channel count /
output/ speaker angles) to pin the exact field, and re-run the matrix with an isolatedLD_LIBRARY_PATHfor completeness.Written with AI assistance.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T12:06:02Z.
Reading current
main(3d8ffeb27) against the A/B above: the "placeholder" values are no longer all placeholders.sceAudioOut2GetSpeakerInfoalready reports stereo with front angles -30 and +30 (AudioOut2SpeakerArray.cpp).sceAudioOut2PortGetStatealready reportsoutput = 1(main), volume 127 and reroute counter 0 (AudioOut2Port.cpp).num_channels: it is the constantAUDIO_OUT2_OUTPUT_CHANNELS(2), whatever format the port was created with. SharpEmu derives it from the port's data format (output connected, channel count, volume 127), which matches the "parity values" described here. That is another emulator's behaviour, not a console measurement.So the open question from the last comment (which field the title cannot classify) matters: if it is
num_channels, the change is small (report the port's own channel count) and I would add tests for the three state calls with that source named. I plan to prepare exactly that, and nothing broader, unless someone is already on it. @StarMrGamer, does the one-field A/B (onlynum_channelsfrom the port format, everything else as onmain) still show the assertion going away?I have not run ASTRO BOT or ASTRO's PLAYROOM (not in my set).
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T21:36:20Z.
A small related change is up as #4778:
sceAudioOut2PortGetStatenow reports the port's channel count instead of always two, with a test for the AudioOut2 state calls. It does not claim to fix the assertion described here, and I have no ASTRO BOT or ASTRO's PLAYROOM to check it.AI-assisted (Claude Code).