From d15a9448d7cc6dfd62672006068c7cafba3ec9b5 Mon Sep 17 00:00:00 2001 From: Surajsm60720 <1ds22is166@dsce.edu.in> Date: Thu, 19 Nov 2026 07:44:21 +0530 Subject: [PATCH] fix(kin): model checks run to completion on macOS instead of crashing after a clean search TLC's default MSBDiskFPSet can report a duplicate fingerprint, and reportSuccess then divides by zero after a search that broke no rule. Six of the eleven Kin models could not report a result on macOS. OffHeapDiskFPSet avoids it. Co-Authored-By: Claude Opus 5.5 --- scripts/kin-model.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/kin-model.ts b/scripts/kin-model.ts index 7a9816fec133a..e3fdd5b620620 100644 --- a/scripts/kin-model.ts +++ b/scripts/kin-model.ts @@ -478,6 +478,9 @@ const runTlc = async ( // TLC unpacks Naturals.tla and friends into java.io.tmpdir; a shared one races between runs. `-Djava.io.tmpdir=${work}`, "-XX:+UseParallelGC", + // The default MSBDiskFPSet can report a duplicate fingerprint and crash dividing by zero + // in reportSuccess after a clean search (seen on macOS, JBR 21); this set does not. + "-Dtlc2.tool.fp.FPSet.impl=tlc2.tool.fp.OffHeapDiskFPSet", "-cp", jar, "tlc2.TLC",