This is a backport PR for branch 42-x-y
#53511: fix: crash when the environment is written while another thread reads it
Merged
Created: Sep 4, 2026, 12:55:22 AM
Merged: Sep 4, 2026, 2:22:21 AM
1 comments
Target: 42-x-y
Backport of #53491
See that PR for details. The only conflict was an include in shell/common/node_bindings.cc (this branch does not have gin/per_context_data.h, which the change does not need).
Notes: Fixed a crash on Linux when process.env was written while another thread was reading the environment, and a memory leak when a worker thread exits.
Backport Information
Original PR Author
MarshallOfSoundOriginal PR Status
Merged
Original PR Merged At
Sep 4, 2026, 12:49:47 AM
Original PR Link
View on GitHubSemver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron