From 569da5a1cf346056fd09fdabea567d2dd1ee8534 Mon Sep 17 00:00:00 2001 From: blob1807 <12388588+blob1807@users.noreply.github.com> Date: Wed, 24 Dec 2025 01:08:52 +1000 Subject: [PATCH] Revert "Try to ensure the runner's handler gets called first" This reverts commit 13faedaf4ce3a24ed92917d44244f226ff3fed57. As it's causing issues with ASAN, which adds it's own `ExceptionHandler` as the first. Making ours first messes with it. Causing an Access Violation when trying to setup `context` in our handler. --- core/testing/signal_handler_windows.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/testing/signal_handler_windows.odin b/core/testing/signal_handler_windows.odin index ef4a9d75d..8843dde92 100644 --- a/core/testing/signal_handler_windows.odin +++ b/core/testing/signal_handler_windows.odin @@ -165,7 +165,7 @@ _setup_signal_handler :: proc() { // - Asserts and panics; // - Arithmetic errors; and // - Segmentation faults (illegal memory access). - win32.AddVectoredExceptionHandler(1, stop_test_callback) + win32.AddVectoredExceptionHandler(0, stop_test_callback) } _setup_task_signal_handler :: proc(test_index: int) {