Skip to content

macOS Screen Capture crash on enable - VNRecognizeTextRequest array bounds failure #5891

@omi-discord-vector

Description

@omi-discord-vector

Environment

  • Version: 0.11.135
  • macOS: 15.7.4 (Sequoia)
  • Reproducibility: 100% when enabling Screen Capture in settings

Crash Details

Thread: RewindIndexer.processFrame → RewindOCRService.extractTextWithBounds → VNRecognizeTextRequest

Exception: EXC_BREAKPOINT (SIGTRAP) in __SwiftNativeNSArrayWithContiguousStorage._objectAt

Root Cause

Assertion failure attempting to access an element in an empty array during OCR text extraction initialization.

Expected Behavior

Screen Capture should enable without crashing.

Actual Behavior

App crashes immediately when Screen Capture is enabled in settings.

Fix Suggestion

Add bounds checking in RewindOCRService.extractTextWithBounds before accessing VNRecognizeTextRequest results array.


Reported by: Discord user ブタキチ (@butakichi8747)
CC: @krushna for Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcrashmac

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions