Segmentation fault: 11
I followed the install commands per the documentation but after I launched rcli I got the following error.
$ rcli
██████╗ ██████╗██╗ ██╗
██╔══██╗██╔════╝██║ ██║
██████╔╝██║ ██║ ██║
██╔══██╗██║ ██║ ██║
██║ ██║╚██████╗███████╗██║
╚═╝ ╚═╝ ╚═════╝╚══════╝╚═╝
On-device voice AI and RAG for macOS
Powered by RunAnywhere
Loading AI models... Segmentation fault: 11
I tried @shubhammalhotra28 recommended solution to reinstall on another issue by using the following commands but it still ran into the same issue as above
# 1. Remove Homebrew install (if present)
brew uninstall rcli 2>/dev/null; brew untap runanywhereal/rcli 2>/dev/null
# 2. Remove the binary (if installed via curl)
sudo rm -f /usr/local/bin/rcli
# 3. Remove all RCLI data, models, and config
rm -rf ~/Library/RCLI ~/.rcli
# 4. Fresh install
curl -fsSL https://raw.githubusercontent.com/RunanywhereAI/RCLI/main/install.sh | bash
My machine specs are: CPU: M3 Pro Memory: 18GB macOS Version: Sonoma 14.7.1 (23H222)
Also getting a segmentation error on MacBook Air with M4:
M4 chip 32 GB ram 13-inch, 2025 Sequoia 15.7.3
Get segmentation fault after setup metalrt
❯ rcli setup
❯ rcli
██████╗ ██████╗██╗ ██╗
██╔══██╗██╔════╝██║ ██║
██████╔╝██║ ██║ ██║
██╔══██╗██║ ██║ ██║
██║ ██║╚██████╗███████╗██║
╚═╝ ╚═╝ ╚═════╝╚══════╝╚═╝
On-device voice AI and RAG for macOS
Powered by RunAnywhere
Loading AI models... /Users/runner/work/RCLI/RCLI/deps/sherpa-onnx/sherpa-onnx/csrc/online-model-config.cc:Validate:125 tokens: '/Users/tmshv/Library/RCLI/models/zipformer/tokens.txt' does not exist, you should provide either a tokens buffer or a tokens file
/Users/runner/work/RCLI/RCLI/deps/sherpa-onnx/sherpa-onnx/c-api/c-api.cc:SherpaOnnxCreateOnlineRecognizer:193 Errors in config!
[STT] Failed to create recognizer
/Users/runner/work/RCLI/RCLI/deps/sherpa-onnx/sherpa-onnx/csrc/offline-model-config.cc:Validate:103 tokens: '/Users/tmshv/Library/RCLI/models/whisper-base.en/base.en-tokens.txt' does not exist
/Users/runner/work/RCLI/RCLI/deps/sherpa-onnx/sherpa-onnx/c-api/c-api.cc:SherpaOnnxCreateOfflineRecognizer:607 Errors in config
[OfflineSTT] Failed to create Whisper recognizer
[LLM] Failed to load model
/Users/runner/work/RCLI/RCLI/deps/sherpa-onnx/sherpa-onnx/csrc/offline-tts-vits-model-config.cc:Validate:38 --vits-model: '/Users/tmshv/Library/RCLI/models/piper-voice/en_US-lessac-medium.onnx' does not exist
/Users/runner/work/RCLI/RCLI/deps/sherpa-onnx/sherpa-onnx/c-api/c-api.cc:SherpaOnnxCreateOfflineTts:1476 Errors in config
[TTS] Failed to create TTS engine (arch=vits)
/Users/runner/work/RCLI/RCLI/deps/sherpa-onnx/sherpa-onnx/csrc/silero-vad-model-config.cc:Validate:62 Silero vad model file '/Users/tmshv/Library/RCLI/models/silero_vad.onnx' does not exist
/Users/runner/work/RCLI/RCLI/deps/sherpa-onnx/sherpa-onnx/c-api/c-api.cc:SherpaOnnxCreateVoiceActivityDetector:1202 Errors in config
[VAD] Failed to create voice activity detector
MetalRT GPU engine crashed during initialization.
This is a known issue on some M3/M4 Macs.
RCLI will automatically use llama.cpp on next launch.
Or run manually: rcli engine llamacpp
[1] 62498 segmentation fault rcli
M3 Max chip 128 GB ram Sequoia 15.7.3
This crash came from rcli loading MetalRT at startup. rcli has since been replaced by wally, which no longer ships MetalRT and runs models through MLX and llama.cpp instead, so this code path is gone. If wally itself crashes for you, please open a new issue with the wally --version output.
rcli is out of the picture now, closing this issues