我正在尝试在OpenCV中使用OpenCL模块进行冲浪实现。一切顺利,包括冲浪功能检测,但在结束程序之前,我收到以下错误:
Unhandled exception at 0x000000013F66DEA3 in Project.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF
调用堆栈如下:
Project.exe!std::vector<int,std::allocator<int> >::_Tidy() Line 1623 C++
Project.exe!std::vector<int,std::allocator<int> >::~vector<int,std::allocator<int> >() Line 946 C++
Project.exe!cv::ocl::PlatformInfoImpl::~PlatformInfoImpl() C++
Project.exe!cv::ocl::PlatformInfoImpl::`scalar deleting destructor'(unsigned int) C++
Project.exe!cv::ocl::ContextImpl::~ContextImpl() Line 620 C++
[External Code]
Project.exe!cv::ocl::ContextImpl::cleanupContext() Line 762 C++
Project.exe!cv::ocl::__Module::~__Module() Line 926 C++
[External Code]