Ask Your Question

Revision history [back]

OpenCV app doesnt work since Manager Update

Hi I'm working on an app wich is working perfectly before i've updated library with opencv manager. Since this update, nothing work, mainactivity is freezing at :

OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_6, this, OpenCVLoaderCallback)

by freezing i mean eternal loop like i see in logcat :

07-04 10:51:40.239: I/MainActivity(2173): onResume Trying to load OpenCV library
07-04 10:51:40.259: I/ActivityManager(1854): Start proc org.opencv.engine:OpenCVEngineProcess for service org.opencv.engine/.OpenCVEngineService: pid=2202 uid=10088 gids={}
07-04 10:51:40.309: I/dalvikvm(2202): Turning on JNI app bug workarounds for target SDK version 9...
07-04 10:51:40.399: I/libblt_hw(1479): Library opened (handle = 5, fd = 26)
07-04 10:51:40.419: I/libblt_hw(1479): Library closed (handle = 0, fd = 23)
07-04 10:51:40.429: I/ActivityManager(1854): Start proc com.google.android.gms for broadcast com.google.android.gms/.games.receiver.GamesSystemBroadcastReceiver: pid=2216 uid=10046 gids={3003, 1015, 1007, 1006, 2001, 3006}
07-04 10:51:40.439: D/libEGL(2173): loaded /system/lib/egl/libGLES_android.so
07-04 10:51:40.469: I/ActivityManager(1854): No longer want com.noshufou.android.su (pid 2056): hidden #4
07-04 10:51:40.479: D/libEGL(2173): loaded /system/lib/egl/libEGL_mali.so
07-04 10:51:40.499: D/libEGL(2173): loaded /system/lib/egl/libGLESv1_CM_mali.so
07-04 10:51:40.509: D/libEGL(2173): loaded /system/lib/egl/libGLESv2_mali.so
07-04 10:51:40.519: D/Finsky(2117): [1] 2.run: Loaded library for account: [CS69CzvXSh-O6MOZsBi97pb4rDU]
07-04 10:51:40.519: D/Finsky(2117): [1] 2.run: Finished loading 1 libraries.
07-04 10:51:40.529: D/dalvikvm(1480): GC_EXPLICIT freed 37K, 74% free 2204K/8323K, paused 1ms+6ms
07-04 10:51:40.589: I/OpenCVEngine/Service(2202): Service starting
07-04 10:51:40.589: I/OpenCVEngine/Service(2202): Engine binder component creating
07-04 10:51:40.589: D/dalvikvm(2202): Trying to load lib /data/data/org.opencv.engine/lib/libOpenCVEngine.so 0x40d74a20
07-04 10:51:40.589: D/dalvikvm(1480): GC_EXPLICIT freed <1K, 74% free 2204K/8323K, paused 3ms+2ms
07-04 10:51:40.619: D/OpenCVEngine(2202): Using ARM HW detector
07-04 10:51:40.629: D/dalvikvm(2202): Added shared lib /data/data/org.opencv.engine/lib/libOpenCVEngine.so 0x40d74a20
07-04 10:51:40.629: D/dalvikvm(2202): No JNI_OnLoad found in /data/data/org.opencv.engine/lib/libOpenCVEngine.so 0x40d74a20, skipping init
07-04 10:51:40.629: D/dalvikvm(2202): Trying to load lib /data/data/org.opencv.engine/lib/libOpenCVEngine_jni.so 0x40d74a20
07-04 10:51:40.629: D/dalvikvm(1480): GC_EXPLICIT freed <1K, 74% free 2204K/8323K, paused 3ms+6ms
07-04 10:51:40.629: D/dalvikvm(2202): Added shared lib /data/data/org.opencv.engine/lib/libOpenCVEngine_jni.so 0x40d74a20
07-04 10:51:40.629: D/dalvikvm(2202): No JNI_OnLoad found in /data/data/org.opencv.engine/lib/libOpenCVEngine_jni.so 0x40d74a20, skipping init
07-04 10:51:40.629: D/OpenCVEngine/JNI(2202): Java_org_opencv_engine_BinderConnector_Init
07-04 10:51:40.629: I/OpenCVEngine/JNI(2202): Creating new component
07-04 10:51:40.629: I/OpenCVEngine/JNI(2202): New component created successfully
07-04 10:51:40.629: I/OpenCVEngine/Service(2202): Service started successfully
07-04 10:51:40.629: I/OpenCVEngine/Service(2202): Service onBind called for intent Intent { act=org.opencv.engine.BIND }
07-04 10:51:40.649: D/OpenGLRenderer(2173): Enabling debug mode 0
07-04 10:51:40.659: I/libblt_hw(1479): Library opened (handle = 0, fd = 28)
07-04 10:51:40.719: I/ActivityThread(2216): Pub com.google.android.gms.games: com.google.android.gms.games.provider.GamesContentProvider
07-04 10:51:40.829: I/ActivityThread(2216): Pub com.google.android.gms.people: com.google.android.gms.people.service.PeopleContentProvider
07-04 10:51:40.859: I/ActivityThread(2216): Pub com.google.android.gms.appstate: com.google.android.gms.appstate.provider.AppStateContentProvider
07-04 10:51:40.879: I/ActivityManager(1854): Displayed android.ioio.car/.MainActivity: +1s215ms (total +21m3s806ms)
07-04 10:51:40.889: I/ActivityThread(2216): Pub com.google.android.gms.people.export: com.google.android.gms.people.debug.PeopleExportProvider
07-04 10:51:40.889: I/ActivityThread(2216): Pub com.google.android.gms.plus;com.google.android.gms.plus.action: com.google.android.gms.plus.provider.PlusProvider
07-04 10:51:40.939: D/OpenCVManager/Helper(2173): Service connection created
07-04 10:51:40.939: D/OpenCVEngine(2202): OpenCVEngine::OnTransact(1,16)
07-04 10:51:40.939: D/OpenCVEngine(2202): OpenCVEngine OCVE_GET_ENGINE_VERSION request
07-04 10:51:40.939: D/OpenCVEngine(2202): OpenCVEngine::GetVersion()
07-04 10:51:40.939: D/OpenCVManager/Helper(2173): Trying to get library path
07-04 10:51:40.939: D/OpenCVEngine(2202): OpenCVEngine::OnTransact(2,16)
07-04 10:51:40.939: D/OpenCVEngine(2202): OpenCVEngine OCVE_GET_LIB_PATH_BY_VERSION request
07-04 10:51:40.939: D/OpenCVEngine(2202): OpenCVEngine::GetLibPathByVersion(2.4.3)
07-04 10:51:40.939: D/OpenCVEngine(2202): OpenCVEngine::GetLibPathByVersion(2.4.3) impl
07-04 10:51:40.949: D/OpenCVEngine(2202): PackageInfo::PackageInfo: package arch ARMv7
07-04 10:51:40.949: D/JavaBasedPackageManager(2202): JavaBasedPackageManager::GetInstalledPackages() begin
07-04 10:51:41.039: D/JavaBasedPackageManager(2202): Package info conversion
07-04 10:51:41.049: D/OpenCVEngine(2202): PackageInfo::PackageInfo("org.opencv.engine", "/data/data/org.opencv.engine/lib", "2.8")
07-04 10:51:41.049: D/OpenCVEngine(2202): Trying to load info library "/data/data/org.opencv.engine/lib/libopencv_info.so"
07-04 10:51:41.049: I/OpenCVEngine(2202): OpenCV package "org.opencv.lib_v24_armv7a_neon" revision "6.0.1" found
07-04 10:51:41.049: D/JavaBasedPackageManager(2202): JavaBasedPackageManager::GetInstalledPackages() end
07-04 10:51:41.049: D/CommonPackageManager(2202): Check version "2040300" compatibility with "2040600"
07-04 10:51:41.049: D/CommonPackageManager(2202): Compatible
07-04 10:51:41.049: D/CommonPackageManager(2202): !!! Calculating rating for ARM
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (0, 67108864) against (0,268435462)
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (0, 134217728) against (0,268435462)
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (0, 134217729) against (0,268435462)
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (0, 134217730) against (0,268435462)
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (0, 134217731) against (0,268435462)
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (0, 268435456) against (0,268435462)
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (0, 268435457) against (0,268435462)
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (2, 268435457) against (0,268435462)
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (0, 268435458) against (0,268435462)
07-04 10:51:41.049: D/CommonPackageManager(2202): Checking (0, 268435459) against (0,268435462)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 268435460) against (0,268435462)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 268435461) against (0,268435462)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 268435462) against (0,268435462)
07-04 10:51:41.059: D/CommonPackageManager(2202): Rating found: 12
07-04 10:51:41.059: D/CommonPackageManager(2202): Current hardware platform rating 12 for (0,268435462)
07-04 10:51:41.059: D/CommonPackageManager(2202): !!! Calculating rating for ARM
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 67108864) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 134217728) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 134217729) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 134217730) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 134217731) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 268435456) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 268435457) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (2, 268435457) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 268435458) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 268435459) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Checking (0, 268435460) against (0,268435460)
07-04 10:51:41.059: D/CommonPackageManager(2202): Rating found: 10
07-04 10:51:41.059: D/CommonPackageManager(2202): Package "org.opencv.lib_v24_armv7a_neon" rating 10 for (0,268435460)
07-04 10:51:41.059: D/OpenCVEngine(2202): Fixing permissions for folder: "/data/data/org.opencv.engine/lib"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "."
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for ".."
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libopencv_java.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libOpenCVEngine_jni.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libOpenCVEngine.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libnative_camera_r2.3.3.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libnative_camera_r4.0.3.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libnative_camera_r4.2.0.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libnative_camera_r2.2.0.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libnative_camera_r4.0.0.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libnative_camera_r4.1.1.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libopencv_info.so"
07-04 10:51:41.059: D/OpenCVEngine(2202): Fix permissions for "libnative_camera_r3.0.1.so"
07-04 10:51:41.059: D/OpenCVManager/Helper(2173): Trying to get library list
07-04 10:51:41.059: D/OpenCVEngine(2202): OpenCVEngine::OnTransact(4,16)
07-04 10:51:41.059: D/OpenCVEngine(2202): OpenCVEngine OCVE_GET_LIB_LIST request
07-04 10:51:41.059: D/OpenCVEngine(2202): OpenCVEngine::GetLibraryList(2.4.3)
07-04 10:51:41.059: D/OpenCVEngine(2202): PackageInfo::PackageInfo: package arch ARMv7
07-04 10:51:41.059: D/JavaBasedPackageManager(2202): JavaBasedPackageManager::GetInstalledPackages() begin
07-04 10:51:41.109: D/JavaBasedPackageManager(2202): Package info conversion
07-04 10:51:41.109: D/OpenCVEngine(2202): PackageInfo::PackageInfo("org.opencv.engine", "/data/data/org.opencv.engine/lib", "2.8")
07-04 10:51:41.109: D/OpenCVEngine(2202): Trying to load info library "/data/data/org.opencv.engine/lib/libopencv_info.so"
07-04 10:51:41.109: I/OpenCVEngine(2202): OpenCV package "org.opencv.lib_v24_armv7a_neon" revision "6.0.1" found
07-04 10:51:41.109: D/JavaBasedPackageManager(2202): JavaBasedPackageManager::GetInstalledPackages() end
07-04 10:51:41.109: D/CommonPackageManager(2202): Check version "2040300" compatibility with "2040600"
07-04 10:51:41.109: D/CommonPackageManager(2202): Compatible
07-04 10:51:41.109: D/CommonPackageManager(2202): !!! Calculating rating for ARM
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 67108864) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 134217728) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 134217729) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 134217730) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 134217731) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435456) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435457) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (2, 268435457) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435458) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435459) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435460) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435461) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435462) against (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): Rating found: 12
07-04 10:51:41.109: D/CommonPackageManager(2202): Current hardware platform rating 12 for (0,268435462)
07-04 10:51:41.109: D/CommonPackageManager(2202): !!! Calculating rating for ARM
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 67108864) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 134217728) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 134217729) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 134217730) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 134217731) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435456) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435457) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (2, 268435457) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435458) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435459) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Checking (0, 268435460) against (0,268435460)
07-04 10:51:41.109: D/CommonPackageManager(2202): Rating found: 10
07-04 10:51:41.109: D/CommonPackageManager(2202): Package "org.opencv.lib_v24_armv7a_neon" rating 10 for (0,268435460)
07-04 10:51:41.109: D/OpenCVEngine(2202): Trying to load info library "/data/data/org.opencv.engine/lib/libopencv_info.so"
07-04 10:51:41.109: D/OpenCVManager/Helper(2173): Library list: ""
07-04 10:51:41.109: D/OpenCVManager/Helper(2173): First attempt to load libs
07-04 10:51:41.109: D/OpenCVManager/Helper(2173): Trying to init OpenCV libs
07-04 10:51:41.109: D/OpenCVManager/Helper(2173): Trying to load library /data/data/org.opencv.engine/lib/libopencv_java.so
07-04 10:51:41.109: D/dalvikvm(2173): Trying to load lib /data/data/org.opencv.engine/lib/libopencv_java.so 0x40d74598
07-04 10:51:41.190: D/dalvikvm(1854): GC_EXPLICIT freed 1362K, 37% free 10434K/16455K, paused 28ms+8ms
07-04 10:51:41.280: I/libblt_hw(1479): Library closed (handle = 3, fd = 31)
07-04 10:57:16.927: I/InputDispatcher(1854): Application is not responding: Window{40ed8848 android.ocv.car/android.ocv.car.MainActivity paused=false}.  5007.0ms since event, 5006.0ms since wait started
07-04 10:57:16.927: I/WindowManager(1854): Input event dispatching timed out sending to android.ocv.car/android.ocv.car.MainActivity
07-04 10:57:21.932: I/InputDispatcher(1854): Dropped event because it is stale.

i've tried static method too, and i've the same result Thank you