Repository navigation
Conversation
…ames itself The retail 1.0.2.1 title calls device slot 133 (CreatePlacedResourceX: three call sites in the image, tools/d3d12_device_calls.py). The proxy table held 128 slots, so that vtable read landed in the zeroed tail of the allocation: the call went to address 0 and the process died with an access violation at 0, with no stack and no slot name. It read as a mystery stop for a day. With 192 slots the same run names the slot and returns E_NOTIMPL, and the title's own assert replaces the silence. That is the state docs/retail_boot_chain.md records as a local stand-in for stop 12; this is the table size alone, so the refused tail (logged, E_NOTIMPL) is what the title gets until slot 133 is modelled. Test: xs_proxy_mock asserts that slot 133 is answered with E_NOTIMPL and counted, which is the check that fails if the table shrinks back under the slot. Measured with the boot stack on Windows 11 26300, RTX 5090, MSVC 19.44.
|
Closing as a duplicate of #6953, which I had not seen when I opened this (it was claimed at 16:5x, mine at 18:4x). Same one-line table size, so #6953 is the one to keep. What this PR adds that #6953 may want: a three-line check in Measured, since it is the reason the change matters: on |
|
Tested 5d2c1cb on Windows 11 with MSVC 14.51: pass. I built device_proxy_test and xs_proxy_mock_test in RelWithDebInfo. All eight CTest cases selected by The mock records one call to slot 133. The trace names slot 133 and the call returns E_NOTIMPL. I also checked slots 128 and 191, the first and last new entries. Each returns E_NOTIMPL and records one hit. On parent dde82f2, a compile-time check that the table contains slot 133 fails (128 entries). These tests use synthetic calls. They verify the proxy response and trace. I did not run the retail executable. AI-assisted. |
What and why
The retail 1.0.2.1 title calls device slot 133 —
CreatePlacedResourceX, three call sites in the image pertools/d3d12_device_calls.py(#7998). The device proxy's table held 128 slots, so that vtable read landed in the zeroed tail of the allocation: the call went to address 0, and the process died with an access violation at 0, with no stack and no slot name. That is why this stop read as a mystery for a day: everything before it passes and nothing logs.With 192 slots the same run names the slot:
and the title's own
int3assert replaces the silent access violation. This is the table size alone; slot 133 stays refused (logged,E_NOTIMPL) until it is modelled, which is whatdocs/retail_boot_chain.mdrecords as the local stand-in for stop 12.Test
xs_proxy_mocknow asserts that slot 133 answersE_NOTIMPLand is counted. ShrinkkMaxSlotsback under 133 and that check is the one that fails.Verification
device_proxy,device_proxy_traceand the fivexs_proxy_mockvariants → 8/8 passed on Windows 11 26300, MSVC 19.44, RTX 5090, with the boot stack of #7154 (main+ #4313 #4348 #6582 #6964 #6954 #2490) built from source.Claimed in #7333. No game data: slot numbers, an import name and a count only.