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: Recheck valgrind app-launch allocations after clean hotkey shutdown #448
The first valgrind app launch in #160 died in the X11 hotkey thread (#126), so allocations still live at the crash were reported through OBS code. #126 is now closed. Recheck these under a clean headless launch and shutdown before calling them leaks.
Confirm the OBS process exits normally; retain the full log and command line.
Triage any definitely-lost stacks for config items, canvas, portal inhibitor, and X11 hotkey display; file a separate issue for each reproducible OBS-owned leak.
Record a clean result or link the resulting issues here.
This is deferred verification from #160, not a claim that those allocations leak.
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.
Claiming: taking over the expired clean-shutdown Valgrind verification. 1. Run the existing sanitizer harness on current master with tools=valgrind, retaining QT_ENABLE_REGEXP_JIT=0 and the normal launch/grace periods. 2. Confirm process exit and inspect the full allocation stacks for config items, canvas, portal inhibition, and the hotkey display. 3. File reproducible OBS-owned findings separately and submit a concise evidence report today. No application fix is assumed before the clean-exit evidence exists.
The existing Valgrind sanitizer harness is running on exact source 06b9f8f: https://github.com/obs-rust/obs-studio/actions/runs/39506926132. It uses the original C-libobs baseline, tools=valgrind, launch_seconds=45 (the harness multiplies this to 180 s), the existing 240 s graceful-shutdown allowance, and QT_ENABLE_REGEXP_JIT=0. The dedicated branch avoids cancelling any master sanitizer run. Findings will be triaged from app-exit.txt and complete raw logs, independently of the workflow conclusion.
Ran the existing sanitizer harness on 06b9f8f with QT_ENABLE_REGEXP_JIT=0: run 39506926132.
OBS completed shutdown following SIGINT; no forced kill. Harness status is app exit=99 (exited): 99 is the configured Valgrind diagnostic exit code. Final context/canvas cleanup and OBS allocator zero-leak report are retained.
Inspected both definitely-lost stacks. Neither identifies the config-item, canvas-object, portal-inhibitor or X11 hotkey-display allocation families questioned after the original crash. No reproducible OBS-owned leak was established for a separate leak issue.
This was not an all-clean Valgrind run: 312 direct + 120 indirect bytes remain in fontconfig and an unsymbolized graphics allocation; the latter requires symbols before ownership can be assigned. Other app diagnostics and unit-test failures are explicitly retained as limits, not treated as passing checks.
Full app stdout/stderr, full Valgrind log, exit record, commands, hashes and ownership analysis now survive artifact expiry in the evidence report. The requested fresh-profile clean-shutdown recheck is complete; no claim is made about all runtime workloads or other backends.
Activity
zackees commentedon Oct 13, 2026
Claiming: #448. 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.
frontend: Start the main window's hotkey IDs as invalid
github-actions commentedon Oct 15, 2026
Claim bot: claim expired: no progress from @zackees in 48 h. Anyone may claim it now.
zackees commentedon Oct 20, 2026
Claiming: taking over the expired clean-shutdown Valgrind verification. 1. Run the existing sanitizer harness on current master with tools=valgrind, retaining QT_ENABLE_REGEXP_JIT=0 and the normal launch/grace periods. 2. Confirm process exit and inspect the full allocation stacks for config items, canvas, portal inhibition, and the hotkey display. 3. File reproducible OBS-owned findings separately and submit a concise evidence report today. No application fix is assumed before the clean-exit evidence exists.
zackees commentedon Oct 20, 2026
The existing Valgrind sanitizer harness is running on exact source 06b9f8f: https://github.com/obs-rust/obs-studio/actions/runs/39506926132. It uses the original C-libobs baseline, tools=valgrind, launch_seconds=45 (the harness multiplies this to 180 s), the existing 240 s graceful-shutdown allowance, and QT_ENABLE_REGEXP_JIT=0. The dedicated branch avoids cancelling any master sanitizer run. Findings will be triaged from app-exit.txt and complete raw logs, independently of the workflow conclusion.
docs: retain clean-shutdown Valgrind evidence for #448
zackees commentedon Oct 20, 2026
Completed the deferred verification in #1569.
QT_ENABLE_REGEXP_JIT=0: run 39506926132.app exit=99 (exited): 99 is the configured Valgrind diagnostic exit code. Final context/canvas cleanup and OBS allocator zero-leak report are retained.Full app stdout/stderr, full Valgrind log, exit record, commands, hashes and ownership analysis now survive artifact expiry in the evidence report. The requested fresh-profile clean-shutdown recheck is complete; no claim is made about all runtime workloads or other backends.
docs: retain clean-shutdown Valgrind evidence for obs-rust#448 (obs-r…