Crash with error EXC_BAD_ACCESS

language: swift
Xcode version: 15.1
opencv version: 4.9.0
issue: Imgproc.cvtColor crashed with error EXC_BAD_ACCESS
Screenshot 2024-06-05 at 6.22.32 PM

is src even initialized?

yes, scr is initialised and I can get the image from it