2014-01-31 12:26:57 -0600 | received badge | ● Editor (source) |
2014-01-31 12:25:02 -0600 | asked a question | Program that uses OpenCV crashes when page heap is enabled I would like to enable page heap validation in my application that uses OpenCV-2.4.8 in order to track possible heap corruption problems. I use gflags.exe from Windows Debugging Tools to do that by calling: So when I enable page heap and run the app I get error: What am I doing wrong? :( Apparently this only happens when I include opencv dlls, actual program can be completely empty. Otherwise, if do not enable page heap everything works fine. I really need to run my app, with having page heap enabled, because I might have heap corruption in my code that only appears on android devices and it is very hard to reproduce. That is why I have ported the code to Windows platform so I can use heap verification tools. I am starting to be quite desperate... :/ BTW I am using Win7 x64 & Visual Studio 2013. Looking forward to your advice and help :) |