Cap crashed unexpectedly on macOS 14.3 (Abort Trap 6 / ScreenCaptureKit stop)
Description
While recording a screen + camera session, Cap aborted unexpectedly after ~6 minutes of capture.
Crash type: EXC_CRASH (SIGABRT) → Abort Trap 6
Root cause shown in log: screencapturekit::stream::internal::delegate::did_stop_with_error ➜ -[SCStreamManager stream:didStopWithError:] pointing to ScreenCaptureKit / ReplayKit calling abort().
What I expected: Cap to continue recording (or at least fail gracefully and save what had been captured).
What happened instead: The whole app quit, generating a macOS crash report (see attached).
Reproduction
-
Launch Cap.
-
Choose Screen + Camera sources (audio input enabled). My exact preset: 1080p 60 fps H.264 + system & mic audio.
-
Click Record.
-
After a few minutes (in this case ~ 6 min 20 s) the recording preview froze; a second later Cap disappeared and macOS displayed the crash reporter.
Additional Context
- Cap version: 0.3.41 (build 20250416.110250)
- Operating system, version: macOS 14.3.1 (23D60)
- Device (optional): Mac14,3 (Apple Silicon, SIP enabled)
Thanks for the report, looks like we aren't handling SCK errors correctly. Will look into this soon