Repository navigation
fix: terminate immediately on asar integrity violation - #53438
Merged
MarshallOfSound merged 3 commits intoSep 3, 2026
Conversation
The JS-side asar integrity check ends the process via process.reallyExit(1), which bottoms out in libc exit(). That runs atexit handlers and static destructors on the main thread while Chromium's threads are still live, and on Windows intermittently dies with an access violation (0xC0000005) before reaching ExitProcess, so the process exits with the wrong code. Terminate via base::Process::TerminateCurrentProcessImmediately instead so nothing else runs and exit code 1 is preserved. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01PBKD1L6FXPM4TQBiNcicTj Co-authored-by: Claude <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01PBKD1L6FXPM4TQBiNcicTj Co-authored-by: Claude <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01PBKD1L6FXPM4TQBiNcicTj Co-authored-by: Claude <[email protected]>
5 of 7 tasks
MarshallOfSound
approved these changes
Sep 3, 2026
MarshallOfSound
enabled auto-merge (squash)
September 3, 2026 05:06
MarshallOfSound
deleted the
trop/45-x-y-bp-fix-terminate-immediately-on-asar-integrity-violation-1788411332359
branch
September 3, 2026 06:03
|
Release Notes Persisted
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #53433
See that PR for details.
Notes: Fixed an intermittent crash (access violation) on Windows when an ASAR integrity violation is detected, so the process now exits with code 1 as intended.