From f55a532800daf8b4c250fc67ff55ffc093676030 Mon Sep 17 00:00:00 2001 From: Elliot <35050275+apache-hb@users.noreply.github.com> Date: Tue, 3 Sep 2024 21:01:21 -0400 Subject: [PATCH] Update dbghelp.c --- src/common/backtrace/src/dbghelp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/backtrace/src/dbghelp.c b/src/common/backtrace/src/dbghelp.c index b7d05661..cd053af9 100644 --- a/src/common/backtrace/src/dbghelp.c +++ b/src/common/backtrace/src/dbghelp.c @@ -123,6 +123,10 @@ bt_resolve_t bt_resolve_inner(bt_address_t frame, bt_symbol_t *symbol) static LONG WINAPI bt_exception_handler(EXCEPTION_POINTERS *exception) { + /* ignore C++ exceptions */ + if (exception->ExceptionRecord->ExceptionCode == 0xe06d7363) + return EXCEPTION_CONTINUE_SEARCH; + gSystemError.begin(exception->ExceptionRecord->ExceptionCode, gSystemError.user); read_context_stack(exception->ContextRecord, gSystemError.next, gSystemError.user);