[Tester] M4, 16 GB: Metal out of memory during story loading, then watchdog crash (image+0x55e56f8) #430
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 LakshanSivakumar/Native-Victory-macOS. Originally posted by rphlmm on 2026-11-27T17:57:02Z.
Mac
Mac mini (2024, Mac16,10), Apple M4, 16 GB, macOS 27.2.1 (26B131)
Commit
b998bb65How far did it get?
Further than that
What happened
Two runs on the same commit, Series S profile, game folder on an external USB SSD. The startup line reports
title_memory_mib=7776 recommended_working_set_mib=12124 suggested_texture_budget_mib=4348. Shader converter:/usr/local/lib/libmetalirconverter.dylib(the installed default).Run 1 (first run, cold shader cache). Boot movie, sound and the setup screens were fine at about 30 fps. Story mode loading started at about +109 s (the
story000packs were opened). The picture froze at +161 s (last frame 3776). From +167 s Metal failed command buffers withkIOGPUCommandBufferCallbackErrorOutOfMemory(20 OutOfMemory errors). The title's watchdog ended the run at +279 s: null write atimage+0x23cf683, then the fault atimage+0x55e56f8. Memory pressure peaked at 93%, swap grew from 2.9 GB to 9.0 GB, and the mouse lagged.Run 2 (after reboot, zero initial swap, existing cache retained). The setup screens were skipped (settings kept from run 1). Story loading started at +39 s and the loading-screen artwork cycled at about 21 fps. Metal ran out of memory at +68 s (21 OutOfMemory errors), the frame rate fell to 4.5 fps by +80 s, and the window went black. The apparent world initialization (frame 1781) bound 1,679 pipelines for the first time (1,922 first binds in the run, 16,384 shaders prewarmed, 376 MB of DXIL). 281 unique shader/reason pairs were refused from +103 s, in frames 1776 to 1783: 154 "a view address field ... a buffer's stride or swizzle", 71 "a descriptor neither loaded nor built". The CPU sat at 100% for about 30 s, no frame was presented after frame 1783, and the same watchdog ended the run at +212 s (
image+0x23cf683, thenimage+0x55e56f8). Memory pressure peaked at about 95% and swap ended at 1.5 GB.On my 16 GB M4, GPU memory exhaustion appears to be a major bottleneck during story loading and apparent world initialization (#79, #110). Both runs ended with the same access violation, consistent with the crash signature previously reported in #15. The issue persists after a reboot with zero initial swap usage. Both runs had
texture_budget_mib=0andsuggested_texture_budget_mib=4348.I would be happy to perform additional tests with diagnostic
VICTORY_*switches or a branch implementing texture-copy memory budgeting, if useful.Crash signature (Exit code: 134 in both runs)
VIctory: unhandled exception 0xc0000005 at image+0x55e56f8Both runs hit a first-chance access violation at
image+0x23cf683(the watchdog's deliberate null write) shortly before the fault atimage+0x55e56f8.macOS crash report (VIctory aborting after the title's unhandled exception, not a separate crash):
No playable world was reached in either run.
run-summary.sh, run 2
run-summary.sh --compare, run 1 → run 2
Log
Run 1 = victory-20261127-173804-27873.log.gz
Run 2 = victory-20261127-180400-4623.log.gz
victory-20261127-173804-27873.log.gz
victory-20261127-180400-4623.log.gz
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by alexballvideos-netizen on 2026-11-27T20:21:40Z.
The
image+0x55e56f8at the end is the title's crash reporter faulting after the real stop. Your first fault,image+0x23cf683, is the title deliberately writing to address 0 (its watchdog), here after Metal's OutOfMemory errors stalled the GPU. Same chain as on my M3 Max; details in #404. So the thing to fix in this report is the GPU memory at the story load, not the address in the last line.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-28T00:36:38Z.
Thank you for the report and the log. This is the same fault as #8 and #79, so I am closing this one and tracking it there. Main moved a lot today (
a6a58361): if you can, please retest on it and add what you see to that issue.