Repository navigation
test/cmocka: Fix transition fixture; characterize Windows skip (#2543) - #2545
Conversation
…indows crash stacks (#2543) The fixture transition lacked audio_render, so obs_register_source refused it and the transition cases always skipped. The Windows crash-stack step ran a failed test once under cdb; the #2543 crash is intermittent and did not recur there, so retry up to 20 times until cdb reports an exception.
The scene characterization crash happened in the Cargo-built core, but did not recur on any of 20 isolated cdb retries. Enable per-executable local dumps during that suite and analyze the faulting process rather than a rerun. Fall back to the existing cdb rerun if WER cannot write a dump.
|
Windows RED on the first PR run: Cargo-built |
…fixture (#2543) The graphics-less group fixture intermittently segfaults only in the Cargo-built Windows core during deferred source destruction. Both reference builds pass; 20 isolated debugger reruns failed to reproduce. Skip this one characterization on Windows per the issue fallback while preserving its Linux assertions and all other Windows cases.
A second Windows crash occurred in scene_item_set_order despite skipping scene_find_source_recursive, this time in the Cargo C-reference core. Restore all assertions and run the graphics-less fixture serially, like other graphics-sensitive tests. Capture WER dumps during both Cargo suites if it still fails.
) Neither skipping one case nor RUN_SERIAL stopped the intermittent crash during deferred source destruction in Cargo-built Windows cores. The #2543 fallback permits a documented, characterized-not-endorsed Windows skip. Return CTest skip code 77 before starting OBS on Windows, retaining every assertion and case on Linux. #2547 tracks restoring Windows coverage.
|
Merged as bc3db16 and closed the Windows crash issue (#2543). What fixed it: the transition fixture got its What was left: the root cause and the Windows coverage. The follow-up issue for them (#2547) found the cause (a source moved into a canvas pointed at the canvas's name-list mutex, which the canvas freed before the source's deferred destroy ran) and fixed it in PR #2581. Still open: the restored Windows run has not been seen yet, because the merge-queue run for #2581 skipped every Windows lane. The next nightly Windows Tier 2 run will show it, and the header cleanup in #2586 / PR #2587 tracks it. |
Fixes #2543
audio_rendercallback to the characterization transition fixture; both transition cases now execute on Linux.RUN_SERIAL. A one-case skip and serial execution were tried and reverted. All 13 cases and their assertions remain active on Linux. This is the explicit fallback accepted by test/cmocka: test_scene_canvas_characterization segfaults on Windows (scene_find_source_recursive) #2543; follow-up Restore Windows scene lookup characterization after Cargo-core teardown crash #2547 tracks diagnosing the cause and restoring Windows coverage.RED: Windows Tier 2 crashed on runs 40429363810 (Cargo Rust core), 40436320792 (Cargo C-reference), and 40439283995 (Cargo Rust core with RUN_SERIAL). GREEN: Linux Tier 2 passed 573/573 in both builds plus three focused repeats each; lint passed. Final Windows CTest skip result pending. Do not merge if Windows fails.