BradLarson / GPUImage2

GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.
BSD 3-Clause "New" or "Revised" License
4.85k stars 605 forks source link

pointer being freed was not allocated #319

Open mycroftcanner opened 4 years ago

mycroftcanner commented 4 years ago

For some reason using the following crashes randomly:

malloc: *** error for object 0x2838d17e0: pointer being freed was not allocated

image

This is my code :

                        node.imageModificationBlock = { image in
                            let luminance = Luminance()
                            return image.filterWithOperation(luminance)
                        }

Using GPUImage2 master (via Swift Package Manager)