We recently just caught this in our CI using lukka/get-cmake@latest
This error only occurs on a macos-11 runner using CMake 3.28.
Here is the error:
cmake -S . -B build/
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting CXX compiler ABI info
/Users/runner/work/_temp/f78b8b50-b9dd-4dd0-9ba3-954655714151.sh: line 6: 1909 Segmentation fault: 11 cmake -S . -B build/ -D CMAKE_SYSTEM_NAME=iOS -D CMAKE_OSX_ARCHITECTURES=arm64 -D BUILD_WERROR=ON -D UPDATE_DEPS=ON -D CMAKE_BUILD_TYPE=Debug
Error: Process completed with exit code 139.
I believe you should be able to reproduce the error above by running a CMake project with the following command line arguments on a macos-11
machine/runner:
cmake -S . -B build/ -D CMAKE_SYSTEM_NAME=iOS -D CMAKE_OSX_ARCHITECTURES=arm64 -D CMAKE_BUILD_TYPE=Debug -G Ninja
Let me know if you need more information to reproduce the issue.