I'm running OpenTLD on a Windows 7 PC, using MS Visual Studio 2005. I can consistently crash the program if I draw bounding boxes repeatedly over a sequence of images (the target is difficult to track in the images, so the tracker cannot lock onto the target).
When the crash occurs, a window indicates that opentld.exe has stopped working. Going into the debugger, Visual Studio displays an error window with a message like this: "Unhandled exception at 0x0041f859 in opentld.exe: 0xC0000005: Access violation reading location 0x38251454." The Visual Studio debugging window indicates that the error has stopped in the EnsembleClassifier::calcConfidence method, when trying to execute the line: "conf += posteriors[i * numIndices + featureVector[i]];"
A little further investigation shows that when the crash occurs, the posteriors[] array only has memory allocated for one float, and the featureVector[] array only has memory allocated for one int. It appears that these arrays are not being initialized and properly sized, and do not contain the expected content.
I'm running OpenTLD on a Windows 7 PC, using MS Visual Studio 2005. I can consistently crash the program if I draw bounding boxes repeatedly over a sequence of images (the target is difficult to track in the images, so the tracker cannot lock onto the target).
When the crash occurs, a window indicates that opentld.exe has stopped working. Going into the debugger, Visual Studio displays an error window with a message like this: "Unhandled exception at 0x0041f859 in opentld.exe: 0xC0000005: Access violation reading location 0x38251454." The Visual Studio debugging window indicates that the error has stopped in the EnsembleClassifier::calcConfidence method, when trying to execute the line: "conf += posteriors[i * numIndices + featureVector[i]];"
A little further investigation shows that when the crash occurs, the posteriors[] array only has memory allocated for one float, and the featureVector[] array only has memory allocated for one int. It appears that these arrays are not being initialized and properly sized, and do not contain the expected content.