FAST-PATHS: the NVIDIA exit fault's known gap as the gap and its bound alone

A known gap states what is true now and one bound; the evidence stays here. A correction to
d35c43feaf's message: the exit hunt stopped on the orchestrator's call, not the owner's word.

The evidence behind the line (NVIDIA 615.71.09, RTX 5080 Laptop GPU, Linux):
- exitcap-162601 (probe 7f851ced8c): 1 of 94 runtime children, each making a device on libtest's
  test thread and returning with it kept live, took SIGSEGV after their test passed. The faulting
  thread was an NVIDIA worker (libnvidia-eglcore into libnvidia-glvkspirv+0x363b2, address 0x18)
  named after the ended test thread, while the main thread ran libEGL_nvidia's exit handler (an
  ioctl in libnvidia-glsi). The runtime's 30-odd threads were all waiting, none in a section of
  the exit guard or a making. A consumer saw the same fault twice in a suite of about 1900 tests,
  in a test that keeps its device in a static.
- nvexit, a Vulkan program without the runtime (an instance, the NVIDIA device, one compute
  pipeline, a return from main), beside the same 14-minute load of the runtime's device suite:
  1550 runs, 0 faults. 1028 destroyed everything first (507 + 262 on the main thread, 259 on a
  thread joined before the return); 522 kept the device live (263 made on the main thread, 259 on
  a joined thread, whose two driver workers named after it still ran at the return).

(cherry picked from commit be87171f9ecb74c3b695ceb9501cc4435144728f)
This commit is contained in:
Anees Iqbal committed 2026-11-09 01:35:53 -08:00
1 parent 31cef63d20
commit 6962de9cdc
1 file changed
+3 -13
+3 -13
View File
@@ -1236,19 +1236,9 @@ driver's. Each is open work.
(`copied-host-pages`), at a copy's cost; a guest RAM's chunk over them is not imported. Which later allocations the driver fails, and for how long, is
**unaudited** past the shapes measured there.
- **On NVIDIA, a process that exits with a device live can take `SIGSEGV` in its exit** (615.71.09
on the RTX 5080 Laptop GPU, Linux): one of the driver's own worker threads faults in
`libnvidia-glvkspirv` (at address 0x18) while the main thread runs `libEGL_nvidia`'s exit
handler. Seen in 1 of 94 child processes that made a device on a test harness's thread and
returned with it live, beside the runtime's device suite: none of the runtime's threads was in a
section of the exit guard (`exit_guard.rs`) or a pipeline making, all waiting, and the faulting
worker carried the name of that thread, which had ended; and twice in a consumer's suite of about
1900 tests, in a test that keeps its device in a static. A program without the runtime, which
made an instance, a device and a compute pipeline and returned, did not fault in 1550 runs beside
the same load: 1028 with everything destroyed first, and 522 with the device live, 263 made on
the main thread and 259 on a thread joined before the return (the driver's workers made from it
still running at the return, as in the runtime's child). The cause is not found, nor whether the
runtime's own state takes part.
- **On NVIDIA's proprietary driver, a process that exits with a device live can fault in the
driver's own worker thread during its exit handler**: about 1 in 100 test processes beside other
GPU work. The cause is not found.
- **Reflection after a compute descriptor reset on RADV**: `max_total_threads_per_threadgroup`
answers 0 where Metal answers 96, `required_threads_per_threadgroup` `0x0x0` where Metal answers