Skip to content

Mac app: SIGABRT crash when no audio input device available (voice wake) #12169

@1OAKDesign

Description

@1OAKDesign

Bug Description

OpenClaw Mac app crashes immediately on launch with SIGABRT when no microphone/audio input device is available and voice wake is enabled.

Environment

  • OS: macOS (Darwin 25.2.0, arm64)
  • Hardware: Mac Mini M4 (no built-in microphone)
  • OpenClaw: 2026.2.6
  • Node: v22.22.0

Steps to Reproduce

  1. Mac Mini M4 with no built-in microphone
  2. AirPods (or other Bluetooth audio) disconnected — zero audio input devices available
  3. Launch OpenClaw Mac app with voice wake enabled
  4. App crashes immediately

Crash Details

  • Crash occurred 7 times in 7 minutes (app repeatedly relaunches and crashes)
  • Crash trace: VoiceWakeRuntime.start()AVAudioEngineImpl::InstallTapOnNodeSIGABRT
  • InstallTapOnNode is called unconditionally without checking for available audio input devices

Attempted Workarounds (none worked)

  • Setting voiceWakeMicName to empty string — still crashes
  • Setting voiceWakeMicName to "none" — still crashes
  • Deleting all voice wake user defaults — still crashes

Only Working Fix

Connecting an audio input device (e.g., AirPods) before launching the app.

Expected Behavior

The app should gracefully handle the absence of audio input devices:

  • Check for available audio inputs before calling InstallTapOnNode
  • If no mic is available, disable voice wake with a user-visible warning
  • Do not crash — allow the app to function normally without voice wake

Impact

Mac Mini (and other headless/mic-less Macs) cannot use the native app reliably. Any Bluetooth audio disconnection causes immediate crash loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions