Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in capturePhotoProcessedUpToFilter:withImageOnGPUHandler #2023

Open
pierrexn opened this issue Jun 10, 2015 · 5 comments
Open

Crash in capturePhotoProcessedUpToFilter:withImageOnGPUHandler #2023

pierrexn opened this issue Jun 10, 2015 · 5 comments

Comments

@pierrexn
Copy link

Some of my users received crash in GPUimage

The exception occurs at capturePhotoProcessedUpToFilter:withImageOnGPUHandler

[AVCaptureStillImageOutput captureStillImageAsynchronouslyFromConnection:completionHandler:] - inconsistent state.

or

[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array

@sprint84
Copy link

sprint84 commented Apr 5, 2016

I'm having the same crash.
My filters are pretty simple, so it's not a complex chain, but still some times I get this error.
Anyone knows if there is a fix for it?

@ValentinKuznetsov
Copy link

same

@stevekohls
Copy link

@pierrexn @sprint84 @ValentinKuznetsov I was having this same issue in our app. I found this: piemonte/PBJVision#304 and the commit: codezero-jp/PBJVision@e89d5ad which is said to solve it. I haven't tried this myself yet.

@leowz
Copy link

leowz commented Mar 24, 2017

I got the same issue, which never occurred before
Are you sure this will fix the bug? I found this on Apple api:

The AVCapture​Still​Image​Output class is deprecated in iOS 10.0 and does not support newer camera capture features such as RAW image output, Live Photos, or wide-gamut color. In iOS 10.0 and later, use the AVCapture​Photo​Output class instead. (The AVCapture​Still​Image​Output class remains supported in macOS 10.12.)

dont know if its due to that reason

@giogus
Copy link

giogus commented Apr 4, 2017

I'm also having this issue in iOS 10. I've tried to fix using the fix @stevekohls showed previously and the crashes keep happening only in production, in development mode it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants