-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Description
System information (version)
- OpenCV => latest master or 3.4 branches, starting with this commit
cc10e6b
This commit does not have the regression:
ad93ed7
So it's only a few commit between the two.
- Operating System / Platform => Android 32bit
- Compiler => NDK r18
Detailed description
Bus error for some specific jpg files.
Additional info: The issue is reproducible only on Android, all is fine on Intel-x86/gcc-6 and rasperry-pi3/raspian/g++-arm-linux-gnueabihf platforms.
We managed to reproduce the crash reliably with an image and the following code on Android (32bit NDK r18) compiled with -DENABLE_NEON=ON -DENABLE_VFPV3=ON
int main(int argc, char* argv[]) {
cv::Mat m = cv::imread(argv[1]);
cv::pyrDown(m, m);
return 0;}
Backtrace:
(cv::PyrDownVec_32s8u::operator()(int*, unsigned char, int, int) const+756)
(void cv::pyrDown_<cv::FixPtCast<unsigned char, 8>, cv::PyrDownVec_32s8u>(cv::Mat const&, cv::Mat&, int)+4232)
(cv::pyrDown(cv::_InputArray const&, cv::OutputArray const&, cv::Size const&, int)+660)