FAST-PATHS known gaps: NVIDIA's SIGSEGV in the exit of a process whose device is live

The exit hunt stops here, on the owner's word, with the cause not found. What is known:
- exitcap-162601 (probe 7f851ced8c): 1 of 94 runtime children took SIGSEGV after their test passed
  with the device kept live. In the core the fault is in an NVIDIA worker (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 glsi). The runtime's 30-odd threads were
  all waiting, none in a section or a making.
- nvexit, a Vulkan program without the runtime (instance, NVIDIA device, one compute pipeline,
  return from main), beside the same 14-minute load of the runtime's device suite:
  - exitcrash-nvexit-201854: 507 with everything destroyed on the main thread, 0 faults;
  - exitcrash-nvexit-203651: 262 destroyed and 263 kept live, on the main thread, 0 faults;
  - exitcrash-nvexit-thread-230656: 259 destroyed and 259 kept live, made on a thread joined
    before the return, whose driver workers (named after it) still ran at the return, 0 faults.
The line goes where a user of the runtime reads open gaps.

(cherry picked from commit 5c6971ade39abb0ec1a92ad1c2a8fe80e112951e)
This commit is contained in:
Anees Iqbal committed 2026-11-09 01:35:53 -08:00
1 parent 051de6ce39
commit 31cef63d20
1 file changed
+14
+14
View File
@@ -1236,6 +1236,20 @@ 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.
- **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
`8x6x2`, and `threadgroup_size_is_multiple_of_execution_width` false where Metal answers true