From 417abcccffd12dfc7f77013ca8b89960ccb0a87a Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 11 Jun 2023 16:47:01 +0100 Subject: [PATCH] Windows: Handle abort exception in VectoredExceptionHandler To make sure that it is definitely handled --- src/os/windows/crashlog_win.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp index b0767c42ab..5c331bd0d6 100644 --- a/src/os/windows/crashlog_win.cpp +++ b/src/os/windows/crashlog_win.cpp @@ -752,6 +752,9 @@ static LONG WINAPI VectoredExceptionHandler(EXCEPTION_POINTERS *ep) if (ep->ExceptionRecord->ExceptionCode == EXCEPTION_STACK_OVERFLOW) { return ExceptionHandler(ep); } + if (ep->ExceptionRecord->ExceptionCode == 0xE1212012) { + return ExceptionHandler(ep); + } return EXCEPTION_CONTINUE_SEARCH; }