Repository navigation
Description
Build π§± / Rust Tier 2 (windows-2025-vs2026) fails on every tree that selects the lane, in the C cmocka binary test_core_setup_rules_steps β the characterization test added by #2881 (obs-core: Port the core setup rules). Three failures, all Test failed with exception: (11):
| Case | Group | Result |
|---|---|---|
test_reset_audio_ticks |
callers | ERROR Test failed with exception: (11) |
test_monitoring_device |
callers | ERROR Test failed with exception: (11) |
GROUP TEARDOWN |
callers | ERROR Test failed with exception: (11) |
The steps group (12 cases, no libobs instance) passes; the callers group reaches obs_startup() fine (info: CPU Name β¦, canvas 'Main' β¦ created) and test_reset_video_gates passes, so the crash is inside the audio path: the first statement of both failing cases is obs_reset_audio2(...) (libobs/obs.c.h:1610, which starts with obs_free_audio()), and the teardown crash is obs_shutdown() after those two partial resets.
Evidence
Pullrun 40875411169 at66819ccaf(PR curl: ask for brotli again where the decoder is pinned (#2211)Β #2906), jobBuild π§± / Rust Tier 2 (windows-2025-vs2026)123456184550:2 FAILED TEST(S)βtest_reset_audio_ticks,test_monitoring_device.Pullrun 40877717318 atb6704321e(same PR, rebased ontoafeacf4c7), job 123462904692: the identical two cases and the identical teardown exception. Deterministic, not a flake β the same binary, the same three errors, two runs 30 minutes apart.- Linux Tier 2 in both runs is green for the same source (
test_core_setup_rules_stepspasses there), so this is Windows-only. git log 904d6eb2b..origin/master -- test/cmockashows the test file is unchanged since the port landed, and both runs containobs-core-setup-rules.cas merged.
What is not verified
- Whether a tree without any other change is red the same way. The lane is selected by a
CMakeLists.txtedit, so this is the first lane run since obs-core: Port the core setup rulesΒ #2881 landed; PR curl: ask for brotli again where the decoder is pinned (#2211)Β #2906's diff touches onlyCMakeLists.txt,docs/features.mdandshared/file-updater/+ twotest/cmockacurl tests, none of which the crashing binary compiles in. The confirmation run on a clean master branch has not been made. - Which libobs mode crashes (C, hybrid or
libobs-c-reference) β the log shows onecallersgroup run and does not label the flavour. - The macOS Tier 2 job for the same commit was still running when this was filed.
Suggested first step
Run the binary under the Windows runner with a debugger or with cdb catch on the exception to get the exact frame; then decide whether the fix is the audio reset path (obs_free_audio()/obs_init_audio() re-entry) or a guard in the test (SKIP when the runner has no audio endpoint), since the runner reports no audio device.
Red for every PR that selects the Windows Tier 2 lane until this is fixed.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 29, 2026
Claiming: investigation
Plan:
origin/masterwhose only edit selects the lane).cdb -c "sxe -c \"kb;q\" av" test_core_setup_rules_steps.exeon the same runner, or the crash mini-dump, so the report names the function rather than the exception number.obs_free_audio()/obs_init_audio()re-entry inlibobs/obs.c.h:1610) versus aSKIPin the test when the runner exposes no audio endpoint β and land it as RED/GREEN with the Windows lane as the signal./readythis issue once step 1 or 2 has an answer, then take the implementation claim.Evidence added since filing:
Build π§± / Rust Tier 2 (macos-26)for the same commitb6704321efinished success in run 40877717318, so the same test file and the sameobs-core-setup-rules.cpass on AppleClang β the crash is Windows-only.zackees commentedon Oct 29, 2026
Fixed by #2911, merged as
a32bad067.The investigation's two questions are answered:
obs_free_audio()destroyedtask_mutex/monitoring_mutexunconditionally while onlyobs_init_audio()created them, soobs_reset_audio2(NULL)on a core that was never opened destroyed zeroed memory. On glibc that is a no-op, which is why only the Windows pthread layer crashed (test_reset_audio_ticks,test_monitoring_device,GROUP TEARDOWN, exception 11).Build π§± / Rust Tier 2 (windows-2025-vs2026)is success on head56853180cin run 40879828636, the same job that failed in runs 40875411169 and 40877717318.The scope gap noted in the report (a
libobs/-only change skips the Windows Tier 2 lane on PRs, so the first exercise of the #2881 characterization test on Windows was an unrelated PR touchingshared/) is not addressed here; it stays a separate CI-scope question.Closing as completed.