stack around the variable was corrupted
场景:OpenCV - Stack around the variable 'XXX' was corrupted
OpenCV - Stack around the variable 'XXX' was corrupted.
OpenCV - Stack around the variable 'XXX' was corrupted.
Stack around the variable 'XXX' was corrupted.
本文地址: http://blog.****.net/caroline_wendy/article/details/22089477
环境: OpenCV 2.4.7 + Visual Studio 2012
在使用OpenCV的FileStorage类时, 出现异常, 导致C++基础类库的函数无法析构, 如string, fstream等;
提示错误: Stack around the variable 'XXX' was corrupted.
OpenCV的bug问题, 暂时无法解决;
需要把FileStorage类, 移除单独的函数中, 进行处理, 与基础类的析构分开, 可以暂时解决.
再使用原函数 调用 包含FileStrorage的函数, 进行处理xml数据.