Linux gameplay AV at +0x4e9b578: null command-allocator pointer before Reset #583

Open
opened 2026-11-27 12:31:19 +00:00 by github-bot · 0 comments
Owner

@⁠DecayingEagle on GitHub · 2026-11-27 12:31 UTC · original

Manual gameplay run on Linux ended after 606.5 seconds, exit 5, with an unhandled 0xc0000005 read of zero at title +0x4e9b578. No GPU reset, ring timeout, device-loss message or OOM kill was recorded in the checked run interval. The player confirmed this happened further into the first mission. There is no save available near the failure, so reproducing it requires replaying from the start. The automated opening/boat control below did not reach the same mission stage.

Runtime

  • RX 7900 XT 20 GB, Ryzen 9 9900X, 32 GB RAM; Mesa 26.3.1 RADV.
  • Private Wine 11.22 (indexed mapped-view lookup), GE-Proton11-14 support DLLs, vkd3d-proton 71cae09.
  • Retail 1.0.2.1; Series X mode, 2560x1440 fullscreen, ray tracing off.
  • a-publier@4eb6cfd with local integration of the dynamic descriptor metadata, exact typed-half transfers and learned late-constant ordering discussed in avatarmanz/VIctory-7900XTX#114, avatarmanz/VIctory-7900XTX#434 and fxceless/victory-fork#927; the global half-load correction in #565; the null empty-library fix in #124; and an optional first-use-pipeline gate adapted from fxceless/victory-fork#845. The early-pipeline override was unset in this crash.
  • Relevant settings: VICTORY_PORT_DESCRIPTORS=1 VICTORY_RELAY=2 VICTORY_RELAY_COPY=0 VICTORY_CARD_STEPS=2 VICTORY_CARD_STEPS_LEARN=1 VICTORY_TEXTURE_NO_WAIT=0 VICTORY_THIN=1 VICTORY_UPLOAD_AHEAD=1 VICTORY_JOIN_PARTS=8. No VICTORY_UPSCALER override.

Failure and narrower object identification

At the failing load, RCX=0, RSI=0xfeedb90948, RBX=RDX=0x963. The immediate caller chain includes +0x4e9b4bf, +0x4a4a, +0x4d9f49c, +0x188463, +0x369a60, +0x15b4b76, +0x43c4591, +0x43c4314, +0x2215eca.

Following the pool's initialization locally identifies the first field of this 48-byte record as an ID3D12CommandAllocator pointer: the creation call requests IID 6102dee4-af59-4b09-b999-b44d73f09b24 through device slot 9 and stores the result there. The later failing virtual call is slot 8 (Reset). The fault happens before the call can reach the runtime's allocator_reset, which is currently a no-op returning S_OK in this tree. This narrows the object class; it does not establish where its pointer was lost, whether a CPU write or copy-back caused it, or an allocator-lifetime bug.

An earlier run, before the latest renderer patches, failed after 432.2 seconds in the same routine: one thread at +0x4e9b578 with a null object, another at +0x4e9b57b with an invalid vtable. That earlier run used UPSCALER=6; the new crash occurred with that override removed, so it is not required to hit this failure.

The latest crash dump does not include the pool record's heap memory. I retained it locally and added a bounded, read-only parent-process watcher for pool pointer/vtable transitions on future launches. No process permissions or exception behavior were changed.

Control and limits

A subsequent 720-second automated control, same runtime build and starting configuration with only VICTORY_PORT_DESCRIPTORS=0, completed at its planned limit with no recorded title/device/kernel fault. Its sampled world median was 15.1 FPS over 131 periodic samples. This was an unattended opening/boat sequence, not a replay of the player's exact gameplay inputs, and is not a proven fix. The descriptor fallback is now selected locally. A separate startup check successfully read both 216-entry command-allocator pools with the new watcher, initially with no null entries; future gameplay pointer/vtable transitions will be recorded locally.

This remains intermittent: exact gameplay inputs and a deterministic reproduction are not established. The earlier eight-minute automated run without recorded faults was shorter than this failure; it did not prove stability. The shader correction in #565 has its own synthetic red/green regression and is not claimed to fix this crash.

No title assets, save files, memory dumps or disassembly attached. Testing, analysis and this report assisted by OpenAI Codex.

**@⁠DecayingEagle** on GitHub · 2026-11-27 12:31 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/583) Manual gameplay run on Linux ended after **606.5 seconds**, exit 5, with an unhandled `0xc0000005` read of zero at title **`+0x4e9b578`**. No GPU reset, ring timeout, device-loss message or OOM kill was recorded in the checked run interval. The player confirmed this happened further into the first mission. There is no save available near the failure, so reproducing it requires replaying from the start. The automated opening/boat control below did not reach the same mission stage. ### Runtime - RX 7900 XT 20 GB, Ryzen 9 9900X, 32 GB RAM; Mesa 26.3.1 RADV. - Private Wine 11.22 (indexed mapped-view lookup), GE-Proton11-14 support DLLs, vkd3d-proton `71cae09`. - Retail 1.0.2.1; Series X mode, 2560x1440 fullscreen, ray tracing off. - `a-publier@4eb6cfd` with local integration of the dynamic descriptor metadata, exact typed-half transfers and learned late-constant ordering discussed in avatarmanz/VIctory-7900XTX#114, avatarmanz/VIctory-7900XTX#434 and fxceless/victory-fork#927; the global half-load correction in #565; the null empty-library fix in #124; and an optional first-use-pipeline gate adapted from fxceless/victory-fork#845. The early-pipeline override was unset in this crash. - Relevant settings: `VICTORY_PORT_DESCRIPTORS=1 VICTORY_RELAY=2 VICTORY_RELAY_COPY=0 VICTORY_CARD_STEPS=2 VICTORY_CARD_STEPS_LEARN=1 VICTORY_TEXTURE_NO_WAIT=0 VICTORY_THIN=1 VICTORY_UPLOAD_AHEAD=1 VICTORY_JOIN_PARTS=8`. No `VICTORY_UPSCALER` override. ### Failure and narrower object identification At the failing load, `RCX=0`, `RSI=0xfeedb90948`, `RBX=RDX=0x963`. The immediate caller chain includes `+0x4e9b4bf`, `+0x4a4a`, `+0x4d9f49c`, `+0x188463`, `+0x369a60`, `+0x15b4b76`, `+0x43c4591`, `+0x43c4314`, `+0x2215eca`. Following the pool's initialization locally identifies the first field of this 48-byte record as an **ID3D12CommandAllocator pointer**: the creation call requests IID `6102dee4-af59-4b09-b999-b44d73f09b24` through device slot 9 and stores the result there. The later failing virtual call is slot 8 (`Reset`). The fault happens before the call can reach the runtime's `allocator_reset`, which is currently a no-op returning `S_OK` in this tree. This narrows the object class; it does **not** establish where its pointer was lost, whether a CPU write or copy-back caused it, or an allocator-lifetime bug. An earlier run, before the latest renderer patches, failed after 432.2 seconds in the same routine: one thread at `+0x4e9b578` with a null object, another at `+0x4e9b57b` with an invalid vtable. That earlier run used `UPSCALER=6`; the new crash occurred with that override removed, so it is not required to hit this failure. The latest crash dump does not include the pool record's heap memory. I retained it locally and added a bounded, read-only parent-process watcher for pool pointer/vtable transitions on future launches. No process permissions or exception behavior were changed. ### Control and limits A subsequent **720-second automated control**, same runtime build and starting configuration with only `VICTORY_PORT_DESCRIPTORS=0`, completed at its planned limit with no recorded title/device/kernel fault. Its sampled world median was **15.1 FPS over 131 periodic samples**. This was an unattended opening/boat sequence, not a replay of the player's exact gameplay inputs, and is not a proven fix. The descriptor fallback is now selected locally. A separate startup check successfully read both 216-entry command-allocator pools with the new watcher, initially with no null entries; future gameplay pointer/vtable transitions will be recorded locally. This remains intermittent: exact gameplay inputs and a deterministic reproduction are not established. The earlier eight-minute automated run without recorded faults was shorter than this failure; it did not prove stability. The shader correction in #565 has its own synthetic red/green regression and is not claimed to fix this crash. No title assets, save files, memory dumps or disassembly attached. Testing, analysis and this report assisted by OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 12:31:19 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.