-
-
Notifications
You must be signed in to change notification settings - Fork 52.6k
Closed
Description
Environment
- macOS 26.2 (25C56)
- Mac mini M4 (Mac16,10)
- Clawdbot App 2026.1.23 (build 7750)
- Gateway running as LaunchDaemon (not LaunchAgent)
- No microphone connected
Problem
The desktop app crashes in two scenarios:
1. TalkMode crash (on startup)
TalkModeRuntime.startRecognition() fails because there's no microphone available. The app calls AVAudioNode installTapOnBus which throws an exception.
Workaround: Disable VoiceWake via:
defaults write com.clawdbot.mac VoiceWakeEnabled -bool false
defaults write com.clawdbot.mac TalkModeEnabled -bool false2. CodeTokenizer crash (after connecting to gateway)
After applying the VoiceWake workaround, the app connects to the gateway successfully but then crashes on NSBundle.module / CodeTokenizer.init() with _assertionFailure.
Stack trace:
_assertionFailure(_:_:file:line:flags:)
closure #1 in variable initialization expression of static NSBundle.module
one-time initialization function for module
CodeTokenizer.init()
HighlightedTextFragment.Model.tokenize(content:languageHint:)
Expected behavior
The app should:
- Gracefully handle missing microphone instead of crashing
- Not crash on CodeTokenizer initialization
Notes
- Gateway works correctly (Telegram + webchat are functional)
- The Mac mini is used as a headless server without audio input devices
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels