1.0.2.1: 0x80000003 at title+0x1dac734 during Game Init (complete package, four builds, static look included) #3821
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#3821
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?
@cooper795 on GitHub · 2026-11-30 08:22 UTC · original
Summary
With a complete 1.0.2.1 package (84 files, 208.6 GB, all title DLLs,
missing=0on every module), the title boots, renders the first-boot screens for ~300 frames, then hits a first-chance and then unhandled0x80000003atvictory-image-b99f876b74d4a77f.dll+0x1dac734. The title's crash context saysGame State: Game Init.Same address with three different
victory.exebuilds, with--series-s, and with--dlss off. This is not the+0x2237178pack-mount breakpoint from #8 — that one is already gone on this machine (see "What was fixed before this").Environment
game_scarlett_master.exeSHA-256e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993Package state
Complete dump, 84 files / 208.6 GB, matching the release:
*.rpf121.6 GB;data56.8 GB / 45 files;pack29.8 GB / 13 filesBink2Scarlett.dll,XboxBvhBuilder.dll,libHttpClient.GDK.dll,amd_fidelityfx_loader_xbox.dll,amd_fidelityfx_upscaler_xbox.dllappdata0.rpf,common.rpf,script.rpf,resources.pri,MicrosoftGame.Config,appxmanifest.xml,layout_*.xml,microsoft_gameconfig.bin,Update.alignmentchunkshaders.rpf(392 MB) SHA-2560BC1634594E51CA8E7EF5F2BC6F5B32B081CE779AC094D686DE08ECB75DC24A8, identical to the copy in the published torrentLoader log at start:
Steps
Same result with
victory.exe play --series-sandvictory.exe play --dlss off.What happens
The title starts, allocates its storage (
title 7952987A, 2048 MB) and runs the first-boot screens:Then, about 10 seconds in, it stops:
The title's own crash context (
crashcontext.log) at the same moment:So it is past
System Initand insideGame Init, after the boot screens.Builds tested
49cebc4fac51cede9c8cca151c37f34c82d4733aa95093ab3bea9af9d60fbb33+0x1dac7341039c044bbb67760323f3abff7d17b924997c82c09a3ed5834eedb2e11528d8f+0x1dac734+0x1dac73480612b22a3cb76503a361caf241afd54d110c64ffc2a6e0efd9b7edb30415a3f+0x1dac734; same aftervictory.exe clear-shadersWhat was fixed before this
Before the DLLs and the package files were completed, the title stopped at the pack-mount breakpoint from #8 (
+0x2237178). Adding the missing title DLLs and thenappdata0.rpf,common.rpf,script.rpf,resources.pri,MicrosoftGame.Config,appxmanifest.xml,layout_*.xmlandmicrosoft_gameconfig.binremoved that breakpoint entirely; the title then started its boot screens and reachedGame Init, where it now stops at+0x1dac734.Static look at the breakpoint (no game code included)
Disassembled from the retail exe with the RVA-to-file mapping of its
.textsection (base0x140000000):The enclosing function (
0x1dac680) runs the same three lookups twice against two sets of global objects:The two lookup keys are 32-bit values at
.rdataRVA0x63011dcand0x63011e0(0xc1fa30c2,0x02e801f9). The callback at0x1d77d90walks a hash table ([obj+0x2a8],[obj+0x2b0], 0x110-byte buckets, SSE compare on the 4-byte key) and returns whether the entry exists. So the breakpoint means: a system-table lookup by 32-bit ID returned "not registered" duringGame Init, on the second of the two passes.Patching it out confirms it is not one bad answer but a missing subsystem: with
0xCCat+0x1dac734replaced byNOPin the exe (and--series-s --dlss off, since 1440p/DLSS refuses a changed retail file), the title gets past it, renders 575 frames, and then stops at anotherint3at+0x1ddf97f(cc 48 81 c4 e0 00 00 00 ..., same pattern) plus a0xc0000005read of0x20at+0x58a8b2a. The exe was restored afterwards (SHA-256 back toe95020b2…a08993), and the cached image rebuilt.Ask
+0x1dac734known? AtGame Init, what does the title check there (audio, video/Bink, streaming, network, package manifest)?VICTORY_*handling), so we can tell whether it is a missing HLE answer or a wrong one?VICTORY_LOGfilter you want; on this machineVICTORY_LOG=debugandVICTORY_LOG=victory_hle=debugproduce no DEBUG lines in release builds.No game files, DLLs or dumps are included in this report — only addresses, sizes and hashes.
@davemathews12 on GitHub · 2026-11-30 22:05 UTC · original
@cooper795 I checked +0x1dac734 against the same retail exe (1.0.2.1, image b99f876b74d4a77f). One correction that changes the question:
It’s one object, and the ID is registered. All six calls in 0x1dac680 take the same global, [0x147f00510]. They are two passes of the same three steps, first for ID 0x02e801f9 and then for 0xc1fa30c2. The int3 is only reached when, for 0xc1fa30c2:
0x1d4f770 finds it (true),
0x1d5ec00 finds its entry with +0x24 != 0 (registered and enabled),
and only then 0x1d77d90 returns false.
So this isn’t “an ID that was never registered”. The entry is there and enabled; it’s the third step that fails.
0x1d77d90 isn’t a plain lookup. Under the lock at 0x147bb4f58 it:
returns false at once if 0x292d0b0 says yes. That helper finds the same entry and answers yes when entry +0x14 == 0, or else asks a virtual (obj+0x2a0+0x58) about the ID;
returns false if the ID is already in a second set ([obj+0x2a8], checked with 0x292d130);
otherwise returns what 0x292d220 returns. That function adds the ID to that set and marks it.
In other words, it looks like “request/activate this registered item”, and it fails when the item reports it’s not ready (the +0x14 flag or the virtual). The shape (registered IDs, an “enabled” flag, then a per-item availability answer, during Game Init) is what you’d expect from something like package chunks, features or content that VIctory answers on the title’s behalf. That’s an inference; I haven’t confirmed it at run time.
One check that would settle which branch it is. With a breakpoint at +0x1d77db1 (the call to 0x292d0b0) on the second pass:
if al comes back 1, the item says “not available” (entry +0x14 == 0 or the virtual at +0x58). Then the virtual’s target is what to look at, because it’s probably an HLE answer;
if it’s 0 and the function still returns 0, the failure is in 0x292d220, which needs [obj+0x78] set and the ID present in the table there.
This would also explain why NOPing the int3 only moves you to the next one (+0x1ddf97f) and then a null read: whatever this item is never became ready.
On sending more files: I don’t need any more game files. The thing that would help most is something only you can do: running VIctory on your Windows PC. The memory-leak fix (#4127) is stuck only because someone has to build and run about 8 versions and watch the RAM. If you can do that, I’ll give you exact step-by-step commands and we’d find the leak ourselves instead of waiting.
What you need to do:
Post the comment above (between the lines) on #3821.
Tell me: can you run VIctory on your Windows PC (yes or no)? If yes, I’ll send the steps for finding the leak.
The hook’s warning about fix/ffx-stand-in-context is still a false alarm. That commit is already on your fork, which is where PR #4410 comes from. The hook only checks the main project, which we can’t push to and shouldn’t, so there’s nothing to push.
What you need to do:
Post the comment on #3821 (the part between the lines in my last message).
Tell me: can you run VIctory on your Windows PC (yes or no)?
nick0451 is running the bisect and found the leak’s exact shape: one 2 MB block per frame that’s never freed. That’s specific enough to search for directly.
Ran 6 commands (1 failed)
Our bisect fix worked, and nick0451 is using it. They confirmed the patch applies, they’re running the bisect now, and they’ll post the bad commit.
Their new numbers show the leak’s shape. Each frame the game keeps one 2 MB block of memory and never frees it, about 6.7 GB in under 5 minutes. They also ruled out the new switches.
I looked for it in the code using that exact shape: 2 MB sizes, the readback pool, the command-buffer setups and the delayed-free code. I didn’t find a clear culprit. Everything I checked either frees its memory, only runs when switched on, or is made once at startup. The bisect will name the exact commit within a few builds, so I’m not guessing further. When it lands I’ll read that commit and write the fix.
What you need to do:
If you haven’t yet, post the #3821 comment from my earlier message.
When nick0451 posts the commit (you’ll get an email like this one), send it to me or just say “check”.
Still open: can you run VIctory on your Windows PC (yes or no)?
The hook’s warning is still a false alarm. That branch’s commit is already on your fork, where PR #4410 comes from. The hook only looks at the main project, which we can’t push to and shouldn’t, so there’s nothing to push.
What you need to do:
If you haven’t yet, post the #3821 comment from my earlier message.
When nick0451 posts the bad commit, send it to me or just say “check”.
Tell me if you can run VIctory on your Windows PC (yes or no).
Ok check all
Ran a command, ran a subagent, received a message
No bisect result yet on the leak. Here’s where things stand:
Thread What’s new For us
#4127 (memory leak) nick0451 is running the bisect with our fix (your email showed it). No bad commit posted yet. ajmi982 posted another crash caused by the leak. Waiting for the commit
#2543 (texture speedup) Merged. I’d reviewed it, and its textures now load about 5× faster. The author is offering a follow-up that builds on it. Nothing needed
#3821 (Game Init crash) No comments, and ours isn’t there. You still need to post it
#4410, #3712, #3687 (our PRs) No change: open, no new replies. Waiting
#1944, #1971, #3524, #3501, #2415, #3451 Nothing new since the last check. —
So far, the bisect fix is our most useful contribution: it’s what let nick0451 start bisecting the leak.
What you need to do:
Post the #3821 comment. It’s in my message from a few replies back, between the two lines that start “@cooper795 I checked…”. If it’s hard to find, say “resend 3821” and I’ll paste it again.
When you get an email that nick0451 posted the bad commit, send it to me or just say “check”.
Tell me if you can run VIctory on your Windows PC (yes or no).
The warning about fix/ffx-stand-in-context is still a false alarm. Its commit is already on your fork, which is where PR #4410 comes from. The hook only looks at the main project, which we can’t push to and shouldn’t, so there’s nothing to push.
What you need to do:
Post the #3821 comment, or say “resend 3821” and I’ll paste it again.
When nick0451 posts the bad commit, send it to me or just say “check”.
Tell me if you can run VIctory on your Windows PC (yes or no).