Repository navigation
infra(sanitize): full allocation stacks under ASan - #2036
Merged
Merged
Conversation
Member
Author
zackees
enabled auto-merge
October 24, 2026 02:54
Member
Author
|
GREEN: ASan run 40056096027 (succeeded) now gives full stacks. The test_media_remux and test_media_alpha_network leaks now name their OBS callers: media_remux_job_create (Rust Job::create), shared/media-playback media.c.h:824 init_avformat, and the test's own check_clip. Every one is allocated inside avformat_find_stream_info (av_grow_packet / av_buffer_ref in libavformat 62 and libavcodec 62), and the callers do call avformat_close_input. So this looks like an FFmpeg-internal leak, not an OBS one. I'll treat it as external unless a narrower repro says otherwise. |
This was referenced Oct 24, 2026
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.
Fixes #2035
Adds
fast_unwind_on_malloc=0toASAN_OPTIONSinsanitize.sh. Distro FFmpeg is built without frame pointers, so leak stacks used to stop atav_malloc.RED (recorded locally): in run 40044944211, the test_media_remux and test_media_alpha_network leaks have two frames each, and triage shows their location as
None. GREEN: an ASan run on this branch, linked below, should show the OBS caller for those leaks../lintpasses. Config only, so Tiers 1–4 don't apply.