From a65dec2e53d3ae2ecdf09dce8091fea3e89f327d Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 09:39:36 -0800 Subject: [PATCH] RUNTIME_VERSION 1899: the exit hook is registered again every 2 ms while a making is in progress in a section A pipeline making in progress when the process's exit began could let a driver compiler (LLVM's, under lavapipe; NVIDIA's libnvidia-glvkspirv on the 5080) register destructors after the hook's last registration, which then ran before the hook, beside the making: exit_guard's documented hole, the class of reims's exit SIGSEGVs after 'test result: ok'. While a making is in progress in a section, a runtime thread now registers the hook again every 2 ms, at most 16384 times a process (exitcrash, a3bd94ba66). The exits lane gains the released-import and first-making cases, a case without the validation layer, and ends every child's exit at the mark after its first device once the hook ran (64a00697f4..4b91b2ba92). Runtime sources re-pinned. Verified: the doc checks in the landing tree. The change's own evidence: exit_guard 47/47 x3 on gem10 with the new an_exit_mid_making_waits_for_it_before_a_destructor_the_making_registered, failing (43) with the registration removed; the 5080 tip run is a check on development. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 83d24e2d5..d65c9eff6 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -fca219b539030132a5c2d5b685e77cdebbbaad796f6722e4cfaa21a3c22d50a9 +921acae0f6abb026f90f36dddc53074207473747e2eb501cca7af250fee0d32b diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 6c0404597..0e62266ba 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 493; /// changes no behaviour, and then updates that hash alone with the commit saying why, or changes /// behaviour and also bumps this version. The commit that bumps it says what changed; this comment /// keeps no history. -pub const RUNTIME_VERSION: u32 = 1898; +pub const RUNTIME_VERSION: u32 = 1899; /// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex, /// of the manifest, the build script, and exactly the files the crate roots' module tree compiles