crash in cv::Mat release function
hi, i'm using opencv_world341.dll, opencv_core2413.dll and opencv_imgproc2413. to simplify the code i just write a function that reads an image and does nothing. See the simple function below void f() { cv::Mat src = cv::imread("D:\image.jpg"); }
while f() ends the destructor of src is called and crashes in the function Mat::release() while calling to deallocate(); Why? How can i fix it?
please DONT link to different opencv versions (and you probably should not use anything from 2.4 at all, and 3.4.1 is very outdated)
this might also explain your other problem