Dota2-Gameplay icon indicating copy to clipboard operation
Dota2-Gameplay copied to clipboard

Dota 2 freezes in tier0!CUtlFilenameSymbolTable::FindFileName on Windows

Open zenithcartholdings-collab opened this issue 2 months ago • 5 comments

Description

I am opening a new issue because I can reproduce the same hang reported in #33981 on Windows 11 with NVIDIA and DirectX 11.

Hi, I can reproduce what looks like the same hang on Windows.

System: Windows 11 Intel Core i7-14700F NVIDIA GeForce RTX 4080 32 GB DDR5 Dota 2 on DirectX 11

Symptom: Dota randomly freezes and becomes “Not Responding”. It happens often when I Alt+Tab or when opening / previewing treasures and cosmetics. Windows logs it as AppHangB1 / Application Hang.

I captured multiple dumps from separate freezes and they all show the same main-thread stack:

tier0!CUtlFilenameSymbolTable::FindFileName tier0!CUtlFilenameSymbolTable::FindOrAddFileName soundsystem soundsystem resourcesystem resourcesystem resourcesystem resourcesystem resourcesystem engine2!Source2Main engine2!Source2Main engine2 engine2 engine2!Source2Main dota2 dota2!BSecureAllowed kernel32!BaseThreadInitThunk ntdll!RtlUserThreadStart

WinDbg also reports:

PROCESS_NAME: dota2.exe MODULE_NAME: tier0 IMAGE_NAME: tier0.dll FAILURE_BUCKET_ID: APPLICATION_HANG_BusyHang

The main thread is consistently stuck in:

tier0!CUtlFilenameSymbolTable::FindFileName

I have already ruled out several local causes:

Steam file verification completed successfully Shader cache cleared Dota cache files cleared Steam Overlay disabled Steam Game Recording disabled Discord Overlay disabled NVIDIA Overlay disabled THX Spatial Audio disabled Razer audio processing disabled Audio enhancements disabled Stereo output only Custom -threads launch options removed Pagefile set back to System managed No CPU affinity or priority tweaks Tested with a minimal launch option setup

The issue still reproduces with the same stack.

This seems to be inside Source 2 resource / filename handling rather than a GPU or driver crash, since there is no nvwgf2umx / nvgpucomp64 fault in these hangs.

I can provide a minidump if useful.

Example Match ID (and possibly Timestamp)

No response

Screenshots

Image

Dude, I have almost the same problem. When I press alt+tab, it’s like my internet freezes and the game stalls for 5 seconds. This also happens at random times. I’ve noticed that it’s guaranteed to happen if I don’t use alt+tab for a long time and then use it. Maybe it has something to do with having two monitors, but I’m not sure. Intel i7-11700F Win10 4070 32 gb ddr4

icno3u avatar Sep 18 '26 13:09 icno3u

@icno3u I found a setup where the issue is completely gone now. I have screenshots/results from every step if you want the full test history, but here’s the summary.

My system is an i7-14700F + RTX 4080 + 32GB DDR5-6000, playing Dota at 4K/240Hz.

Originally I was mainly using DX11. In heavy fights I would often sit around ~170 FPS while the GPU was only around 50-55% utilized, so it clearly wasn’t a GPU bottleneck.

What I’m running now:

• Vulkan instead of DX11 • Exclusive Fullscreen, 3840×2160 @ 240Hz • NVIDIA Reflex Enabled + Boost • NVIDIA Low Latency Mode OFF, since Reflex handles it • Shader Cache Size: Unlimited • No weird launch options, only -novid • VBS completely disabled • Intel VT-x / Virtualization disabled in BIOS • DDR5-6000 tuned to 34-40-38-40-72, 2N • tRFC 320 • tREFI 32768 • Pagefile changed from the tiny Windows allocation to 8GB initial / 16GB max • ReBAR enabled, PCIe 4.0 x16 working correctly

I also updated BIOS, Intel ME, chipset, DTT/IPF and LAN drivers during the testing.

With the current setup, CPU clocks stay around 5.1-5.2GHz during fights, GPU usage is now more like 60-70% instead of ~55%, and the game feels completely smooth. My memory latency also dropped from roughly 77-78ns to ~75ns.

Most importantly: the bug I was experiencing is no longer happening.

I can’t say with 100% certainty which single change fixed it because I tested several things along the way, but Vulkan + removing VBS/virtualization overhead + the memory tuning seems to be the combination that finally made the system behave properly. I can send the screenshots/benchmarks in chronological order if you want to compare it with your system.

The poke solution is not very universal) I'm going through some settings, but I'm not going to go deep and solve something. I've already come to terms with the fact that dota freezes periodically and it doesn't bother me. (6500mmr)

icno3u avatar Sep 19 '26 10:09 icno3u

It's the same issue as #32857 . existing about 2 years already.

zyunwei avatar Sep 20 '26 15:09 zyunwei

I have opened a new technical investigation with additional WinDbg evidence from a full Windows hang dump.

The filename symbol table contains 66,662 records despite using 16-bit handles, and the dump traversal identified a 71-node cyclic lookup chain. Crucially, the frozen main thread's RBX index is part of that exact cycle.

I included the disassembly, table layout, cycle details, and possible overflow mechanism.

New investigation: (https://github.com/ValveSoftware/Dota2-Gameplay/issues/36769)

This may explain the permanent FindFileName hangs reported on both Windows and Linux.

Autisto-main avatar Nov 01 '26 23:11 Autisto-main