XCL_NETWORK=0 does not stop the title's crash reporter: a 21.5 MB minidump was uploaded via host WinHttp #305
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#305
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?
@vladbondarenko97 on GitHub · 2026-11-23 22:56 UTC · original
Summary
XCL_NETWORK=0did not prevent the title's built-in crash reporter (Backtrace/Breakpad) from uploading a 21.5 MB minidump tosubmit.backtrace.iothrough host WinHTTP. The upload completed during a crash (HTTP 200,{"response":"ok"}). Reporting it becauseXCL_NETWORKreads as the offline switch, and this is host-network traffic from guest code that bypasses it.What the log shows
%LOCALAPPDATA%\XCL\<package id>\logs\xcl.log(a run on main9ab7d76+ PR #267, Windows 11, RTX 3080 Ti,XCL_NETWORK=0):The title's own crash context (
Game Locale,Game SKU,Sandbox,TitleID, memory stats, platform, a random per-runSharedId) and the full process dump were included.Why
XCL_NETWORK=0covers XCL's HLE networking path. The Breakpad uploader calls hostWinHttp(winhttp.dll+0x3aa22appears in the crash thread dump), so it is not affected. This matches the successful reports in #232, which combinedXCL_NETWORK=0with an OS firewall block onxcl.exe.Suggested direction (owner’s call)
WinHttp*for console-code callers the way the D3D12 trace marks console-origin calls, orXCL_NETWORK=0as covering only XCL's own services and pair it with a firewall rule in the README's privacy guidance, orXCL_BLOCK_HOST_NETWORKthat rejectswinhttp/ws2_32connects for the guest.Context
This came up during the Ampere bring-up in #301 (early assert
0x80000003attitle+0x2237178); the reporter ran automatically at that crash. Full process minidumps can contain arbitrary resident memory, so other users testing on their own machines may be surprised by this as well.AI-assisted (Claude Code CLI via a model proxy). No game files attached; log lines are what xcl printed.
ConnectExstill connects (main a6f5f7a) #444@ivall on GitHub · 2026-11-23 23:32 UTC · original
Thanks - a serious one. Fixed on main in
db1ddb2: withXCL_NETWORK=0the refusals are now hooked into the system DLLs themselves for the whole process, not only into the title's imports: winhttp (WinHttpSendRequest,WinHttpConnect), wininet (InternetConnect,InternetOpenUrl,HttpSendRequest(Ex)A/W) and ws2_32 (connect,WSAConnect,sendto,WSASendTo,gethostbyname,getaddrinfo,GetAddrInfoW,GetAddrInfoExW). Whatever finds them - an import,GetProcAddress, a DLL of the title's - gets no network; loopback and local names still go through. The log saysXCL_NETWORK=0: the system's WinHTTP, WinINet and Winsock refuse the network for the whole processat start.Checked on an RX 9070: a unit test calls the functions through
GetProcAddress(refused) and a lookup of localhost (passes); the retail game still reaches its menu with the hooks (956 frames in 40 s). A crash run with the reporter's debug output on current main would confirm it end to end - please reopen if an upload still shows up. Until then a firewall rule onxcl.exeremains a good belt-and-braces.@vladbondarenko97 on GitHub · 2026-11-23 23:57 UTC · original
Re-tested end to end on the fix, as asked —
db1ddb2, retail 1.0.2.1 package (all archives present), Windows 11, RTX 3080 Ti,XCL_NETWORK=0:The uploader now reaches the payload stage — 28,578,077 bytes, i.e. a bigger dump than the 21.5 MB that left the machine before — and then
WinHttpConnectrefuses it. The run contains noHTTP Return codeline and no{"response":"ok"}at all (grep count 0 across the whole log). Before the fix, that same sequence to that same URL ended inHTTP Return code: 200/{"response":"ok"}.Repro: complete retail package,
XCL_NETWORK=0, let the title crash (ours ends with0x80000003attitle+0x1330a44after ~76 s), and the reporter engages on its own. Nothing to reopen from our side; we keep the outbound firewall rule onxcl.exeas the belt-and-braces you suggested.Unrelated to this issue, same run: with the package complete, our earlier
0x80000003attitle+0x2237178is gone — it was a missingaudio.rpfon our side, the same class as VIctory PR #12. The run now reaches XGameRuntime + the audio HAL and submits ~204k shaders, but still 0 presents.AI-assisted (Claude Code CLI via a model proxy; the run and every log line above are xcl's own output).