BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.21k stars 4.61k forks source link

GPU crash on glrWriteTextureData with _platform_memmove$VARIANT$Haswell #2545

Open mpogra opened 6 years ago

mpogra commented 6 years ago

Brad,

We are getting very frequent crash while GPU is applied and below is crash details. Can you guide what we are doing wrong or what can be the possible cause of it -

`

Crashed: com.sunsetlakesoftware.GPUImage.openGLESContextQueue 0 libsystem_platform.dylib 0x7fff5bd16f49 _platform_memmove$VARIANT$Haswell + 41 1 AppleIntelBDWGraphicsGLDriver 0x1087f472c glrWriteTextureData + 6080 2 GLEngine 0x7fff3e741b7a glTexImage2D_Exec + 1945 3 libGL.dylib 0x7fff3dbb163f glTexImage2D + 59 4 GPUImage 0x105dc8b1b __55-[GPUImagePicture initWithCGImage:smoothlyScaleOutput:]_block_invoke + 291 5 libdispatch.dylib 0x7fff5ba59e88 _dispatch_client_callout + 8 6 libdispatch.dylib 0x7fff5ba6d31d _dispatch_queue_barrier_sync_invoke_and_complete + 60 7 GPUImage 0x105dc1c9f runSynchronouslyOnVideoProcessingQueue + 68 8 GPUImage 0x105dc8944 -[GPUImagePicture initWithCGImage:smoothlyScaleOutput:] + 929 9 GPUImage 0x105dc84f7 -[GPUImagePicture initWithImage:] + 25 10 dslrBooth 0x10573e748 -[DslrGSFilter applyMirrorAndRotation:] (DslrGSFilter.m:102) 11 dslrBooth 0x1056cda37 -[SessionScreenTabItem didReceivedLiveViewImage:] (SessionScreenTabItem.m:504) 12 dslrBooth 0x1056e7d29 -[CameraManager didReceivedLiveViewImage:] (CameraManager.m:248) 13 dslrBooth 0x1057f7e05 -[CanonCameraModel downloadLiveViewImage] (CanonCameraModel.m:884) 14 libdispatch.dylib 0x7fff5ba59e88 _dispatch_client_callout + 8 15 libdispatch.dylib 0x7fff5ba6cfbc _dispatch_continuation_pop + 472 16 libdispatch.dylib 0x7fff5ba5c154 _dispatch_source_invoke + 620 17 libdispatch.dylib 0x7fff5ba6e1b9 _dispatch_queue_serial_drain + 222 18 libdispatch.dylib 0x7fff5ba61239 _dispatch_queue_invoke + 373 19 libdispatch.dylib 0x7fff5ba6f042 _dispatch_root_queue_drain_deferred_wlh + 332 20 libdispatch.dylib 0x7fff5ba72e1b _dispatch_workloop_worker_thread + 880 21 libsystem_pthread.dylib 0x7fff5bd1d033 _pthread_wqthread + 980 22 libsystem_pthread.dylib 0x7fff5bd1cc4d start_wqthread + 13 23 libxpc.dylib 0x676973796c706400 (Missing)

`

Please help as it's it's really getting hot now.