From e854a69b99a08dd2f9ad1c236059c13c34cc44f5 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Wed, 18 Mar 2026 19:48:01 +0100 Subject: Add lightweight crash handler for pre-Sentry startup backtraces (#853) - Install a crash handler at the very top of main() in both zenserver and zen - On Windows, uses SetUnhandledExceptionFilter with StackWalk64 for accurate crash-site backtraces with DbgHelp symbol resolution - On Linux/Mac, uses sigaction with async-signal-safe backtrace output - Automatically superseded when Sentry/crashpad installs its own handlers - Stays active for the full process lifetime if Sentry is disabled or absent - Include .sym debug symbol files in Linux release bundle --- scripts/bundle.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/bundle.lua') diff --git a/scripts/bundle.lua b/scripts/bundle.lua index 6f4552890..3937d8a76 100644 --- a/scripts/bundle.lua +++ b/scripts/bundle.lua @@ -289,7 +289,9 @@ local function main_linux() _zip(false, "build/zenserver-linux.zip", "build/linux/x86_64/release/zenserver", + "build/linux/x86_64/release/zenserver.sym", "build/linux/x86_64/release/zen", + "build/linux/x86_64/release/zen.sym", "build/linux/x86_64/release/crashpad_handler", "build/linux/x86_64/release/OidcToken") end -- cgit v1.2.3