Contra: Operation Galuga (PPSA15368): intermittent first-stage loading stall and guest allocator crash #14052

Open
opened 2026-10-31 17:07:24 +00:00 by JJenkx · 0 comments
JJenkx commented 2026-10-31 17:07:24 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-31T17:07:24Z.


What happens

First-stage loading can stop presenting while the CPU remains busy; a separate attempt crashed at a guest allocator write to address 0x18. Other attempts under GDB differ, so the failure is intermittent and the writer/cause is not identified.

Title, test or build step

Contra: Operation Galuga, PPSA15368, content 01.000.003.

AnyPS5 commit

Production main 73f4f7e06e4f210a8c6570e335fd654dc0a86134. Actual compiled bank 59fbec354b5c886294a043268be63f4724e04919: main plus a test-only GuestMemory fixture, no extra production change. The five commits between that production base and main 474030e5842 change test infrastructure only; the delta is attached. No PR6321 production change, game byte patch or optional production PR is in this bank.

System

Arch Linux x86_64, kernel 7.2.11-arch1-1, GCC 16.2.1, Release; AMD Radeon RX 6650 XT (RADV NAVI23), Mesa 26.2.6-1. Host-report block was not captured in these runs.

Steps to reproduce

Relink the unwrapped executable with the main relinker, including both shipped module directories:

relinker --registry --no-patches --linux-fixed-base 0x400000 \
  --module-dir Media/Plugins --module-dir Media/Modules \
  --rpath /absolute/sdk/core/libs/libs \
  normalized/eboot.elf private-runtime/app.elf

Stage writable state privately and run from that runtime:

LD_LIBRARY_PATH=/absolute/sdk/core/libs/libs \
VK_DRIVER_FILES=/usr/share/vulkan/icd.d/radeon_icd.json \
ANYPS5_GPU='AMD Radeon RX 6650 XT' \
APS5_HOST_IMPORT_MIB=16384 ANYPS5_NO_SHADER_CACHE=1 \
MESA_SHADER_CACHE_DISABLE=true ./app.elf

The local harness temporarily sets /sys/module/udmabuf/parameters/size_limit_mb to 16384 and restores 64 afterward. The renderer window was 974×548 on X11. Use the title menu: Story Mode → empty New Game slot → Normal → Bill → Ready/Start. Menu/input screenshots and timestamps are in the archive. The menu works; the variable failure happens after Start, not during conversion/import resolution.

Log

Stalled native run (play2): present counter stayed at 6202 from about 118 s through the planned close at 300 s. The CPU remained busy. Repeated guest line:

Forcing call to sce::Agc::suspendPoint to avoid TRC R5089 breach

Separate native run (diag5): all six menu gates confirmed; exit 139 at 102 s. Kernel at 2026-10-31T16:07:18Z:

app.elf[3276080]: segfault at 18 ip 0000000001a8846c sp 0000000216ba1f20 error 6 in app.elf[168c46c,400000+18bd000]

Immediately preceding guest output repeatedly includes:

[gpu] texture caches released 0 MiB of the 8256 MiB asked for: 0 sampled entries, 1 storage images, 42 with pending results kept

This cache pressure is an observation, not evidence of which component corrupted memory.

What was checked

  • play2: no debugger; loading stall, no kernel GPU fault, normal planned close. A 10 s CPU profile has 2064 samples; about 74% are in the main guest loop at runtime 0x1094ca0..0x1094cfe. That loop walks 48-byte slots. Its 96 instruction bytes match the normalized executable; live loop bounds are not captured yet. Raw game binaries/memory and perf.data are kept private.
  • diag5: no debugger; allocator-write crash described above. No first-chance registers were captured.
  • diag6: GDB from process start; loading counter stopped at 3559, no fault caught; planned close at 240 s. This does not disprove the native crash.
  • diag7: GDB from process start; six visually confirmed menu gates; renders an island scene after Start, counter continues to 6429 at 180 s. No stall-triggered snapshot or crash occurred; planned normal close. No playable character/gameplay verified. The diagnostic driver reports nonzero because it did not capture the requested failure; the game exited 0.
  • Other early menu-only diagnostic attempts are excluded from stage-loading conclusions. No tested fix, performance gain, or stable-title claim.
  • Related symptom reports #3695 and #5934 were checked; neither establishes that this title shares its root cause.

Full logs, timestamped reports, screenshots, source-bank manifest and qualified per-run reviews. Download verified SHA-256: 6dd6e4ec8168e2922b56f468526bad846e2ff812a9d33dee690f5faa2868f36a. No game binaries, memory dumps or disassembly are included.

AI-assisted: yes, Codex.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6137538949 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/14052). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-31T17:07:24Z. --- ### What happens First-stage loading can stop presenting while the CPU remains busy; a separate attempt crashed at a guest allocator write to address `0x18`. Other attempts under GDB differ, so the failure is intermittent and the writer/cause is not identified. ### Title, test or build step Contra: Operation Galuga, PPSA15368, content 01.000.003. ### AnyPS5 commit Production main `73f4f7e06e4f210a8c6570e335fd654dc0a86134`. Actual compiled bank `59fbec354b5c886294a043268be63f4724e04919`: main plus a test-only GuestMemory fixture, no extra production change. The five commits between that production base and main `474030e5842` change test infrastructure only; the delta is attached. No PR6321 production change, game byte patch or optional production PR is in this bank. ### System Arch Linux x86_64, kernel 7.2.11-arch1-1, GCC 16.2.1, Release; AMD Radeon RX 6650 XT (RADV NAVI23), Mesa 26.2.6-1. Host-report block was not captured in these runs. ### Steps to reproduce Relink the unwrapped executable with the main relinker, including both shipped module directories: ```sh relinker --registry --no-patches --linux-fixed-base 0x400000 \ --module-dir Media/Plugins --module-dir Media/Modules \ --rpath /absolute/sdk/core/libs/libs \ normalized/eboot.elf private-runtime/app.elf ``` Stage writable state privately and run from that runtime: ```sh LD_LIBRARY_PATH=/absolute/sdk/core/libs/libs \ VK_DRIVER_FILES=/usr/share/vulkan/icd.d/radeon_icd.json \ ANYPS5_GPU='AMD Radeon RX 6650 XT' \ APS5_HOST_IMPORT_MIB=16384 ANYPS5_NO_SHADER_CACHE=1 \ MESA_SHADER_CACHE_DISABLE=true ./app.elf ``` The local harness temporarily sets `/sys/module/udmabuf/parameters/size_limit_mb` to 16384 and restores 64 afterward. The renderer window was 974×548 on X11. Use the title menu: Story Mode → empty New Game slot → Normal → Bill → Ready/Start. Menu/input screenshots and timestamps are in the archive. The menu works; the variable failure happens after Start, not during conversion/import resolution. ### Log Stalled native run (`play2`): present counter stayed at 6202 from about 118 s through the planned close at 300 s. The CPU remained busy. Repeated guest line: ```text Forcing call to sce::Agc::suspendPoint to avoid TRC R5089 breach ``` Separate native run (`diag5`): all six menu gates confirmed; exit 139 at 102 s. Kernel at 2026-10-31T16:07:18Z: ```text app.elf[3276080]: segfault at 18 ip 0000000001a8846c sp 0000000216ba1f20 error 6 in app.elf[168c46c,400000+18bd000] ``` Immediately preceding guest output repeatedly includes: ```text [gpu] texture caches released 0 MiB of the 8256 MiB asked for: 0 sampled entries, 1 storage images, 42 with pending results kept ``` This cache pressure is an observation, not evidence of which component corrupted memory. ### What was checked - `play2`: no debugger; loading stall, no kernel GPU fault, normal planned close. A 10 s CPU profile has 2064 samples; about 74% are in the main guest loop at runtime `0x1094ca0..0x1094cfe`. That loop walks 48-byte slots. Its 96 instruction bytes match the normalized executable; live loop bounds are not captured yet. Raw game binaries/memory and perf.data are kept private. - `diag5`: no debugger; allocator-write crash described above. No first-chance registers were captured. - `diag6`: GDB from process start; loading counter stopped at 3559, no fault caught; planned close at 240 s. This does not disprove the native crash. - `diag7`: GDB from process start; six visually confirmed menu gates; renders an island scene after Start, counter continues to 6429 at 180 s. No stall-triggered snapshot or crash occurred; planned normal close. **No playable character/gameplay verified.** The diagnostic driver reports nonzero because it did not capture the requested failure; the game exited 0. - Other early menu-only diagnostic attempts are excluded from stage-loading conclusions. No tested fix, performance gain, or stable-title claim. - Related symptom reports #3695 and #5934 were checked; neither establishes that this title shares its root cause. [Full logs, timestamped reports, screenshots, source-bank manifest and qualified per-run reviews](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/contra-galuga-main73f-linux-observations-20261031.tar.gz). Download verified SHA-256: `6dd6e4ec8168e2922b56f468526bad846e2ff812a9d33dee690f5faa2868f36a`. No game binaries, memory dumps or disassembly are included. AI-assisted: yes, Codex.
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#14052
No description provided.