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

EXC_BAD_ACCESS (code=1, address=0x14fdff900) during scale operation on cropped image #77

Open
philippgehrke opened this issue May 28, 2021 · 1 comment

Comments

@philippgehrke
Copy link

The app sometimes crashes during the scale operation in vImageScale_ARGB8888(&croppedImage, &resizedImage, nil, vImage_Flags(0)) == kvImageNoError

Screen Shot 2021-05-28 at 2 09 58 PM

@philippgehrke
Copy link
Author

I realized that this happens when I alternatively pick original and edited pictures from my library. The inputImageRowBytes are somehow different.

It seems that the inputBaseAddress for the croppedImage buffer is not correct because of this. But I can't further locate the bug.

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

1 participant