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
I am trying to run your OpenCV sample on a Moto Droid. I am having issues with the native findContours function. When this function is called, the app crashes. When the crash happens the log says:
I don't know about the first error, but concerning a new project, you're probably getting a JNI linking error because you haven't provided the OpenCV library. Make sure that the System.loadLibrary("opencv") call can find the library. (For reference, JNI_OnLoad() can be found in jni.h:164.)
Does the VideoEmulation project work in the emulator?
I am trying to run your OpenCV sample on a Moto Droid. I am having issues with the native findContours function. When this function is called, the app crashes. When the crash happens the log says:
05-16 10:06:24.219: DEBUG/dalvikvm(3404): +++ not scanning '/system/lib/libwebcore.so' for 'findContours' (wrong CL)
05-16 10:06:24.219: DEBUG/dalvikvm(3404): +++ not scanning '/system/lib/libmedia_jni.so' for 'findContours' (wrong CL)
05-16 10:06:24.219: DEBUG/dalvikvm(3404): +++ not scanning '/system/lib/libexif.so' for 'findContours' (wrong CL)
05-16 10:06:24.226: DEBUG/dalvikvm(3404): +++ not scanning '/system/lib/libsrec_jni.so' for 'findContours' (wrong CL)
05-16 10:06:24.367: INFO/DEBUG(991): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-16 10:06:24.375: INFO/DEBUG(991): Build fingerprint: 'verizon/voles/sholes/sholes:2.1-update1/ESE81/29593:user/release-keys'
05-16 10:06:24.375: INFO/DEBUG(991): pid: 3404, tid: 3404 >>> org.siprop.opencv <<<
05-16 10:06:24.375: INFO/DEBUG(991): signal 11 (SIGSEGV), fault addr 00000000
05-16 10:06:24.375: INFO/DEBUG(991): r0 00000001 r1 00000000 r2 80b3dfb4 r3 00000000
05-16 10:06:24.375: INFO/DEBUG(991): r4 fffffffb r5 80a31511 r6 80b0f6a4 r7 80b0f564
05-16 10:06:24.375: INFO/DEBUG(991): r8 80b3dfb4 r9 4186bd78 10 beadba28 fp 4186bd74
05-16 10:06:24.375: INFO/DEBUG(991): ip afe14db5 sp beadb798 lr beadb754 pc 80a312b0 cpsr 60000030
05-16 10:06:24.430: INFO/DEBUG(991): #00 pc 000312b0 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.430: INFO/DEBUG(991): #1 pc 0001f3bc /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.437: INFO/DEBUG(991): #2 pc 0001e490 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.437: INFO/DEBUG(991): #3 pc 0000ecb4 /system/lib/libdvm.so
05-16 10:06:24.437: INFO/DEBUG(991): code around pc:
05-16 10:06:24.437: INFO/DEBUG(991): 80a312a0 93011c32 1c3b68ad 280047a8 2300d001
05-16 10:06:24.437: INFO/DEBUG(991): 80a312b0 b002601b 4690bc04 2000bdf0 ffc6f7ff
05-16 10:06:24.437: INFO/DEBUG(991): 80a312c0 46c0e7f7 00001010 f7ffb510 6800ffa1
05-16 10:06:24.437: INFO/DEBUG(991): code around lr:
05-16 10:06:24.437: INFO/DEBUG(991): beadb744 0000001f afe3afd8 afe143b3 80b0f564
05-16 10:06:24.437: INFO/DEBUG(991): beadb754 beadb760 00000001 00000000 80b12b30
05-16 10:06:24.437: INFO/DEBUG(991): beadb764 0000001f 80b3d158 80b0f564 80b3dfb4
05-16 10:06:24.437: INFO/DEBUG(991): stack:
05-16 10:06:24.437: INFO/DEBUG(991): beadb758 00000001
05-16 10:06:24.437: INFO/DEBUG(991): beadb75c 00000000
05-16 10:06:24.437: INFO/DEBUG(991): beadb760 80b12b30 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.437: INFO/DEBUG(991): beadb764 0000001f
05-16 10:06:24.437: INFO/DEBUG(991): beadb768 80b3d158 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.437: INFO/DEBUG(991): beadb76c 80b0f564 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.445: INFO/DEBUG(991): beadb770 80b3dfb4 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.445: INFO/DEBUG(991): beadb774 80a315ab /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.445: INFO/DEBUG(991): beadb778 000005ad
05-16 10:06:24.445: INFO/DEBUG(991): beadb77c 418ab254 /dev/ashmem/dalvik-LinearAlloc (deleted)
05-16 10:06:24.445: INFO/DEBUG(991): beadb780 80b3dfb4 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.445: INFO/DEBUG(991): beadb784 fffffffb
05-16 10:06:24.445: INFO/DEBUG(991): beadb788 80a31511 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.445: INFO/DEBUG(991): beadb78c 80b0f6a4 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.445: INFO/DEBUG(991): beadb790 df002777
05-16 10:06:24.445: INFO/DEBUG(991): beadb794 e3a070ad
05-16 10:06:24.445: INFO/DEBUG(991): #00 beadb798 000005ad
05-16 10:06:24.445: INFO/DEBUG(991): beadb79c 00000000
05-16 10:06:24.445: INFO/DEBUG(991): beadb7a0 beadb8c4 [stack]
05-16 10:06:24.445: INFO/DEBUG(991): beadb7a4 beadb87c [stack]
05-16 10:06:24.445: INFO/DEBUG(991): beadb7a8 80b45280 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.445: INFO/DEBUG(991): beadb7ac 0000aa98 [heap]
05-16 10:06:24.445: INFO/DEBUG(991): beadb7b0 beadb87c [stack]
05-16 10:06:24.445: INFO/DEBUG(991): beadb7b4 80a1f3c1 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.445: INFO/DEBUG(991): #1 beadb7b8 000005ad
05-16 10:06:24.445: INFO/DEBUG(991): beadb7bc 447c4058 /dev/ashmem/mspace/dalvik-heap/2 (deleted)
05-16 10:06:24.445: INFO/DEBUG(991): beadb7c0 80b3d158 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.445: INFO/DEBUG(991): beadb7c4 80a1e495 /data/data/org.siprop.opencv/lib/libopencv.so
05-16 10:06:24.773: DEBUG/Zygote(993): Process 3404 terminated by signal (11)
05-16 10:06:24.781: INFO/WindowManager(1033): WIN DEATH: Window{4473abb0 SurfaceView paused=false}
05-16 10:06:24.781: INFO/WindowManager(1033): WIN DEATH: Window{44687f60 org.siprop.opencv/org.siprop.opencv.OpenCVSample paused=false}
I also tried creating a separate project and call the findContours function, and I get a No JNI_onLoad found.
The text was updated successfully, but these errors were encountered: