Repository navigation
fix: scope sanitizer leaks and retain GPU diagnostics - #49
Merged
CaptSilver merged 2 commits intoNov 8, 2026
Merged
Conversation
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.
What
Suppress verified Fontconfig configuration-loading shutdown state and isolate the real-GPU suite with visible, nonfatal LSan reports. ASAN/UBSAN errors and assertions remain fatal; other backend and SceneScript processes retain fatal leak detection.
Why
Related to #41. Contributions should catch first-party memory safety errors without requiring fixes to the external Fontconfig/NVIDIA/DBus stack. Broad library suppressions would hide ownership mistakes. On the tested runtime, LSan
exitcode=0also masks ASAN/UBSAN exit codes, so only the GPU process additionally usesabort_on_error=1for both sanitizers.Test plan
474dc8a: conflict-free merge; all three changed files remain unchanged upstream.Three separate statuses: default combined preflight exit 0 under its existing nonfatal mutation policy; no mutation coverage because of the Mull 0.31.1/LLVM 23 incompatibility and incomplete build; no pass marker. The isolated branch also retains known font-test blockers. Mull was not changed or upgraded.
Notes for reviewer
First-party heap leaks inside the GPU suite are also visible but nonfatal. ASAN/UBSAN and the dma-buf assertion remain fatal. Fontconfig suppression is limited to configuration parsing; it can hide parser allocations from a lost explicitly owned FcConfig, while ordinary pattern leaks remain detectable. No broad DBus/NVIDIA/first-party suppression; existing mpv/WebEngine exceptions unchanged.
Only three tooling files change; no renderer code, submodule-pointer update or visual behavior change. Both commits are included on this branch, with no dependency on unpublished commits outside it. Draft for review of the documented scope and remaining gate limitations.