Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opencv 3.4.1 FileStorage crash on Android

I upgrade from Opencv 3.2 to 3.4.1. However, the filestorage functions cannot work any more. The app crash when step over the filestorage functions. If I change back to 3.2.0, this problem just disappear. I do not know how to fix this problem in 3.4.1

Opencv 3.4.1 FileStorage crash on Android

I upgrade from Opencv 3.2 to 3.4.1. However, the filestorage functions cannot work any more. The app crash when step over the filestorage functions. If I change back to 3.2.0, this problem just disappear. I do not know how to fix this problem in 3.4.1

std::string filename = "/sdcard/test.yml";

cv::FileStorage fs(filename, cv::FileStorage::WRITE);
fs << "iterationNr" << "xyz";
fs.release();

The crash messages:

A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xd29800b4 in tid 28996 (d.cvfilestorage), pid 28996 (d.cvfilestorage)