From b90db22816a73b3912d0ff8e5e2ef9c7eaf2194f Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Thu, 21 May 2026 01:18:39 +0900 Subject: [PATCH] Disable libpas JIT heap on Windows ARM64 Windows ARM64 has been intermittently crashing with 'illegal instruction' on DFG worker threads since the WebKit upgrade in #30705 pulled in upstream af63dbd0b5d ([libpas] Enable JIT-heap on Windows). The crash is a PAS_ASSERT inside jit_heap_try_allocate -> pas_segregated_heap_ensure_allocator_index; on ARM64 Windows libpas's __builtin_trap() compiles to brk #1, which the OS reports as STATUS_ILLEGAL_INSTRUCTION rather than a breakpoint, so the assertion failure surfaces as a flaky illegal-instruction panic. Windows x64 has not exhibited the same failure across the same range of CI builds, so oven-sh/WebKit#234 disables the libpas JIT heap on Windows ARM64 only and falls back to the legacy MetaAllocator path there. This points WEBKIT_VERSION at that PR's preview build until it merges. --- scripts/build/deps/webkit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/deps/webkit.ts b/scripts/build/deps/webkit.ts index 378b76ba3ad8..bf08230105a5 100644 --- a/scripts/build/deps/webkit.ts +++ b/scripts/build/deps/webkit.ts @@ -3,7 +3,7 @@ * for local mode. Override via `--webkit-version=` to test a branch. * From https://github.com/oven-sh/WebKit releases. */ -export const WEBKIT_VERSION = "3167a44fb92c268c83f09b232b38a9f3e7f9655a"; +export const WEBKIT_VERSION = "autobuild-preview-pr-234-c8f7dc7f"; /** * WebKit (JavaScriptCore) — the JS engine.