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

Linux client: infinite loop in CUtlFilenameSymbolTable::FindFileName causes permanent hang (native Linux, Vulkan)

Open Cheza307 opened this issue 4 months ago • 7 comments

Summary

The Dota 2 native Linux client hung permanently while sitting in the main menu after a long session. The process did not crash and was not blocked by the kernel: the main thread was stuck in an unbounded loop inside CUtlFilenameSymbolTable::FindFileName() (libtier0.so), reached from the sound system via the resource system.

The lookup never returned. The main thread burned 100% of one core in userspace with zero syscalls for the entire observation window (~4 minutes, from the hang until I killed the process). Every other thread — including all render threads — stayed parked, so no further frames were submitted and the window was frozen. Only SIGKILL recovered it.

Environment

Dota 2 build id 24442265
ClientVersion / ServerVersion 6872
SourceRevision 10860959
Version date Jul 28 2026 16:56:32
Branch native Linux (game/bin/linuxsteamrt64), Vulkan renderer
OS CachyOS (Arch-based)
Kernel 7.1.5-1-cachyos-bore
CPU AMD Ryzen 7 9800X3D
GPU AMD Radeon RX 7900 XTX (Navi 31, 1002:744c)
Mesa / RADV 26.1.5
RAM 32 GB

Not running under Proton. No Gamescope. Kernel cmdline includes amdgpu.dcdebugmask=0x10 pcie_aspm=off.

Timeline

  • 2026-07-29 15:00:59 — client started.
  • Several matches played back to back over the following ~10.5 hours.
  • 2026-07-30 01:33:12 — last SSGL: Game server change [570]; client back in the dashboard.
  • 2026-07-30 01:41:08 → 01:42:06 — this pair repeats roughly every 2 seconds, 7 times:
    Video player: Could not open video input
    Video playback error (1): Failed to initialize manifest
    
  • 2026-07-30 01:42:06 — last line the client ever emitted. Total silence afterwards.
  • 2026-07-30 ~01:46 — process killed with SIGKILL after confirming it would not recover.

Total session length before the hang: 10 h 41 min.

Main thread stack at the time of the hang

Captured live on the hung process with eu-stack -p <pid>. Unsymbolized frames resolved manually against /proc/<pid>/maps:

#0  V_stricmp_fast                                    libtier0.so +0x189d33
#1  CUtlFilenameSymbolTable::FindFileName(char const*) const
                                                      libtier0.so +0x5e5c4
#2  CUtlFilenameSymbolTable::FindOrAddFileName(char const*)
                                                      libtier0.so +0x5e678
#3  libsoundsystem.so    +0x24787c
#4  libsoundsystem.so    +0x24612e
#5  libresourcesystem.so +0xf4fa
#6  libresourcesystem.so +0x243ac
#7  libresourcesystem.so +0x24c3c
#8  libresourcesystem.so +0x2500d
#9  libengine2.so        +0xd9a05
#10 libengine2.so        +0xae2ac
#11 libengine2.so        +0xaecf5
#12 libengine2.so        +0x91ee0
#13 libengine2.so        +0xa5e31
#14 Source2Main                                       libengine2.so +0xa619c

So: engine tick → resource system → sound system requesting a resource → filename interning → case-insensitive string compare, looping forever.

Measurements proving it is a userspace spin, not a stall

Sampled on the hung main thread over a 5-second wall-clock window:

Counter Delta over 5 s Meaning
utime +500 jiffies (= 5.00 s) 100% userspace, continuously
stime +0 not a single syscall
voluntary_ctxt_switches +0 (frozen at 203,513,100) never blocks or yields
nonvoluntary_ctxt_switches +31 only scheduler preemption
/proc/<tid>/syscall running (3 samples) never in a syscall
/proc/<tid>/wchan 0 not waiting on anything

Zero stime and zero voluntary context switches rules out lock contention, I/O and GPU waits: the thread is executing pure userspace code and never asks the kernel for anything.

All other threads were idle

61 threads total. 60 of them were parked in futex_wait or poll, and accumulated +0 CPU ticks over the same 5-second window — including:

  • 7 × GlobPool/N (worker pool) — all in CAtomicSemaphore::DoWait()
  • 4 × VKRenderThread — all parked, zero CPU
  • 2 × WSI swapchain threads — parked
  • 4 × Video Decode Thread — parked

This is why the image was frozen: the render threads were starved of work by the spinning main thread, so no frame was ever submitted.

Ruled out

These were all checked and are not the cause:

  • No GPU hang. No amdgpu ring timeout, no GPU reset, no VM page fault in dmesg/journal.
  • No crash. coredumpctl empty.
  • Not memory. 11 GiB used of 31 GiB, 19 GiB available; PSI memory full avg10=0.00.
  • Not I/O. PSI io full avg10=0.00.
  • Not the video-player errors themselves. They are the last thing logged, but the stack points at the sound path. I mention them only because a dashboard video's audio track is loaded through libsoundsystem, so they may share a trigger — I have no evidence either way.
  • The journal also shows heavy x86/split lock detection spam from Steam's own CHTTPClientThre threads during this period. kernel.split_lock_mitigate = 0 here, so the kernel only warns and does not throttle. Almost certainly unrelated noise, included for completeness.

What I can and cannot conclude

Established: the hang is an unbounded loop in CUtlFilenameSymbolTable::FindFileName, in the client's own code, on the main thread.

Inference: a lookup that makes zero progress over minutes cannot be explained by a large table — even a fully degenerate linear scan over millions of entries would complete in milliseconds. This strongly suggests the table's internal structure had become cyclic, i.e. it was already corrupt by the time of the hang.

Not established: how it became corrupt. In particular I want to be explicit that I did not observe concurrent access — at capture time exactly one thread was touching the table and all others were parked. So while a data race during a previous insert is a plausible way to end up with a cyclic structure, I have no evidence for it and am not claiming it.

Reproduction

Not deterministic. Happened once, after a 10 h 41 min session with many back-to-back matches. I have no reliable repro steps. If it is table-size or lifetime dependent, long uninterrupted sessions would be the place to look.

Attachments

eu-stack dump — all 61 threads (captured live on the hung process) (04-eu-stack-all-threads.txt)
PID 37467 - process
TID 37467:
#0  0x00007fe829eafd33 V_stricmp_fast
#1  0x00007fe829d845c4 CUtlFilenameSymbolTable::FindFileName(char const*) const
#2  0x00007fe829d84678 CUtlFilenameSymbolTable::FindOrAddFileName(char const*)
#3  0x00007fe7abe2a87c
#4  0x00007fe7abe2912e
#5  0x00007fe82408c4fa
#6  0x00007fe8240a13ac
#7  0x00007fe8240a1c3c
#8  0x00007fe8240a200d
#9  0x00007fe828995a05
#10 0x00007fe82896a2ac
#11 0x00007fe82896acf5
#12 0x00007fe82894dee0
#13 0x00007fe828961e31
#14 0x00007fe82896219c Source2Main
#15 0x0000560bacfa86d0
#16 0x0000560bacfa97b6
#17 0x00007fe82ba27c8e
#18 0x00007fffa0508aae
#19 0x2f6c61636f6c2e2f
eu-stack: dwfl_thread_getframes tid 37467 at 0x2f6c61636f6c2e2e in /run/host/usr/lib/ld-linux-x86-64.so.2: Callback returned failure
TID 37470:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37470 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37471:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37471 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37472:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37472 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37473:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37473 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37474:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37474 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37475:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37475 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37476:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37476 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37479:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37479 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37480:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37480 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37481:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37481 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37482:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37482 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37483:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37483 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37484:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37484 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37485:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37485 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37486:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37486 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37487:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37487 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37488:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37488 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37489:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37489 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37490:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37490 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37491:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37491 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37492:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37492 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37493:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37493 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37494:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37494 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37495:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37495 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37496:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37496 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37497:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37497 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37498:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37498 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37499:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37499 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37500:
#0  0x00007fe82bab5fb2
#1  0x0000000000000000
eu-stack: dwfl_thread_getframes tid 37500 at 0xffffffffffffffff in /run/host/usr/lib/ld-linux-x86-64.so.2: Callback returned failure
TID 37501:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37501 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37502:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37502 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37503:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37503 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37507:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37507 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37508:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37508 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37515:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37515 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37516:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37516 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37517:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37517 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37775:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37775 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37776:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37776 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37777:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37777 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37778:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37778 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37779:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37779 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37819:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37819 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37820:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37820 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37821:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37821 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37827:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 37827 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 37934:
#0  0x00007fe82bb47e4d
#1  0x00007fe829e4e1cf CAtomicSemaphore::DoWait()
#2  0x00007fe829d8e4c8
#3  0x00007fe829d8e7d2
#4  0x00007fe829e5086a CThread::ThreadProc(void*)
#5  0x00007fe829e50a9b
#6  0x00007fe82baacd6c
eu-stack: dwfl_thread_getframes tid 37934 at 0x7fe82baacd6b in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 38000:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 38000 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 38005:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 38005 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 38261:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 38261 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 38262:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 38262 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 38263:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 38263 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 38264:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 38264 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 39971:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 39971 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 40200:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 40200 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 40201:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 40201 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 40901:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 40901 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 52482:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 52482 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 71956:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 71956 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
TID 71957:
#0  0x00007fe82bab5fb2
eu-stack: dwfl_thread_getframes tid 71957 at 0x7fe82bab5fb2 in /run/host/usr/lib/libc.so.6: Callback returned failure
Client console output — 01:30 to the final line at 01:42:06 (01-console-linux-excerpt.txt)
### console-linux.txt — 01:30:00 -> derniere ligne (01:42:06, puis silence total)

[2026-07-30 01:35:28] Video player: Could not open video input
[2026-07-30 01:35:28] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:35:29] Video player: Could not open video input
[2026-07-30 01:35:29] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:35:29] Video player: Could not open video input
[2026-07-30 01:35:29] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:35:30] Video player: Could not open video input
[2026-07-30 01:35:30] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:35:31] Video player: Could not open video input
[2026-07-30 01:35:31] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:35:31] Video player: Could not open video input
[2026-07-30 01:35:31] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:36:01] 
[2026-07-30 01:36:01] (process:37467): Pango-CRITICAL **: 01:36:01.973: pango_layout_line_get_x_ranges: assertion 'start_index <= end_index' failed
[2026-07-30 01:36:01] 
[2026-07-30 01:36:01] (process:37467): Pango-CRITICAL **: 01:36:01.973: pango_layout_line_get_x_ranges: assertion 'start_index <= end_index' failed
[2026-07-30 01:41:08] Video player: Could not open video input
[2026-07-30 01:41:08] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:41:10] Video player: Could not open video input
[2026-07-30 01:41:10] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:41:12] Video player: Could not open video input
[2026-07-30 01:41:12] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:41:14] Video player: Could not open video input
[2026-07-30 01:41:14] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:41:16] Video player: Could not open video input
[2026-07-30 01:41:16] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:41:27] Video player: Could not open video input
[2026-07-30 01:41:27] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:42:06] Video player: Could not open video input
[2026-07-30 01:42:06] Video playback error (1): Failed to initialize manifest
[2026-07-30 01:48:32] /home/cz/.local/share/Steam/steamapps/common/dota 2 beta/game/dota.sh: line 118: 37467 Killed                  ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
[2026-07-30 01:48:32] gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
[2026-07-30 01:48:32] Game Recording - game stopped [gameid=570]
[2026-07-30 01:48:32] Removing process 70729 for gameID 570
[2026-07-30 01:48:32] Removing process 70590 for gameID 570
[2026-07-30 01:48:32] Removing process 70204 for gameID 570
[2026-07-30 01:48:32] Removing process 70192 for gameID 570
[2026-07-30 01:48:32] Removing process 68278 for gameID 570
[2026-07-30 01:48:32] Removing process 65290 for gameID 570
[2026-07-30 01:48:32] Removing process 65279 for gameID 570
[2026-07-30 01:48:32] Removing process 65166 for gameID 570
[2026-07-30 01:48:32] Removing process 65161 for gameID 570
[2026-07-30 01:48:32] Removing process 65150 for gameID 570
[2026-07-30 01:48:32] Removing process 65023 for gameID 570
[2026-07-30 01:48:32] Removing process 65018 for gameID 570
[2026-07-30 01:48:32] Removing process 61469 for gameID 570
[2026-07-30 01:48:32] Removing process 57262 for gameID 570
[2026-07-30 01:48:32] Removing process 57258 for gameID 570
[2026-07-30 01:48:32] Removing process 41605 for gameID 570
[2026-07-30 01:48:32] Removing process 39813 for gameID 570
[2026-07-30 01:48:32] Removing process 37469 for gameID 570
[2026-07-30 01:48:32] Removing process 37468 for gameID 570
[2026-07-30 01:48:32] Removing process 37467 for gameID 570
[2026-07-30 01:48:32] Removing process 37466 for gameID 570
[2026-07-30 01:48:32] Removing process 37464 for gameID 570
[2026-07-30 01:48:32] Removing process 37462 for gameID 570
[2026-07-30 01:48:32] Removing process 37353 for gameID 570
[2026-07-30 01:48:32] Removing process 37352 for gameID 570
[2026-07-30 01:48:32] Removing process 37344 for gameID 570
[2026-07-30 01:48:46] reaping pid: 37522 -- gameoverlayui
Steam gameprocess_log.txt — end of session (02-gameprocess-excerpt.txt)
### gameprocess_log.txt — fin de session

[2026-07-29 20:13:22] SSGL: Game server change [570]
[2026-07-29 20:26:03] SSGL: Game server change [570]
[2026-07-29 20:37:05] AppID 570 adding PID 61469 as a tracked process
[2026-07-29 20:37:12] SSGL: Game server change [570]
[2026-07-29 21:47:47] SSGL: Game server change [570]
[2026-07-29 22:37:45] AppID 570 adding PID 65018 as a tracked process
[2026-07-29 22:37:46] AppID 570 adding PID 65023 as a tracked process
[2026-07-29 22:41:06] AppID 570 adding PID 65150 as a tracked process
[2026-07-29 22:41:07] AppID 570 adding PID 65161 as a tracked process
[2026-07-29 22:41:07] AppID 570 no longer tracking PID 65161, exit code -1
[2026-07-29 22:41:07] AppID 570 no longer tracking PID 65150, exit code -1
[2026-07-29 22:41:07] AppID 570 no longer tracking PID 65023, exit code -1
[2026-07-29 22:41:07] AppID 570 no longer tracking PID 65018, exit code -1
[2026-07-29 22:41:07] AppID 570 no longer tracking PID 61469, exit code -1
[2026-07-29 22:41:07] AppID 570 no longer tracking PID 57262, exit code -1
[2026-07-29 22:41:07] AppID 570 no longer tracking PID 57258, exit code -1
[2026-07-29 22:41:12] AppID 570 adding PID 65166 as a tracked process
[2026-07-29 22:44:02] AppID 570 adding PID 65279 as a tracked process
[2026-07-29 22:44:05] AppID 570 adding PID 65290 as a tracked process
[2026-07-29 23:28:15] AppID 570 adding PID 68278 as a tracked process
[2026-07-29 23:28:43] SSGL: Game server change [570]
[2026-07-30 00:17:26] SSGL: logged on while running
[2026-07-30 00:33:51] SSGL: Game server change [570]
[2026-07-30 00:34:01] AppID 570 adding PID 70192 as a tracked process
[2026-07-30 00:34:06] AppID 570 adding PID 70204 as a tracked process
[2026-07-30 00:44:11] AppID 570 adding PID 70590 as a tracked process
[2026-07-30 00:44:11] AppID 570 no longer tracking PID 70590, exit code -1
[2026-07-30 00:44:11] AppID 570 no longer tracking PID 70204, exit code -1
[2026-07-30 00:44:11] AppID 570 no longer tracking PID 70192, exit code -1
[2026-07-30 00:44:11] AppID 570 no longer tracking PID 68278, exit code -1
[2026-07-30 00:44:11] AppID 570 no longer tracking PID 65290, exit code -1
[2026-07-30 00:44:11] AppID 570 no longer tracking PID 65279, exit code -1
[2026-07-30 00:44:11] AppID 570 no longer tracking PID 65166, exit code -1
[2026-07-30 00:46:46] AppID 570 adding PID 70729 as a tracked process
[2026-07-30 00:46:57] SSGL: Game server change [570]
[2026-07-30 01:33:12] SSGL: Game server change [570]
[2026-07-30 01:48:32] AppID 570 no longer tracking PID 70729, exit code -1
[2026-07-30 01:48:32] AppID 570 no longer tracking PID 37467, exit code -1
[2026-07-30 01:48:32] AppID 570 no longer tracking PID 37462, exit code -1
[2026-07-30 01:48:32] AppID 570 no longer tracking PID 37352, exit code -1
[2026-07-30 01:48:32] AppID 570 no longer tracking PID 37344, exit code 0
[2026-07-30 01:48:32] Remove 570 from running list
System journal — 01:40 to 01:47, trimmed (03-journal-excerpt.txt)
### System journal, 2026-07-30 01:40:00 -> 01:47:00 (hang at 01:42:06, SIGKILL at ~01:46)
### Filtered out: unrelated userspace services, and repetitive x86 split-lock warnings
### from Steam's own CHTTPClientThre threads (609 identical lines; 3 kept as samples).

juil. 30 01:40:01 cachyos-x8664 kernel: handle_bus_lock: 116 callbacks suppressed
juil. 30 01:40:01 cachyos-x8664 kernel: x86/split lock detection: #DB: CHTTPClientThre/34914 took a bus_lock trap at address: 0xf34cfcb4
juil. 30 01:40:01 cachyos-x8664 kernel: x86/split lock detection: #DB: CHTTPClientThre/52917 took a bus_lock trap at address: 0xf34cfcb4
juil. 30 01:41:08 cachyos-x8664 steam[34425]: Video player: Could not open video input
juil. 30 01:41:08 cachyos-x8664 steam[34425]: Video playback error (1): Failed to initialize manifest
juil. 30 01:41:10 cachyos-x8664 steam[34425]: Video player: Could not open video input
juil. 30 01:41:10 cachyos-x8664 steam[34425]: Video playback error (1): Failed to initialize manifest
juil. 30 01:41:12 cachyos-x8664 steam[34425]: Video player: Could not open video input
juil. 30 01:41:12 cachyos-x8664 steam[34425]: Video playback error (1): Failed to initialize manifest
juil. 30 01:41:14 cachyos-x8664 steam[34425]: Video player: Could not open video input
juil. 30 01:41:14 cachyos-x8664 steam[34425]: Video playback error (1): Failed to initialize manifest
juil. 30 01:41:16 cachyos-x8664 steam[34425]: Video player: Could not open video input
juil. 30 01:41:16 cachyos-x8664 steam[34425]: Video playback error (1): Failed to initialize manifest
juil. 30 01:41:28 cachyos-x8664 steam[34425]: Video player: Could not open video input
juil. 30 01:41:28 cachyos-x8664 steam[34425]: Video playback error (1): Failed to initialize manifest
juil. 30 01:42:06 cachyos-x8664 steam[34425]: Video player: Could not open video input
juil. 30 01:42:06 cachyos-x8664 steam[34425]: Video playback error (1): Failed to initialize manifest
juil. 30 01:44:14 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:44:14 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:44:46 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:44:46 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:44:53 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:44:53 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:45:27 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:45:27 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:45:28 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:45:28 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:46:38 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.
juil. 30 01:46:38 cachyos-x8664 kwin_wayland_wrapper[2198]: ATTENTION: default value of option mesa_glthread overridden by environment.

/proc/<pid>/maps (979 KB) is omitted on purpose: every frame address above is already resolved to library + offset, which is what is needed to symbolize. Available on request if you want to verify the resolutions.

Cheza307 avatar Jul 30 '26 00:07 Cheza307

Windows full-dump confirmation: table is full at the 16-bit boundary and the bucket is cyclic

I reproduced the same permanent main-thread spin on Windows 11. This has occurred three times, including with both Vulkan and DX11. Windows Error Reporting classified each occurrence as AppHangB1 with hang signature 5095.

For the latest occurrence I captured a 12.1 GB full user-mode dump while dota2.exe was hung. The stack matches this Linux report and the older Windows report #26295:

tier0.dll!CUtlFilenameSymbolTable::FindFileName+0x304
tier0.dll!CUtlFilenameSymbolTable::FindOrAddFileName+0x30
soundsystem.dll+0xb2c33
soundsystem.dll+0xb1faf
resourcesystem.dll+0x9607
resourcesystem.dll+0x18f8b
resourcesystem.dll+0x19f94
resourcesystem.dll+0x1b9a0
resourcesystem.dll+0x1b4a1
engine2.dll+0x2278e2
engine2.dll+0x20f7f6
engine2.dll+0x207d6f
engine2.dll+0x208f96
engine2.dll!Source2Main+0x1cf

The lookup target at capture time was:

sounds/vo/sven/sven_kill_10.vsnd

That resource is present in game/dota/pak01_dir.vpk, so this is not a missing asset.

Direct inspection of the filename-symbol table

The lookup code uses a 16-bit node index. I walked the table directly from the captured process memory.

Usable 16-bit entries: 65,535
Occupied entries:      65,535
Unique string values:  65,524
.vsnd entries:         65,213
Duplicate values:      11

Every index from 0x0001 through 0xffff contains a non-null entry. The table is therefore completely full at the 16-bit boundary. It is not being exhausted by repeated insertion of one name: almost every entry is a distinct sound filename.

Confirmed cyclic bucket

Starting at the node being examined by FindFileName, I followed the 16-bit next field from process memory. The traversal visits 75 distinct nodes and then returns to the starting node:

0xfb89 -> 0xf200 -> ... -> 0xfe74 -> 0xfb95 -> 0xfb89

The closing edge is:

index 0xfb95: "temp_levelup_01.vsnd" -> next 0xfb89
index 0xfb89: "temp_rival_10.vsnd"

sven_kill_10.vsnd does not occur anywhere in those 75 nodes, so the lookup cannot succeed and the chain can never terminate at index 0. This explains the permanent userspace spin observed here and in #26295.

The exact relationship between table exhaustion and creation of the bad edge still needs confirmation in source, but the dump establishes both conditions simultaneously:

  1. all 65,535 representable entries are occupied; and
  2. a lookup bucket has become cyclic.

This strongly points to the capacity/overflow handling of CUtlFilenameSymbolTable, rather than rendering, GPU, I/O, or a platform-specific issue.

Captured environment

OS: Windows 11 build 26200.8875
GPU: NVIDIA GeForce RTX 5070 Ti
Renderer in latest dump: DX11
Previous occurrence: Vulkan
Dota executable timestamp: 0x6a6bc1c2
Session length before latest hang: approximately 5 h 17 min

No display-driver reset, WHEA hardware error, or GPU timeout was logged at the time of the hang.

I have retained the full 12.1 GB process dump and corresponding WER report. I am not attaching the dump publicly because it may contain sensitive process memory, but I can provide it to Valve through a private upload channel if requested.

thune-xiaobai avatar Jul 31 '26 16:07 thune-xiaobai

This should be in ValveSoftware/Dota-2

yetanotherqubick avatar Jul 31 '26 17:07 yetanotherqubick

This should be in ValveSoftware/Dota-2

But its not a Linux or Mac specific issue.

thune-xiaobai avatar Jul 31 '26 17:07 thune-xiaobai

This should be in ValveSoftware/Dota-2

But its not a Linux or Mac specific issue.

Oh, I see. Sorry. Then the title is misleading.

yetanotherqubick avatar Jul 31 '26 20:07 yetanotherqubick

Linux confirmation from a live hung process: table full at the 16-bit boundary, exactly 1 of 1024 buckets cyclic

OP here. This hung again on 2026-08-18 on the same Linux machine. This time I inspected the table in the live hung process with gdb, which independently reproduces @thune-xiaobai's Windows findings and adds the bucket-level detail.

Still present in ClientVersion 6905 / SourceRevision 10917981 (VersionDate Aug 17 2026).

Corrected stack: the loop is in CCountedStringPool_CI::FindStringHandle, not FindFileName

My original report and the Windows dump both attribute frame #1 to CUtlFilenameSymbolTable::FindFileName. That is off by one frame. gdb on the live process resolves:

#0  V_stricmp_fast                                         libtier0.so
#1  CCountedStringPool_CI::FindStringHandle(char const*)    libtier0.so   <-- the actual loop
#2  CUtlFilenameSymbolTable::FindFileName(char const*)      libtier0.so
#3  CUtlFilenameSymbolTable::FindOrAddFileName(char const*)
    ... libsoundsystem.so -> libresourcesystem.so -> libengine2.so -> Source2Main

FindFileName splits the path and calls FindStringHandle twice (directory part, then filename) through a PLT thunk, so unwinders that resolve to the nearest exported symbol land on FindFileName. The infinite loop is the chain walk inside FindStringHandle.

Structure, from the disassembly

this+0x10 : uint16 buckets[1024]        index = hash & 0x3ff
this+0x28 : element[] , 16 bytes each
              +0x00  char*  string
              +0x08  uint16 next        0 terminates
<+31>: and    $0x3ff,%eax                 ; 1024 buckets
<+36>: movzwl (%rdx,%rax,2),%r12d         ; head index
<+63>: shl    $0x4,%rbx                   ; 16-byte elements
<+67>: mov    (%rax,%rbx,1),%rsi
<+71>: call   V_stricmp_fast
<+84>: movzwl 0x8(%rax,%rbx,1),%r12d      ; next
<+94>: jne    <+56>                       ; loop, no visit cap, no cycle guard

A cyclic next chain is therefore an unconditional permanent hang.

Table state at hang time

Usable 16-bit entries:  65,535
Occupied entries:       65,535      (zero free)
Unique string values:   65,533
Duplicate values:            2
.vsnd entries:          65,229      (99.5%)

Same picture as the Windows dump (65,535 occupied / 65,524 unique / 65,213 .vsnd). The table is completely full at the 16-bit boundary, and it is not one name inserted repeatedly — nearly every entry is a distinct sound filename.

Exactly one corrupted bucket out of 1024

Walking all 1024 bucket chains:

Buckets total:                1024
Non-empty buckets:            1024
Cyclic buckets:                  1     <-- bucket 828
Max chain length:              297
Nodes reachable from buckets: 65,469 / 65,535   (66 orphaned)

Bucket 828, head index 0x0037, 60 nodes, tail links back to the head:

[ 0] 0x0037  abad_ally_04.vsnd             -> 0xfb56
[ 1] 0xfb56  dk_slyrak_rival_027.vsnd      -> 0xf831
[ 2] 0xf831  dk_davion_deny_pain_05.vsnd   -> 0xf666
 ...
[57] 0x11ec  earth_arcana_kill_01.vsnd     -> 0x0c5e
[58] 0x0c5e  auto_orac_itemare_01.vsnd     -> 0x09a7
[59] 0x09a7  auto_bristle_respawn_08.vsnd  -> 0x0037     <-- faulty edge, should be 0

The hung thread was walking this chain (r12 = 0xa930, a node inside the cycle).

Two details about the shape of it:

  • Excluding the head, the chain is strictly decreasing by index (0xfb56 > 0xf831 > ... > 0x09a7), which is what insert-at-head with a monotonically increasing allocator produces. The head 0x0037 breaks that pattern and is lower than every other node in the chain.
  • The correct chain would be 0xfb56 -> ... -> 0x09a7 -> 0. What is present instead is index 0x0037 prepended as head and written into the old tail's next.

That is consistent with the index allocator handing out 0x37 — an index already in use — once the 65,535-entry space was exhausted, and the link fixup then closing the loop. This points at the exhaustion path in CCountedStringPool_CI, matching the Windows conclusion.

The trigger is a lookup miss on that bucket

At capture time the lookup target was:

abad_deny_14.vsnd

I checked all 65,535 entries: that string is not present anywhere in the table. So:

  1. FindOrAddFileName() is called for a sound filename not yet in the pool;
  2. FindStringHandle walks bucket 828 looking for it;
  3. the miss requires the walk to reach a terminating 0, which the cycle never provides;
  4. permanent spin.

This makes the failure condition precise: a hang needs a cyclic bucket AND a lookup that misses on it. A cyclic bucket is otherwise silent — any lookup that hits one of its 60 nodes returns normally. That would explain why the client keeps running for hours after the corruption is created and then dies on one unlucky new sound name.

Chain length here (60) is well below the 297 maximum, so this is not a degenerate oversized bucket; it is an ordinary chain with a bad terminator.

Secondary observation: chains merge

Something else showed up that I cannot fully explain and that someone with the source can confirm or dismiss quickly. All 1024 bucket heads are distinct, yet 13,903 nodes are reachable from more than one bucket head, and the sum of all 1024 chain walks is 83,741 nodes against only 65,469 distinct reachable ones.

Concretely, heads[1] = 0xff6d and heads[676] = 0x00e4, and 0x00e4 lies inside bucket 1's chain — bucket 676's chain is a suffix of bucket 1's. In textbook separate chaining that cannot happen.

Merged chains are not fatal on their own: lookups still terminate, they just compare against entries from other buckets. But if a node ends up reachable only from the wrong bucket, its lookup misses and the name gets inserted a second time — and the table does contain exactly 2 duplicate values (range_projectile_impact3.vsnd at 0x0002/0x4e55, venm_respawn_02.vsnd at 0x0012/0x02b0). The 66 orphaned nodes point the same way. This looks like the same link-maintenance defect as the cycle, caught at a less severe stage.

Environment

OS:        CachyOS, kernel 7.1.8
GPU:       AMD Radeon RX 7900 XTX (RADV NAVI31)
Renderer:  native Linux, Vulkan
Mesa:      26.2.0        (my original report was 26.1.5 -- rules out Mesa/RADV)
Client:    ClientVersion 6905, SourceRevision 10917981
Session length before hang: 7 h 14 min

No amdgpu ring timeout, no GPU reset, no coredump. Main-thread deltas over 5 s while hung: utime +5.00 s, stime +0, voluntary_ctxt_switches +0 — pure userspace spin, zero syscalls. All 4 VKRenderThread at +0 ticks, which is why the image freezes while the process stays alive.

Session lengths across the three reports are 5 h 17 (Windows), 7 h 14 (this one), 10 h 41 (original). There is no fixed threshold, which fits a table that fills gradually and then takes a miss on the corrupted bucket.

Reproducible inspection recipe on Linux (no 12 GB dump needed)

For anyone else who hits this, while the client is hung:

gdb -p $(pidof dota2) -batch \
  -ex "thread 1" -ex "frame 1" \
  -ex "info registers r14 r12" -ex "x/s \$r13"

r14 is the CCountedStringPool_CI *, r12 is the current node index, r13 is the string being looked up. Then read *(r14+0x10) for the bucket array and *(r14+0x28) for the element array and walk the 16-byte entries as described above. The whole capture takes a few seconds and about 1 MB of dumped memory.

Summary

Two platforms, three different GPU/driver stacks, both Vulkan and DX11, and the full-table state now confirmed on Linux from a live process. The evidence points at link maintenance in CCountedStringPool_CI once the 16-bit index space is exhausted. A visit cap or cycle guard in the FindStringHandle walk would downgrade a permanent hang into a recoverable failure, but the 65,535-entry ceiling on sound filenames is what makes long sessions reach this state in the first place.

Cheza307 avatar Aug 18 '26 20:08 Cheza307

Fourth occurrence: the bucket-head distribution shows the 16-bit index allocator wraps around and hands out live slots

OP again. Hung a fourth time on 2026-09-07, same Linux machine, captured live with gdb as before. This one narrows the mechanism down considerably, and it also corrects a claim I made in my previous comment.

Still present in ClientVersion 6924 / SourceRevision 10969619 (VersionDate Sep 04 2026), Mesa 26.2.2 (my three Linux reports now span Mesa 26.1.5, 26.2.0 and 26.2.2, and clients 6872, 6905 and 6924).

The new evidence: where the 1024 bucket heads live

Chains are built by insert-at-head, and node indices are handed out by an increasing allocator, so a healthy chain is strictly decreasing by index and a bucket head should be the newest index in that bucket. Across all 1024 heads I get:

0x0003 - 0x03ff : 643 heads
0x0400 - 0xea86 :   0 heads      <-- nothing at all
0xea87 - 0xffff : 381 heads

With a monotonic allocator, the expected number of heads below 0x400 is 1024 * 1023 / 65535 ≈ 16. There are 643, and the two clusters are separated by a gap covering 90% of the index space with not a single head in it.

That is the signature of an allocator that filled 1 → 0xffff and then restarted at 1. The highest low head is exactly 0x03ff, so by hang time the second pass had reached at least that far. The 643 low heads are the buckets that received an insertion after the wrap; the 381 high heads are buckets untouched since.

The problem is that those recycled slots were still live. Re-using slot n overwrites the string/next of a node that is still linked into some chain, which produces, in increasing order of severity:

  1. Merged chains — the overwritten node's next now points into a different bucket's chain. 30,708 nodes are reachable from more than one bucket head, and walking all 1024 chains visits 175,580 nodes for only 65,478 distinct ones. One node (tink_first_01.vsnd, index 0x006a) is reachable from 29 different buckets.
  2. Orphans — 57 nodes reachable from no bucket head at all.
  3. Duplicates — a name whose chain got broken is missed by lookup and inserted a second time. There is exactly one duplicate, and it fits the model precisely: wingflaps_heavy_03.vsnd at 0x02ee (post-wrap) and 0x7bf5 (pre-wrap). The two duplicates in my August capture fit it too (0x0002+0x4e55, 0x0012+0x02b0) — in every case one low post-wrap index paired with one pre-wrap index.
  4. Cycles — the fatal case, when the relink closes the chain on itself.

Low indices are measurably the damaged ones: 77.0% of indices below 0x400 appear in more than one bucket, against 46.4% of indices at or above 0x400.

Correction to my August comment

I wrote that the cyclic chain was "strictly decreasing excluding the head" and that the head was "lower than every other node". That was right for that capture but I generalised it wrongly — the anomalous prefix is not always one node. This time there are two cyclic buckets and each has a two-node prefix:

bucket 818: 0x037e, 0x0043, then 0xffa8 > 0xf6fa > ... > 0x10fa  --> back to 0x037e
bucket 829: 0x01cf, 0x0078, then 0xfe63 > 0xfa95 > ... > 0x13bf  --> back to 0x01cf
August    : 0x0037,          then 0xfb56 > ...                   --> back to 0x0037

In all three, every prefix node is below 0x400, i.e. post-wrap, and everything after the prefix is strictly decreasing. So the shape is consistent across captures — the prefix length is just the number of post-wrap insertions that bucket happened to receive. The generic rule is "the prefix is the post-wrap insertions", not "the head is the single reused index".

Full state this time:

Occupied entries : 65,535 / 65,535   (65,534 unique, 1 duplicate, 65,237 .vsnd)
Cyclic buckets   : 2  (818, 829)     (August: 1)
Max chain length : 917               (August: 297)
Nodes in >1 bucket: 30,708           (August: 13,903)
Orphans          : 57
Faulty edges     : 0x10fa (earth_arcana_item_39.vsnd) -> 0x037e
                   0x13bf (tech_levelup_02.vsnd)      -> 0x01cf   [both should be 0]
Lookup target    : slark_deny_09.vsnd -- not present anywhere in the table
Session length   : 6 h 55

The hung thread was walking bucket 818: two samples of r12 taken minutes apart read 0x037e (that bucket's head) and 0xb973 (tiny_anger_04.vsnd), and both indices are in bucket 818's chain and nowhere else — so slark_deny_09.vsnd hashes to 818. As in August the target is a deny line that had not been played yet, so the lookup misses, the walk needs a terminating 0, and the cycle never provides one.

Note that the corruption is markedly worse than in August at a shorter session length (6 h 55 vs 7 h 14) — twice the cyclic buckets and more than twice the merged nodes. Everything above is downstream of the wrap, so the amount of damage tracks how far past the wrap the session ran, not how long it ran overall.

Why the hang is not the whole bug

The missing visit cap in the FindStringHandle walk is what turns this into a permanent freeze, and a cycle guard there would downgrade it to a recoverable failure. But the wrap itself is already corrupting the table well before anything hangs: merged chains, orphans and duplicate insertions are all happening silently during normal play. A session can be in this state for a long time and only die when a lookup finally misses on one of the cyclic buckets.

So the two things worth separating:

  • CCountedStringPool_CI index allocation wraps at 65,535 instead of failing or growing, and hands out indices that are still referenced. That is the actual corruption.
  • The chain walk has no visit cap and no cycle guard, which is what makes the consequence unrecoverable.

The 65,535-entry ceiling on filename symbols is what makes long sessions reach the wrap in the first place — 99.5% of the table is .vsnd names, and hero/arcana voice lines alone appear to be enough to exhaust it in five to eleven hours.

Environment

OS:        CachyOS, kernel 7.2.3
GPU:       AMD Radeon RX 7900 XTX (RADV NAVI31)
Renderer:  native Linux, Vulkan
Mesa:      26.2.2
Client:    ClientVersion 6924, SourceRevision 10969619, VersionDate Sep 04 2026

Main-thread deltas over 5 s while hung (/proc/<pid>/task/<tid>/): utime +5.00 s, stime +0, voluntary_ctxt_switches +0 — pure userspace spin, no syscalls. Of the 62 threads, only the main thread is running (99.7% CPU); the SDL audio thread still ticks over at 5% and every other thread is asleep, which is why the process stays alive with a frozen image. No amdgpu ring timeout, no GPU reset, no coredump.

The capture and analysis scripts I use are the same as before; the head-distribution histogram described above is the cheapest single check if anyone else hits this and wants to confirm it is the same failure.

Cheza307 avatar Sep 07 '26 00:09 Cheza307

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.