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
On Windows 10, OF 0.10, ofxCv master branch, VS 2017, I can build and run the example contour-tracking without problem.
But adding: contourFinder.setSortBySize(true) in the setup will make the app run for a few seconds and crash with this message :
Debug Assertion Failed
Program : C:\WINDOWS\SYSTEM32\MSVCP140D.dll
File : c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.14.26428\include\vector
Line : 1818
Expression : vector subscript out of range
And Visual Studio 2017 points to ofxCv::CompareContourArea in line 18 and says: Unhandled exception at 0x03CFED76 (ucrtbased.dll) in exampleContourTracking_debug.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.
However, this doesn't happen when I build and run in Release mode.
Any ideas ?
The text was updated successfully, but these errors were encountered:
davidlemarechal
changed the title
contourFinder crash with setOrderBySize
contourFinder crash with setSortBySize
Jun 25, 2018
Hello,
On Windows 10, OF 0.10, ofxCv master branch, VS 2017, I can build and run the example contour-tracking without problem.
But adding:
contourFinder.setSortBySize(true)
in the setup will make the app run for a few seconds and crash with this message :And Visual Studio 2017 points to ofxCv::CompareContourArea in line 18 and says:
Unhandled exception at 0x03CFED76 (ucrtbased.dll) in exampleContourTracking_debug.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.
However, this doesn't happen when I build and run in Release mode.
Any ideas ?
The text was updated successfully, but these errors were encountered: