You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System / Platform => Android 8.0 armeabi-v7a:
Compiler => ❔ clang NDK 19, 18, 17, 16
Detailed description
I am trying to use opencv-4.0.1-android-sdk.zip in latest Android studio. For Armv8 everything is ok. Armv7 crashes when I am trying to call compute function.
Maybe I need any special arguments in build.gradle file with Armv7 build?
I tried NDK 19, 18, 17, 16, and "-DANDROID_STL=c++_shared" flags, it does not helps.
I'm having the same issue with armv7 devices, but inside GaussianBlur.
Unlike @YuraIU02, I'm building my own .so which links to the static prebuilt binaries.
Updating to 4.1.0 did not help.
Here are stack trace excerpts from versions running both 4.0.1 and 4.1.0:
Activity
alalek commentedon Apr 8, 2019
probably relates #12961
alalek commentedon Apr 9, 2019
Could you try the latest release: OpenCV 4.1.0 ?
Palladinium commentedon Jun 4, 2019
I'm having the same issue with armv7 devices, but inside
GaussianBlur.Unlike @YuraIU02, I'm building my own
.sowhich links to the static prebuilt binaries.Updating to 4.1.0 did not help.
Here are stack trace excerpts from versions running both 4.0.1 and 4.1.0:
stacktrace_4.0.1.txt
stacktrace_4.1.0.txt
Palladinium commentedon Jun 27, 2019
The fix for #14265 worked for me, but I'm now experiencing a different issue (#14906).
Palladinium commentedon Jul 4, 2019
As it turns out, the fix for #14265 did not work, and #14906 was only masking this crash.
The crash doesn't occur when NEON is disabled (by removing
with NEONfrom the config), and runningndk-stackgives me this:Which points at this line:
opencv/modules/core/include/opencv2/core/hal/intrin_neon.hpp
Line 1554 in 097d813
I'm unfortunately out of my depth here, so I'm not sure what to do to fix it.
alalek commentedon Jul 4, 2019
Thank you for the detailed stack trace!
Looks like there are other
uchar*=>int*unaligned pointers casts:opencv/modules/imgproc/src/filter.simd.hpp
Line 1052 in 097d813
and:
opencv/modules/imgproc/src/filter.simd.hpp
Line 1107 in 097d813