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.2k stars 4.61k forks source link

[GPUImageContext presentBufferForDisplay] crash #2678

Open MattChan1207 opened 2 days ago

MattChan1207 commented 2 days ago

I couldn't reproduce this problem during real machine debugging, but the online logs show that this problem has occurred multiple times. The following is the stack information. Does anyone know the specific reason for this? Stack information: 0 libsystem_kernel.dylib ___pthread_kill + 8

1 libsystem_pthread.dylib _pthread_kill + 268 2 libsystem_c.dylib _abort + 180 3 AppleMetalGLRenderer GLDContextRec::flushContextInternal() + 820 4 GLEngine _gliPresentViewES_Exec + 188 5 OpenGLES -[EAGLContext presentRenderbuffer:] + 80 6 GPUImage -[GPUImageContext presentBufferForDisplay] + 36 7 GPUImage -[GPUImageView presentFramebuffer] + 60 8 GPUImage 44-[GPUImageView newFrameReadyAtTime:atIndex:]_block_invoke + 324 9 GPUImage runSynchronouslyOnVideoProcessingQueue + 80 10 GPUImage -[GPUImageView newFrameReadyAtTime:atIndex:] + 68 11 GPUImage -[GPUImageFilter informTargetsAboutNewFrameAtTime:] + 704 12 GPUImage -[GPUImageFilter newFrameReadyAtTime:atIndex:] + 92 13 GPUImage -[GPUImageTwoInputFilter newFrameReadyAtTime:atIndex:] + 404 14 GPUImage -[GPUImageFilter informTargetsAboutNewFrameAtTime:] + 704 15 GPUImage -[GPUImageFilter newFrameReadyAtTime:atIndex:] + 92 16 GPUImage -[GPUImageFilter informTargetsAboutNewFrameAtTime:] + 704 17 GPUImage -[GPUImageFilter newFrameReadyAtTime:atIndex:] + 92 18 GPUImage -[GPUImageFilterGroup newFrameReadyAtTime:atIndex:] + 224 19 GPUImage -[GPUImageVideoCamera updateTargetsForVideoCameraUsingCacheTextureAtWidth:height:time:] + 720 20 GPUImage -[GPUImageVideoCamera processVideoSampleBuffer:] + 1216 21 GPUImage 74-[GPUImageVideoCamera captureOutput:didOutputSampleBuffer:fromConnection:]_block_invoke + 88 22 libdispatch.dylib __dispatch_call_block_and_release + 32

28 libsystem_pthread.dylib __pthread_wqthread + 288

ygsky commented 2 days ago

来信已收到,我会尽快查看!