Post

Replies

Boosts

Views

Activity

Reply to CIContext sporadically crashes on macOS 15.4/15.5, iOS 18.4/18.5
Hi, I’ve encountered the exact same crash in my project when calling: CIContext().render(...) Just like the original post, I'm getting: Thread 4: EXC_BAD_ACCESS (code=1, address=...) What I’ve noticed is that the crash completely disappears when I uncheck "Debug Executable" in the scheme settings. With it disabled, the app runs smoothly without any EXC_BAD_ACCESS at that line. This suggests the crash might be related to debug-mode memory checks or internal CIContext rendering behavior. I’ve double-checked that the CVPixelBuffer, CIImage, and CGColorSpace are all valid before rendering. Would appreciate any insights or explanations from Apple engineers or anyone who has managed to resolve this. Thank you!
Topic: UI Frameworks SubTopic: General Tags:
May ’25