Ask Your Question
1

Opencv Android 2.4.5 device reboot

asked 2013-05-22 21:33:56 -0600

heneedhelp gravatar image

updated 2013-05-23 22:41:47 -0600

my problem is that all the opencv samples, compile fine, but when i run, it shows the camera for ~1 sec, then the phone reboots, with no errors or anything. This happens with all the samples, i have searched alot, but with no results. those same samples were also tested on an old sony ericsson device, and they worked worked correctly. also, all of the opencv examples from the play store had the same problem, except one CVCamera. so please if anyone got any idea what could be the problem/how to fix it, i would be really grateful.

Dev. environment: opencv 2.4.5, ndk-r8d-darwin-x86, and the 22 SDK from the eclipse plugin Device of problem: Samsung S4 international edition opencv manager 2.7 device hardware: ARM v7 with Neon OS version REL 4.2.2 API 17 installed packages: built-in opencv library 2.4.5.0 rev 1 target hardware armv7a neon

logcat output for the puzzle sample app:

05-23 21:18:48.591: D/SELinux(7482): selinux_knoxprecontexthook:  Calling  selinux_knoxprecontexthook for uid: 10259 isSystemServer: 0 seinfo: default pkgname org.opencv.samples.puzzle15
05-23 21:18:48.591: D/dalvikvm(7482): Late-enabling CheckJNI
05-23 21:18:48.606: I/dalvikvm(7482): Turning on JNI app bug workarounds for target SDK version 8...
05-23 21:18:48.611: E/jdwp(7482): Failed sending reply to debugger: Broken pipe
05-23 21:18:48.611: D/dalvikvm(7482): Debugger has detached; object registry had 1 entries
05-23 21:18:48.661: D/CameraBridge(7482): Attr count: 3
05-23 21:18:48.726: D/CameraBridge(7482): call surfaceChanged event
05-23 21:18:48.766: D/OpenCVManager/Helper(7482): Service connection created
05-23 21:18:48.766: D/OpenCVManager/Helper(7482): Trying to get library path
05-23 21:18:48.841: D/OpenCVManager/Helper(7482): Trying to get library list
05-23 21:18:48.931: D/OpenCVManager/Helper(7482): Library list: ""
05-23 21:18:48.931: D/OpenCVManager/Helper(7482): First attempt to load libs
05-23 21:18:48.931: D/OpenCVManager/Helper(7482): Trying to init OpenCV libs
05-23 21:18:48.931: D/OpenCVManager/Helper(7482): Trying to load library /data/app-lib/org.opencv.engine-1/libopencv_java.so
05-23 21:18:48.931: D/dalvikvm(7482): Trying to load lib /data/app-lib/org.opencv.engine-1/libopencv_java.so 0x41f8a0e8
05-23 21:18:48.986: D/dalvikvm(7482): Added shared lib /data/app-lib/org.opencv.engine-1/libopencv_java.so 0x41f8a0e8
05-23 21:18:48.986: D/OpenCVManager/Helper(7482): OpenCV libs init was ok!
05-23 21:18:48.986: D/OpenCVManager/Helper(7482): First attempt to load libs is OK
05-23 21:18:48.986: I/OpenCVManager/Helper(7482): General configuration for OpenCV 2.4.5 =====================================
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Version control:               2.4.5
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Platform:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Host:                        Linux 3.2.0-39-generic x86_64
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Target:                      Linux ...
(more)
edit retag flag offensive close merge delete

Comments

Hi! Could you please attach a logcat output?

Daniil Osokin gravatar imageDaniil Osokin ( 2013-05-23 00:49:40 -0600 )edit

logcat output added, for the puzzle sample app.

heneedhelp gravatar imageheneedhelp ( 2013-05-23 14:25:59 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-06-02 01:15:31 -0600

heneedhelp gravatar image

updated 2013-06-02 01:16:06 -0600

just found out it might be a samsung problem in the international version.

XDA topic

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-22 21:33:56 -0600

Seen: 996 times

Last updated: Jun 02 '13