You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
quality: Run LeakSanitizer on clean OBS shutdown #449
The first ASan/UBSan app run in #128 crashed in the X11 hotkey thread (#126), so LeakSanitizer never produced a clean-exit report. #126 and the other launch crash #127 are now closed. Rerun with the current sanitizer harness and inspect an ordinary shutdown.
Library-only: the app-level LSan report is QFontDatabase::addApplicationFont → libfontconfig (2×512 B), with no OBS frames below run_program. Not filed.
Kept open until #462 is fixed and an exit-time leak report from a clean shutdown can be read.
Done. With the harness fixed (#473), OBS shuts down cleanly under ASan with LeakSanitizer (exit 0). The OBS-owned leaks in the exit report were fixed in #492 (event filters), #463/#466 (media packet) and #464/#465 (portal test). The remaining exit-time leaks are library-owned: fontconfig/expat via Qt font loading, and the Mesa GL driver loaded through gs_create (sanitizers run 38365098851). The nightly sanitizer run (#491) keeps checking. The ENABLE_RUST_LIBOBS=ON repeat waits on #140's full-app lane.
Activity
zackees commentedon Oct 13, 2026
Claiming: #449. Dispatching
sanitizers.yamlon master (headless launch plus SIGINT shutdown, via the #160 harness), then triaging the report here.ci: Check git describe in rust/tools only takes OBS version tags (RED)
rust/tools: Name builds from OBS version tags only (GREEN)
zackees commentedon Oct 13, 2026
Sanitizer launch on master (run, after #457 fixed the harness's version string):
output 'simple_file_output' destroyedunder ASan, TSan and valgrind (exit 137, SIGKILL). Filed as bug: frontend: OBS hangs on SIGINT shutdown after the outputs are destroyed #462.mp_media_next_packet,media.c:176) and bug: libobs: portal shortcuts leak darray storage in set_shortcuts #464 (set_shortcuts,obs-nix-portal-shortcuts.c:436). Each is reported by both LSan and valgrind from its unit test.QFontDatabase::addApplicationFont→ libfontconfig (2×512 B), with no OBS frames belowrun_program. Not filed.Kept open until #462 is fixed and an exit-time leak report from a clean shutdown can be read.
zackees commentedon Oct 13, 2026
Done. With the harness fixed (#473), OBS shuts down cleanly under ASan with LeakSanitizer (exit 0). The OBS-owned leaks in the exit report were fixed in #492 (event filters), #463/#466 (media packet) and #464/#465 (portal test). The remaining exit-time leaks are library-owned: fontconfig/expat via Qt font loading, and the Mesa GL driver loaded through gs_create (sanitizers run 38365098851). The nightly sanitizer run (#491) keeps checking. The ENABLE_RUST_LIBOBS=ON repeat waits on #140's full-app lane.
frontend: Free the shortcut and native event filters