You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to use an AVFoundation build of opencv_videoio in our macOS app.
It is able to open the webcam and read from it, but once release is called, a EXC_BAD_ACCESS Error is thrown. Here are stack traces caught by Zombies. I wasn't sure exactly what is relevant in the zombie report. Here's a screenshot.
Stepping through the code, It successfully turns the camera off, exits release(), and continue program flow, and another thread crashes the program each time.
It does NOT crash on a blank c++ command line project, only happens in a cocoa app.
We have tried running both on Sierra and El Capitan.
We chose to use AVFoundation to support Sierra, and chose to not use FFMpeg. Are there any other build options to consider?
System information (version)
Detailed description
We are trying to use an AVFoundation build of opencv_videoio in our macOS app.
It is able to open the webcam and read from it, but once release is called, a EXC_BAD_ACCESS Error is thrown. Here are stack traces caught by Zombies. I wasn't sure exactly what is relevant in the zombie report. Here's a screenshot.
Stepping through the code, It successfully turns the camera off, exits release(), and continue program flow, and another thread crashes the program each time.
It does NOT crash on a blank c++ command line project, only happens in a cocoa app.
We have tried running both on Sierra and El Capitan.
We chose to use AVFoundation to support Sierra, and chose to not use FFMpeg. Are there any other build options to consider?
Steps to reproduce
Build openCV with
Create an empty Cocoa Project,
and in ApplicationDidFinishLaunching put basic VideoIO capture calls in
The text was updated successfully, but these errors were encountered: