Performance Insights
A crash, step by step

A hang from start to finish: what each pass saw, and what a second look added

Most crash dumps tell you who crashed. Hangs often don't. The thread the debugger opens is just the one that noticed, while the driver at fault spins on another CPU. This lab dump, from a known driver bug on a test VM, is followed from first pass to fix. No customer data.

Published 2026-11-29 by PerformanceInsights.ai

The bug

virtio-win's network driver netkvm.sys 0.1.266 can hang an unpatched Windows Server 2025 guest under heavy multi-queue traffic. The maintainers fixed it in 0.1.285 [1], and similar hangs are reported in [2] and [3]. On 10 October we reproduced it on an 8-vCPU VM with an 8-queue NIC and iperf3 -P 16. 0.1.266 hung both runs. 0.1.285 under the same load didn't. The guest ignored our NMI, so we dumped it from outside with QEMU. That leaves no bugcheck parameters to go on.

First pass: it names Windows

The first pass reads the thread the dump opens on. That was Windows' event-tracing logger, inside nt!KiInitiateGenericCallDpc, so the answer was nt. Blaming Windows for a third-party driver's hang is the classic wrong answer, and the current thread alone can't do better: the culprit isn't in it.

Second pass: it finds the driver, then doesn't say so

The second pass runs a hang survey: !poolused, !verifier, !stacks 2, !irpfind. We replayed it twice with Gemini 3.8 Flash. The survey's own summary put CPU 4's thread first among the threads waiting on a lock: netkvm, spinning in the buffer-list return path. Both times the hypothesis named netkvm.sys. Both times it left the "faulting module" field empty and escalated, so the customer's report would have blamed nothing.

What a second look added

We then ran ~Ns; k on every CPU in kd, not just the current thread, with Claude driving a lab debugger, to check the survey against the debugger itself. CPU 4 was the one, and with the driver's symbols its frames have names:

nt!KxWaitForSpinLockAndAcquire+0x1c
nt!KeAcquireSpinLockRaiseToDpc+0x3c
netkvm!ParaNdis_ReuseRxNBLs+0x7c
netkvm!ParaNdis6_ReturnNetBufferLists+0x88
NDIS!NdisReturnNetBufferLists+0x471
tcpip!FlpNdisReturnNetBufferListsWrapper+0xc8

The netkvm names come from the debug symbols shipped with the virtio-win 0.1.266 release [4]. That build is the driver loaded in the dump: the loaded module carries the PDB's own debug signature, and its code is byte for byte the same.

In the public source, ParaNdis_ReuseRxNBLs hands each buffer back through a call that takes the receive queue's spin lock, so CPU 4 is waiting on a lock in the buffer-list return path, where the model had pointed. That confirmed the survey and the model's hunch. What the pipeline had lost was the module name in the report, not the finding.

The fix shipped the same day. Both second-pass prompts now say the module the hypothesis blames is the faulting module, hangs included, and a test pins it. On three replays since, the second pass named netkvm.sys every time.

What this doesn't show

Three replays is a small sample. This ran on our replay bench, not production, so there's no upload-to-report time to quote. And the pipeline's report can't name the netkvm function on its own, because no symbol server has the driver's symbols. We matched them by hand. In one replay with the release's PDB among the private symbols, which an account can upload, the second pass named ParaNdis_ReuseRxNBLs.

The point

On a hang, the thread the dump opens on isn't evidence. Each pass caught something the one before couldn't. The pipeline had the evidence. Checking it by hand confirmed it, and fixing the step where the answer got lost is what makes the report name the module.

Running an MSP?

We have five places for design partners: three months free, an engineer's review included. Or create an MSP account on the ISV or Enterprise plan for 10 or 25 dumps a month.

See the terms

On your own? Developers, IT admins and individuals are welcome too: create a Solo account for one free dump a month while we're in the pilot. Or get the three sample reports as a PDF first.

References

  1. virtio-win/kvm-guest-drivers-windows #1368, "Windows 2025 DPC_WATCHDOG_VIOLATION due to NetKVM drivers": a maintainer calls build 266 a known problem and confirms 285 fixes it.
  2. #1360, "windows server 2025 hang when vhost queues bigger than cores".
  3. #1312, "NetKVM: Windows Server 2025 VM hang w/ NdisPoll enabled". Our run with Poll Mode off hung too.
  4. virtio-win 0.1.266 release ISO, which ships the driver and its debug symbols in NetKVM/2k25/amd64.

Methodology (optional reading)