Repository navigation
fix(server): claim the GNU C++ runtime at engine startup (#2720 to stage) - #2735
Merged
Merged
Conversation
A task running parse beside a node that imports torch died at start with SIGSEGV at 0x20 in libstdc++: Tika's prebuilt lib7-Zip-JBinding.so carries a statically linked GCC libstdc++ whose GNU-unique locale facet ids bind process-wide to the first definer, so loaded into a libc++ engine it renumbered the system runtime's facet table and the next std::ostream to format a number reached a facet that was not there. plat::lin::init() now claims libstdc++.so.6 with RTLD_GLOBAL, beside the Crashpad registration and for the same reason. One runtime owns the ids and a bundled copy arriving later is inert. Fails open where the library is absent, since a host without it cannot load GCC-built code either. Linux only. Costs 0.86 MB resident, shared and file-backed, and 0.42 ms once per process. Fixes #2676 Co-authored-by: Claude Opus 5 <noreply@anthropic.com> (cherry picked from commit 074c316)
stepmikhaylov
requested review from
Rod-Christensen and
jmaionchi
as code owners
October 20, 2026 15:58
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 2
Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
🤖 Internal: Discord sync markerAuto-managed by the Discord notification workflow. Stores the linked Discord message ID and forum thread ID. Do not edit or delete. |
stepmikhaylov
enabled auto-merge (squash)
October 20, 2026 16:00
asclearuc
approved these changes
Oct 20, 2026
6 of 7 tasks
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.
Stage side of #2720