My program falls,when I use morphologyEx() in android native code
My program falls,when I use morphologyEx() in android native code. when i don't use morphologyEx(), my program move normally.
code:
cv::morphologyEx(input, output,cv::MORPH_OPEN,cv::Mat(),cv::Point(-1,-1),2);
Logcat:
@@@ ABORTING: INVALID HEAP ADDRESS IN dlfree
Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
Why does the program fall? Is this bug "opencv for android library" ?