I'm consistently crashing the simulator and device when using OpenGL (OpenGLES 2.0) to do image processing. It appears to be a memory issue related to the CGImage because the resultant image from the image processing can be displayed in the UI. If I try to use the resultant image in another image processing pass the simulator/device crashes. The CGImage being passed in appears to be corrupted even though it displayed just fine in the UI previously.
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
The general program structure is
(On the same thread)
Create Vertex & Fragment Shaders
Create Frame Buffer
I'll put together a compact example and attach it later. Any help would be appreciated.