Stereo camera opencv segmentation fault during exit

Hi,
Please check if the issue happens with videotestsrc:

videotestsrc is-live=1 ! video/x-raw, width=(int)640, height=(int)480,format=(string)NV12, framerate=(fraction)20/1 ! nvvidconv flip-method=2 ! video/x-raw(memory:NVMM),format=NV12 ! nvvidconv  ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink

If it is confirmed to be an issue in nvarguscamerasrc, please download the source code to add prints for further debugging. We don’t test the OpenCV function and it might be an race condition.

The source code is in
https://developer.nvidia.com/embedded/L4T/r32_Release_v5.0/sources/T210/public_sources.tbz2