Repository navigation
Conversation
The runtime check from #2534 calls obs_find_data_file first, and on macos-26 that segfaults (run 40410629662): find_libobs_data_file uses the libobs framework bundle, which a cmocka binary does not have.
Member
Author
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.
Follow-up to #2534. On macos-26,
test_obs_core_info_characterizationstill fails, now with a crash (run 40410629662, on #2514 rebased onto master):#2534's runtime check calls
obs_find_data_fileand then inspects the path it returns. On macOS,find_libobs_data_file(libobs/obs-cocoa.m.h:26) builds that path from thecom.obsproject.libobsframework bundle, without checking the bundle or the file. A cmocka binary has no such bundle, so the result is undefined: an earlier run returned a garbage non-NULL pointer, and this run crashed (likelystrlen(NULL)on a nilNSString). The case now skips on__APPLE__before the call, with a "characterized, not endorsed" note. Linux and Windows keep every assertion, and test files already use__APPLE__(for exampletest_encoder_error_stop.c).RED: the macOS lane above. GREEN: needs a lane that selects macOS Tier 2; #2514's re-run will show it. It is a CI fix, so RED and GREEN are pushed together.