D3D12.X: failed replacement allocation falls back to resetting a busy allocator #983
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 ivall/xcl. Originally posted by nova-aryan on 2026-11-24T10:01:31Z.
Source inspection on main
9aec53d:alloc_pool::title_resetreturnsNonewhenGetDeviceorCreateCommandAllocatorfails while replacing a busy backing.real::alloc_resettreatsNoneas permission to reset the original allocator. That is the allocator whose recordings the pool was keeping alive.I will preserve the failure HRESULT as
Some(hr), leave the current backing/recording associations unchanged, and add a synthetic COM regression covering both failure paths. This does not change the successful allocation path.Microsoft documents allocation failure and the lifetime restriction on Reset. No claim that this explains the reported retail watchdog/null-write crash. Local build/test/game execution is disabled at the user's request; the patch will remain a draft pending validation.
upstream-sync referenced this issue2026-11-24 19:06:45 +00:00