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
The last commit on DisposableObject.cs (67dcd6a#diff-8) introduced a bug by not initializing AllocatedMemorySize property on IplImage.InitImageHeader -> IplImage.ctor -> DisposableObject.AllocMemory -> DisposableObject.NootifyMemoryPressure code path. That results in cvReleaseImage beeing called in IplImage.Dispose what in turn results in crash if CvArr.SetData is used to set managed array on the created IplImage afterwards (as the native code tries to free the pinned managed memory).
The text was updated successfully, but these errors were encountered:
The last commit on DisposableObject.cs (67dcd6a#diff-8) introduced a bug by not initializing AllocatedMemorySize property on IplImage.InitImageHeader -> IplImage.ctor -> DisposableObject.AllocMemory -> DisposableObject.NootifyMemoryPressure code path. That results in cvReleaseImage beeing called in IplImage.Dispose what in turn results in crash if CvArr.SetData is used to set managed array on the created IplImage afterwards (as the native code tries to free the pinned managed memory).
The text was updated successfully, but these errors were encountered: