Cap icon indicating copy to clipboard operation
Cap copied to clipboard

Cap crashed unexpectedly on macOS 14.3 (Abort Trap 6 / ScreenCaptureKit stop)

Open YashMakan opened this issue 8 months ago • 2 comments

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

  1. Launch Cap.

  2. Choose Screen + Camera sources (audio input enabled). My exact preset: 1080p 60 fps H.264 + system & mic audio.

  3. Click Record.

  4. 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)

entire-crash-file.log

YashMakan avatar Apr 19 '25 17:04 YashMakan

Thanks for the report, looks like we aren't handling SCK errors correctly. Will look into this soon

Brendonovich avatar Apr 20 '25 13:04 Brendonovich