Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opencv Android 2.4.5 device reboot

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 latest 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

Opencv Android 2.4.5 device reboot

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, 2.4.5, ndk-r8d-darwin-x86, and the latest SDK SDK from the eclipse plugin plugin Device of of problem: Samsung S4 international edition international edition opencv manager 2.7 device device hardware: ARM v7 with Neon Neon OS version version REL 4.2.2 API 17 17 installed packages: built-in opencv library 2.4.5.0 rev 1 target hardware armv7a neon

logcat:

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 1 armv7-a
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake:                       2.8.9
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake generator:             Ninja
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake build tool:            /usr/local/bin/ninja
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Configuration:               Release
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   C/C++:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Built as dynamic libs?:      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ Compiler:                /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ (ver 4.6)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ flags (Release):         -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ flags (Debug):           -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C Compiler:                  /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C flags (Release):           -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C flags (Debug):             -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Linker flags (Release):      -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Linker flags (Debug):        -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Precompiled headers:         NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   OpenCV modules:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     To be built:                 core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Disabled:                    ts world
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Disabled by dependency:      -
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Unavailable:                 gpu nonfree ocl python superres facedetect tegra vstab
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Android: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android ABI:                 armeabi-v7a with NEON
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     STL type:                    gnustl_static
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Native API level:            android-9
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     SDK target:                  android-11
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android NDK:                 /opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     android tool:                /home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 21.1.)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Google Play package:         YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android examples:            YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   GUI: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GTK+ 2.x:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GThread :                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GtkGlExt:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     OpenGL support:              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Media I/O: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     ZLib:                        z (ver 1.2.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     JPEG:                        build (ver 62)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     PNG:                         build (ver 1.5.12)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     TIFF:                        build (ver 42 - 4.0.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     JPEG 2000:                   build (ver 1.900.1)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     OpenEXR:                     build (ver 1.7.1)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Video I/O:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     AndroidNativeCamera:         YES, use prebuilt libraries
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Other third-party libraries:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use IPP:                     NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Eigen:                   YES (ver 3.1.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use TBB:                     YES (ver 4.1 interface 6102)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use OpenMP:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use GCD                      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Concurrency              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use C=:                      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Cuda:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use OpenCL:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Python:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Interpreter:                 /usr/bin/python2 (ver 2.7.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Java:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     ant:                         /home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Java tests:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Documentation:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Build Documentation:         YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Sphinx:                      /usr/local/bin/sphinx-build (ver Sphinx v1.1.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     PdfLaTeX compiler:           /usr/bin/pdflatex
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Tests and samples:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Tests:                       NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Performance tests:           NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C/C++ Examples:              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Install path:                  /home/reports/ci/slave/50-SDK/build/builds/o4t/install
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   cvconfig.h is in:              /home/reports/ci/slave/50-SDK/build/builds/o4t
05-23 21:18:48.986: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:48.986: I/OpenCVManager/Helper(7482): General configuration for OpenCV4Tegra =====================================
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   inner version                  12255
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   memory allocator               YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   hardware link                  YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   compact sources                YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   logging enabled                NO
05-23 21:18:48.991: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Init finished with status 0
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Unbind from service
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Calling using callback
05-23 21:18:48.991: I/Sample::Puzzle15::Activity(7482): OpenCV loaded successfully
05-23 21:18:48.991: D/JavaCameraView(7482): Connecting to camera
05-23 21:18:48.991: D/JavaCameraView(7482): Initialize java camera
05-23 21:18:48.991: D/JavaCameraView(7482): Trying to open camera with old open()
05-23 21:18:49.026: D/JavaCameraView(7482): getSupportedPreviewSizes()
05-23 21:18:49.026: D/JavaCameraView(7482): Set preview size to 1056x864
05-23 21:18:49.056: D/dalvikvm(7482): GC_FOR_ALLOC freed 126K, 6% free 18151K/19272K, paused 19ms, total 20ms
05-23 21:18:49.066: I/dalvikvm-heap(7482): Grow heap (frag case) to 22.171MB for 3649552-byte allocation
05-23 21:18:49.081: D/dalvikvm(7482): GC_FOR_ALLOC freed 1K, 5% free 21714K/22840K, paused 13ms, total 13ms
05-23 21:18:49.086: D/JavaCameraView(7482): startPreview
05-23 21:18:49.101: D/dalvikvm(7482): GC_CONCURRENT freed 1K, 5% free 21715K/22840K, paused 3ms+1ms, total 20ms
05-23 21:18:50.936: D/JavaCameraView(7482): Starting processing thread
05-23 21:18:50.936: I/Choreographer(7482): Skipped 129 frames!  The application may be doing too much work on its main thread.
05-23 21:18:51.141: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.206: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.226: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.296: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.311: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.346: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.406: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.421: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.471: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.521: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.541: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.596: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.681: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.721: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.771: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.831: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.836: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.886: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.916: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.946: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.971: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:52.006: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:52.031: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:52.251: D/OpenCVManager/Helper(7482): Service connection created
05-23 21:18:52.251: D/OpenCVManager/Helper(7482): Trying to get library path
05-23 21:18:52.456: D/OpenCVManager/Helper(7482): Trying to get library list
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Library list: ""
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): First attempt to load libs
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Trying to init OpenCV libs
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Trying to load library /data/app-lib/org.opencv.engine-1/libopencv_java.so
05-23 21:18:52.641: D/dalvikvm(7482): Trying to load lib /data/app-lib/org.opencv.engine-1/libopencv_java.so 0x41f8a0e8
05-23 21:18:52.641: D/dalvikvm(7482): Shared lib '/data/app-lib/org.opencv.engine-1/libopencv_java.so' already loaded in same CL 0x41f8a0e8
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): OpenCV libs init was ok!
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): First attempt to load libs is OK
05-23 21:18:52.641: I/OpenCVManager/Helper(7482): General configuration for OpenCV 2.4.5 =====================================
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   Version control:               2.4.5
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   Platform:
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Host:                        Linux 3.2.0-39-generic x86_64
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Target:                      Linux 1 armv7-a
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake:                       2.8.9
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake generator:             Ninja
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake build tool:            /usr/local/bin/ninja
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Configuration:               Release
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   C/C++:
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Built as dynamic libs?:      NO
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ Compiler:                /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ (ver 4.6)
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ flags (Release):         -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ flags (Debug):           -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C Compiler:                  /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C flags (Release):           -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C flags (Debug):             -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Linker flags (Release):      -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Linker flags (Debug):        -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Precompiled headers:         NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   OpenCV modules:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     To be built:                 core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Disabled:                    ts world
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Disabled by dependency:      -
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Unavailable:                 gpu nonfree ocl python superres facedetect tegra vstab
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Android: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android ABI:                 armeabi-v7a with NEON
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     STL type:                    gnustl_static
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Native API level:            android-9
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     SDK target:                  android-11
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android NDK:                 /opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     android tool:                /home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 21.1.)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Google Play package:         YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android examples:            YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   GUI: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GTK+ 2.x:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GThread :                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GtkGlExt:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     OpenGL support:              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Media I/O: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     ZLib:                        z (ver 1.2.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     JPEG:                        build (ver 62)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     PNG:                         build (ver 1.5.12)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     TIFF:                        build (ver 42 - 4.0.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     JPEG 2000:                   build (ver 1.900.1)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     OpenEXR:                     build (ver 1.7.1)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Video I/O:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     AndroidNativeCamera:         YES, use prebuilt libraries
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Other third-party libraries:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use IPP:                     NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Eigen:                   YES (ver 3.1.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use TBB:                     YES (ver 4.1 interface 6102)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use OpenMP:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use GCD                      NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Concurrency              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use C=:                      NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Cuda:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use OpenCL:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Python:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Interpreter:                 /usr/bin/python2 (ver 2.7.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Java:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     ant:                         /home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Java tests:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Documentation:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Build Documentation:         YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Sphinx:                      /usr/local/bin/sphinx-build (ver Sphinx v1.1.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     PdfLaTeX compiler:           /usr/bin/pdflatex
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Tests and samples:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Tests:                       NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Performance tests:           NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     C/C++ Examples:              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Install path:                  /home/reports/ci/slave/50-SDK/build/builds/o4t/install
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   cvconfig.h is in:              /home/reports/ci/slave/50-SDK/build/builds/o4t
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): General configuration for OpenCV4Tegra =====================================
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   inner version                  12255
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   memory allocator               YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   hardware link                  YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   compact sources                YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   logging enabled                NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:52.646: D/OpenCVManager/Helper(7482): Init finished with status 0
05-23 21:18:52.646: D/OpenCVManager/Helper(7482): Unbind from service
05-23 21:18:52.651: D/OpenCVManager/Helper(7482): Calling using callback
05-23 21:18:52.651: I/Sample::Puzzle15::Activity(7482): OpenCV loaded successfully
05-23 21:18:52.716: D/CameraBridge(7482): call surfaceChanged event
05-23 21:18:52.716: D/JavaCameraView(7482): Disconnecting from camera
05-23 21:18:52.716: D/JavaCameraView(7482): Notify thread
05-23 21:18:52.716: D/JavaCameraView(7482): Wating for thread
05-23 21:18:52.716: D/JavaCameraView(7482): Finish processing thread

Opencv Android 2.4.5 device reboot

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 latest 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: 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 1 armv7-a
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake:                       2.8.9
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake generator:             Ninja
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake build tool:            /usr/local/bin/ninja
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Configuration:               Release
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   C/C++:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Built as dynamic libs?:      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ Compiler:                /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ (ver 4.6)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ flags (Release):         -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ flags (Debug):           -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C Compiler:                  /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C flags (Release):           -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C flags (Debug):             -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Linker flags (Release):      -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Linker flags (Debug):        -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Precompiled headers:         NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   OpenCV modules:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     To be built:                 core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Disabled:                    ts world
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Disabled by dependency:      -
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Unavailable:                 gpu nonfree ocl python superres facedetect tegra vstab
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Android: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android ABI:                 armeabi-v7a with NEON
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     STL type:                    gnustl_static
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Native API level:            android-9
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     SDK target:                  android-11
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android NDK:                 /opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     android tool:                /home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 21.1.)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Google Play package:         YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android examples:            YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   GUI: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GTK+ 2.x:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GThread :                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GtkGlExt:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     OpenGL support:              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Media I/O: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     ZLib:                        z (ver 1.2.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     JPEG:                        build (ver 62)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     PNG:                         build (ver 1.5.12)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     TIFF:                        build (ver 42 - 4.0.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     JPEG 2000:                   build (ver 1.900.1)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     OpenEXR:                     build (ver 1.7.1)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Video I/O:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     AndroidNativeCamera:         YES, use prebuilt libraries
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Other third-party libraries:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use IPP:                     NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Eigen:                   YES (ver 3.1.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use TBB:                     YES (ver 4.1 interface 6102)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use OpenMP:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use GCD                      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Concurrency              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use C=:                      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Cuda:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use OpenCL:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Python:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Interpreter:                 /usr/bin/python2 (ver 2.7.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Java:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     ant:                         /home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Java tests:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Documentation:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Build Documentation:         YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Sphinx:                      /usr/local/bin/sphinx-build (ver Sphinx v1.1.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     PdfLaTeX compiler:           /usr/bin/pdflatex
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Tests and samples:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Tests:                       NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Performance tests:           NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C/C++ Examples:              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Install path:                  /home/reports/ci/slave/50-SDK/build/builds/o4t/install
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   cvconfig.h is in:              /home/reports/ci/slave/50-SDK/build/builds/o4t
05-23 21:18:48.986: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:48.986: I/OpenCVManager/Helper(7482): General configuration for OpenCV4Tegra =====================================
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   inner version                  12255
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   memory allocator               YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   hardware link                  YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   compact sources                YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   logging enabled                NO
05-23 21:18:48.991: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Init finished with status 0
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Unbind from service
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Calling using callback
05-23 21:18:48.991: I/Sample::Puzzle15::Activity(7482): OpenCV loaded successfully
05-23 21:18:48.991: D/JavaCameraView(7482): Connecting to camera
05-23 21:18:48.991: D/JavaCameraView(7482): Initialize java camera
05-23 21:18:48.991: D/JavaCameraView(7482): Trying to open camera with old open()
05-23 21:18:49.026: D/JavaCameraView(7482): getSupportedPreviewSizes()
05-23 21:18:49.026: D/JavaCameraView(7482): Set preview size to 1056x864
05-23 21:18:49.056: D/dalvikvm(7482): GC_FOR_ALLOC freed 126K, 6% free 18151K/19272K, paused 19ms, total 20ms
05-23 21:18:49.066: I/dalvikvm-heap(7482): Grow heap (frag case) to 22.171MB for 3649552-byte allocation
05-23 21:18:49.081: D/dalvikvm(7482): GC_FOR_ALLOC freed 1K, 5% free 21714K/22840K, paused 13ms, total 13ms
05-23 21:18:49.086: D/JavaCameraView(7482): startPreview
05-23 21:18:49.101: D/dalvikvm(7482): GC_CONCURRENT freed 1K, 5% free 21715K/22840K, paused 3ms+1ms, total 20ms
05-23 21:18:50.936: D/JavaCameraView(7482): Starting processing thread
05-23 21:18:50.936: I/Choreographer(7482): Skipped 129 frames!  The application may be doing too much work on its main thread.
05-23 21:18:51.141: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.206: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.226: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.296: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.311: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.346: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.406: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.421: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.471: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.521: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.541: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.596: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.681: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.721: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.771: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.831: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.836: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.886: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.916: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.946: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.971: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:52.006: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:52.031: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:52.251: D/OpenCVManager/Helper(7482): Service connection created
05-23 21:18:52.251: D/OpenCVManager/Helper(7482): Trying to get library path
05-23 21:18:52.456: D/OpenCVManager/Helper(7482): Trying to get library list
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Library list: ""
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): First attempt to load libs
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Trying to init OpenCV libs
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Trying to load library /data/app-lib/org.opencv.engine-1/libopencv_java.so
05-23 21:18:52.641: D/dalvikvm(7482): Trying to load lib /data/app-lib/org.opencv.engine-1/libopencv_java.so 0x41f8a0e8
05-23 21:18:52.641: D/dalvikvm(7482): Shared lib '/data/app-lib/org.opencv.engine-1/libopencv_java.so' already loaded in same CL 0x41f8a0e8
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): OpenCV libs init was ok!
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): First attempt to load libs is OK
05-23 21:18:52.641: I/OpenCVManager/Helper(7482): General configuration for OpenCV 2.4.5 =====================================
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   Version control:               2.4.5
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   Platform:
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Host:                        Linux 3.2.0-39-generic x86_64
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Target:                      Linux 1 armv7-a
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake:                       2.8.9
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake generator:             Ninja
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake build tool:            /usr/local/bin/ninja
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Configuration:               Release
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   C/C++:
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Built as dynamic libs?:      NO
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ Compiler:                /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ (ver 4.6)
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ flags (Release):         -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ flags (Debug):           -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C Compiler:                  /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C flags (Release):           -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C flags (Debug):             -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Linker flags (Release):      -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Linker flags (Debug):        -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Precompiled headers:         NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   OpenCV modules:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     To be built:                 core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Disabled:                    ts world
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Disabled by dependency:      -
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Unavailable:                 gpu nonfree ocl python superres facedetect tegra vstab
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Android: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android ABI:                 armeabi-v7a with NEON
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     STL type:                    gnustl_static
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Native API level:            android-9
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     SDK target:                  android-11
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android NDK:                 /opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     android tool:                /home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 21.1.)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Google Play package:         YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android examples:            YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   GUI: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GTK+ 2.x:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GThread :                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GtkGlExt:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     OpenGL support:              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Media I/O: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     ZLib:                        z (ver 1.2.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     JPEG:                        build (ver 62)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     PNG:                         build (ver 1.5.12)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     TIFF:                        build (ver 42 - 4.0.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     JPEG 2000:                   build (ver 1.900.1)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     OpenEXR:                     build (ver 1.7.1)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Video I/O:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     AndroidNativeCamera:         YES, use prebuilt libraries
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Other third-party libraries:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use IPP:                     NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Eigen:                   YES (ver 3.1.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use TBB:                     YES (ver 4.1 interface 6102)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use OpenMP:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use GCD                      NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Concurrency              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use C=:                      NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Cuda:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use OpenCL:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Python:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Interpreter:                 /usr/bin/python2 (ver 2.7.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Java:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     ant:                         /home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Java tests:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Documentation:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Build Documentation:         YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Sphinx:                      /usr/local/bin/sphinx-build (ver Sphinx v1.1.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     PdfLaTeX compiler:           /usr/bin/pdflatex
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Tests and samples:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Tests:                       NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Performance tests:           NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     C/C++ Examples:              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Install path:                  /home/reports/ci/slave/50-SDK/build/builds/o4t/install
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   cvconfig.h is in:              /home/reports/ci/slave/50-SDK/build/builds/o4t
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): General configuration for OpenCV4Tegra =====================================
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   inner version                  12255
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   memory allocator               YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   hardware link                  YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   compact sources                YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   logging enabled                NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:52.646: D/OpenCVManager/Helper(7482): Init finished with status 0
05-23 21:18:52.646: D/OpenCVManager/Helper(7482): Unbind from service
05-23 21:18:52.651: D/OpenCVManager/Helper(7482): Calling using callback
05-23 21:18:52.651: I/Sample::Puzzle15::Activity(7482): OpenCV loaded successfully
05-23 21:18:52.716: D/CameraBridge(7482): call surfaceChanged event
05-23 21:18:52.716: D/JavaCameraView(7482): Disconnecting from camera
05-23 21:18:52.716: D/JavaCameraView(7482): Notify thread
05-23 21:18:52.716: D/JavaCameraView(7482): Wating for thread
05-23 21:18:52.716: D/JavaCameraView(7482): Finish processing thread

Opencv Android 2.4.5 device reboot

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 latest 21.1 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 1 armv7-a
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake:                       2.8.9
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake generator:             Ninja
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake build tool:            /usr/local/bin/ninja
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Configuration:               Release
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   C/C++:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Built as dynamic libs?:      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ Compiler:                /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ (ver 4.6)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ flags (Release):         -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ flags (Debug):           -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C Compiler:                  /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C flags (Release):           -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C flags (Debug):             -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Linker flags (Release):      -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Linker flags (Debug):        -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Precompiled headers:         NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   OpenCV modules:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     To be built:                 core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Disabled:                    ts world
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Disabled by dependency:      -
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Unavailable:                 gpu nonfree ocl python superres facedetect tegra vstab
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Android: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android ABI:                 armeabi-v7a with NEON
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     STL type:                    gnustl_static
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Native API level:            android-9
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     SDK target:                  android-11
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android NDK:                 /opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     android tool:                /home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 21.1.)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Google Play package:         YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android examples:            YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   GUI: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GTK+ 2.x:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GThread :                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GtkGlExt:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     OpenGL support:              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Media I/O: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     ZLib:                        z (ver 1.2.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     JPEG:                        build (ver 62)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     PNG:                         build (ver 1.5.12)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     TIFF:                        build (ver 42 - 4.0.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     JPEG 2000:                   build (ver 1.900.1)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     OpenEXR:                     build (ver 1.7.1)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Video I/O:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     AndroidNativeCamera:         YES, use prebuilt libraries
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Other third-party libraries:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use IPP:                     NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Eigen:                   YES (ver 3.1.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use TBB:                     YES (ver 4.1 interface 6102)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use OpenMP:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use GCD                      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Concurrency              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use C=:                      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Cuda:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use OpenCL:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Python:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Interpreter:                 /usr/bin/python2 (ver 2.7.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Java:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     ant:                         /home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Java tests:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Documentation:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Build Documentation:         YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Sphinx:                      /usr/local/bin/sphinx-build (ver Sphinx v1.1.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     PdfLaTeX compiler:           /usr/bin/pdflatex
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Tests and samples:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Tests:                       NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Performance tests:           NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C/C++ Examples:              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Install path:                  /home/reports/ci/slave/50-SDK/build/builds/o4t/install
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   cvconfig.h is in:              /home/reports/ci/slave/50-SDK/build/builds/o4t
05-23 21:18:48.986: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:48.986: I/OpenCVManager/Helper(7482): General configuration for OpenCV4Tegra =====================================
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   inner version                  12255
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   memory allocator               YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   hardware link                  YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   compact sources                YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   logging enabled                NO
05-23 21:18:48.991: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Init finished with status 0
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Unbind from service
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Calling using callback
05-23 21:18:48.991: I/Sample::Puzzle15::Activity(7482): OpenCV loaded successfully
05-23 21:18:48.991: D/JavaCameraView(7482): Connecting to camera
05-23 21:18:48.991: D/JavaCameraView(7482): Initialize java camera
05-23 21:18:48.991: D/JavaCameraView(7482): Trying to open camera with old open()
05-23 21:18:49.026: D/JavaCameraView(7482): getSupportedPreviewSizes()
05-23 21:18:49.026: D/JavaCameraView(7482): Set preview size to 1056x864
05-23 21:18:49.056: D/dalvikvm(7482): GC_FOR_ALLOC freed 126K, 6% free 18151K/19272K, paused 19ms, total 20ms
05-23 21:18:49.066: I/dalvikvm-heap(7482): Grow heap (frag case) to 22.171MB for 3649552-byte allocation
05-23 21:18:49.081: D/dalvikvm(7482): GC_FOR_ALLOC freed 1K, 5% free 21714K/22840K, paused 13ms, total 13ms
05-23 21:18:49.086: D/JavaCameraView(7482): startPreview
05-23 21:18:49.101: D/dalvikvm(7482): GC_CONCURRENT freed 1K, 5% free 21715K/22840K, paused 3ms+1ms, total 20ms
05-23 21:18:50.936: D/JavaCameraView(7482): Starting processing thread
05-23 21:18:50.936: I/Choreographer(7482): Skipped 129 frames!  The application may be doing too much work on its main thread.
05-23 21:18:51.141: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.206: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.226: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.296: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.311: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.346: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.406: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.421: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.471: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.521: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.541: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.596: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.681: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.721: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.771: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.831: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.836: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.886: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.916: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.946: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.971: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:52.006: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:52.031: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:52.251: D/OpenCVManager/Helper(7482): Service connection created
05-23 21:18:52.251: D/OpenCVManager/Helper(7482): Trying to get library path
05-23 21:18:52.456: D/OpenCVManager/Helper(7482): Trying to get library list
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Library list: ""
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): First attempt to load libs
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Trying to init OpenCV libs
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Trying to load library /data/app-lib/org.opencv.engine-1/libopencv_java.so
05-23 21:18:52.641: D/dalvikvm(7482): Trying to load lib /data/app-lib/org.opencv.engine-1/libopencv_java.so 0x41f8a0e8
05-23 21:18:52.641: D/dalvikvm(7482): Shared lib '/data/app-lib/org.opencv.engine-1/libopencv_java.so' already loaded in same CL 0x41f8a0e8
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): OpenCV libs init was ok!
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): First attempt to load libs is OK
05-23 21:18:52.641: I/OpenCVManager/Helper(7482): General configuration for OpenCV 2.4.5 =====================================
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   Version control:               2.4.5
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   Platform:
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Host:                        Linux 3.2.0-39-generic x86_64
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Target:                      Linux 1 armv7-a
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake:                       2.8.9
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake generator:             Ninja
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake build tool:            /usr/local/bin/ninja
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Configuration:               Release
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   C/C++:
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Built as dynamic libs?:      NO
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ Compiler:                /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ (ver 4.6)
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ flags (Release):         -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ flags (Debug):           -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C Compiler:                  /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C flags (Release):           -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C flags (Debug):             -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Linker flags (Release):      -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Linker flags (Debug):        -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Precompiled headers:         NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   OpenCV modules:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     To be built:                 core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Disabled:                    ts world
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Disabled by dependency:      -
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Unavailable:                 gpu nonfree ocl python superres facedetect tegra vstab
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Android: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android ABI:                 armeabi-v7a with NEON
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     STL type:                    gnustl_static
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Native API level:            android-9
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     SDK target:                  android-11
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android NDK:                 /opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     android tool:                /home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 21.1.)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Google Play package:         YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android examples:            YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   GUI: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GTK+ 2.x:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GThread :                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GtkGlExt:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     OpenGL support:              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Media I/O: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     ZLib:                        z (ver 1.2.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     JPEG:                        build (ver 62)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     PNG:                         build (ver 1.5.12)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     TIFF:                        build (ver 42 - 4.0.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     JPEG 2000:                   build (ver 1.900.1)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     OpenEXR:                     build (ver 1.7.1)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Video I/O:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     AndroidNativeCamera:         YES, use prebuilt libraries
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Other third-party libraries:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use IPP:                     NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Eigen:                   YES (ver 3.1.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use TBB:                     YES (ver 4.1 interface 6102)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use OpenMP:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use GCD                      NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Concurrency              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use C=:                      NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Cuda:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use OpenCL:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Python:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Interpreter:                 /usr/bin/python2 (ver 2.7.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Java:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     ant:                         /home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Java tests:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Documentation:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Build Documentation:         YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Sphinx:                      /usr/local/bin/sphinx-build (ver Sphinx v1.1.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     PdfLaTeX compiler:           /usr/bin/pdflatex
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Tests and samples:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Tests:                       NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Performance tests:           NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     C/C++ Examples:              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Install path:                  /home/reports/ci/slave/50-SDK/build/builds/o4t/install
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   cvconfig.h is in:              /home/reports/ci/slave/50-SDK/build/builds/o4t
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): General configuration for OpenCV4Tegra =====================================
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   inner version                  12255
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   memory allocator               YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   hardware link                  YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   compact sources                YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   logging enabled                NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:52.646: D/OpenCVManager/Helper(7482): Init finished with status 0
05-23 21:18:52.646: D/OpenCVManager/Helper(7482): Unbind from service
05-23 21:18:52.651: D/OpenCVManager/Helper(7482): Calling using callback
05-23 21:18:52.651: I/Sample::Puzzle15::Activity(7482): OpenCV loaded successfully
05-23 21:18:52.716: D/CameraBridge(7482): call surfaceChanged event
05-23 21:18:52.716: D/JavaCameraView(7482): Disconnecting from camera
05-23 21:18:52.716: D/JavaCameraView(7482): Notify thread
05-23 21:18:52.716: D/JavaCameraView(7482): Wating for thread
05-23 21:18:52.716: D/JavaCameraView(7482): Finish processing thread

Opencv Android 2.4.5 device reboot

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 21.1 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 1 armv7-a
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake:                       2.8.9
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake generator:             Ninja
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     CMake build tool:            /usr/local/bin/ninja
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Configuration:               Release
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   C/C++:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Built as dynamic libs?:      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ Compiler:                /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ (ver 4.6)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ flags (Release):         -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C++ flags (Debug):           -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C Compiler:                  /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C flags (Release):           -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C flags (Debug):             -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Linker flags (Release):      -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Linker flags (Debug):        -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Precompiled headers:         NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   OpenCV modules:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     To be built:                 core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Disabled:                    ts world
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Disabled by dependency:      -
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Unavailable:                 gpu nonfree ocl python superres facedetect tegra vstab
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Android: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android ABI:                 armeabi-v7a with NEON
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     STL type:                    gnustl_static
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Native API level:            android-9
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     SDK target:                  android-11
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android NDK:                 /opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     android tool:                /home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 21.1.)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Google Play package:         YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Android examples:            YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   GUI: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GTK+ 2.x:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GThread :                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     GtkGlExt:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     OpenGL support:              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Media I/O: 
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     ZLib:                        z (ver 1.2.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     JPEG:                        build (ver 62)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     PNG:                         build (ver 1.5.12)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     TIFF:                        build (ver 42 - 4.0.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     JPEG 2000:                   build (ver 1.900.1)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     OpenEXR:                     build (ver 1.7.1)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Video I/O:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     AndroidNativeCamera:         YES, use prebuilt libraries
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Other third-party libraries:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use IPP:                     NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Eigen:                   YES (ver 3.1.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use TBB:                     YES (ver 4.1 interface 6102)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use OpenMP:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use GCD                      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Concurrency              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use C=:                      NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use Cuda:                    NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Use OpenCL:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Python:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Interpreter:                 /usr/bin/python2 (ver 2.7.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Java:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     ant:                         /home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Java tests:                  NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Documentation:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Build Documentation:         YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Sphinx:                      /usr/local/bin/sphinx-build (ver Sphinx v1.1.3)
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     PdfLaTeX compiler:           /usr/bin/pdflatex
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Tests and samples:
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Tests:                       NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     Performance tests:           NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):     C/C++ Examples:              NO
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   Install path:                  /home/reports/ci/slave/50-SDK/build/builds/o4t/install
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   cvconfig.h is in:              /home/reports/ci/slave/50-SDK/build/builds/o4t
05-23 21:18:48.986: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:48.986: I/OpenCVManager/Helper(7482): General configuration for OpenCV4Tegra =====================================
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   inner version                  12255
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   memory allocator               YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   hardware link                  YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   compact sources                YES
05-23 21:18:48.986: I/OpenCVManager/Helper(7482):   logging enabled                NO
05-23 21:18:48.991: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Init finished with status 0
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Unbind from service
05-23 21:18:48.991: D/OpenCVManager/Helper(7482): Calling using callback
05-23 21:18:48.991: I/Sample::Puzzle15::Activity(7482): OpenCV loaded successfully
05-23 21:18:48.991: D/JavaCameraView(7482): Connecting to camera
05-23 21:18:48.991: D/JavaCameraView(7482): Initialize java camera
05-23 21:18:48.991: D/JavaCameraView(7482): Trying to open camera with old open()
05-23 21:18:49.026: D/JavaCameraView(7482): getSupportedPreviewSizes()
05-23 21:18:49.026: D/JavaCameraView(7482): Set preview size to 1056x864
05-23 21:18:49.056: D/dalvikvm(7482): GC_FOR_ALLOC freed 126K, 6% free 18151K/19272K, paused 19ms, total 20ms
05-23 21:18:49.066: I/dalvikvm-heap(7482): Grow heap (frag case) to 22.171MB for 3649552-byte allocation
05-23 21:18:49.081: D/dalvikvm(7482): GC_FOR_ALLOC freed 1K, 5% free 21714K/22840K, paused 13ms, total 13ms
05-23 21:18:49.086: D/JavaCameraView(7482): startPreview
05-23 21:18:49.101: D/dalvikvm(7482): GC_CONCURRENT freed 1K, 5% free 21715K/22840K, paused 3ms+1ms, total 20ms
05-23 21:18:50.936: D/JavaCameraView(7482): Starting processing thread
05-23 21:18:50.936: I/Choreographer(7482): Skipped 129 frames!  The application may be doing too much work on its main thread.
05-23 21:18:51.141: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.206: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.226: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.296: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.311: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.346: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.406: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.421: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.471: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.521: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.541: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.596: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.681: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.721: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.771: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.831: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.836: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.886: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.916: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:51.946: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:51.971: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:52.006: D/JavaCameraView(7482): Preview Frame received. Frame size: 1368576
05-23 21:18:52.031: D/CameraBridge(7482): mStretch value: 1.0227273
05-23 21:18:52.251: D/OpenCVManager/Helper(7482): Service connection created
05-23 21:18:52.251: D/OpenCVManager/Helper(7482): Trying to get library path
05-23 21:18:52.456: D/OpenCVManager/Helper(7482): Trying to get library list
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Library list: ""
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): First attempt to load libs
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Trying to init OpenCV libs
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): Trying to load library /data/app-lib/org.opencv.engine-1/libopencv_java.so
05-23 21:18:52.641: D/dalvikvm(7482): Trying to load lib /data/app-lib/org.opencv.engine-1/libopencv_java.so 0x41f8a0e8
05-23 21:18:52.641: D/dalvikvm(7482): Shared lib '/data/app-lib/org.opencv.engine-1/libopencv_java.so' already loaded in same CL 0x41f8a0e8
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): OpenCV libs init was ok!
05-23 21:18:52.641: D/OpenCVManager/Helper(7482): First attempt to load libs is OK
05-23 21:18:52.641: I/OpenCVManager/Helper(7482): General configuration for OpenCV 2.4.5 =====================================
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   Version control:               2.4.5
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   Platform:
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Host:                        Linux 3.2.0-39-generic x86_64
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Target:                      Linux 1 armv7-a
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake:                       2.8.9
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake generator:             Ninja
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     CMake build tool:            /usr/local/bin/ninja
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Configuration:               Release
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):   C/C++:
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Built as dynamic libs?:      NO
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ Compiler:                /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ (ver 4.6)
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ flags (Release):         -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C++ flags (Debug):           -fexceptions -frtti -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C Compiler:                  /usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C flags (Release):           -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     C flags (Debug):             -fexceptions -Wno-psabi --sysroot=/opt/android-ndk-r8c/platforms/android-9/arch-arm -fpic -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack  -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -fno-tree-vectorize   -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG -ggdb3
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Linker flags (Release):      -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:52.641: I/OpenCVManager/Helper(7482):     Linker flags (Debug):        -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -fuse-ld=gold -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Precompiled headers:         NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   OpenCV modules:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     To be built:                 core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Disabled:                    ts world
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Disabled by dependency:      -
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Unavailable:                 gpu nonfree ocl python superres facedetect tegra vstab
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Android: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android ABI:                 armeabi-v7a with NEON
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     STL type:                    gnustl_static
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Native API level:            android-9
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     SDK target:                  android-11
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android NDK:                 /opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     android tool:                /home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 21.1.)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Google Play package:         YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Android examples:            YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   GUI: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GTK+ 2.x:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GThread :                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     GtkGlExt:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     OpenGL support:              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Media I/O: 
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     ZLib:                        z (ver 1.2.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     JPEG:                        build (ver 62)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     PNG:                         build (ver 1.5.12)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     TIFF:                        build (ver 42 - 4.0.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     JPEG 2000:                   build (ver 1.900.1)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     OpenEXR:                     build (ver 1.7.1)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Video I/O:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     AndroidNativeCamera:         YES, use prebuilt libraries
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Other third-party libraries:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use IPP:                     NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Eigen:                   YES (ver 3.1.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use TBB:                     YES (ver 4.1 interface 6102)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use OpenMP:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use GCD                      NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Concurrency              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use C=:                      NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use Cuda:                    NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Use OpenCL:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Python:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Interpreter:                 /usr/bin/python2 (ver 2.7.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Java:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     ant:                         /home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Java tests:                  NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Documentation:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Build Documentation:         YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Sphinx:                      /usr/local/bin/sphinx-build (ver Sphinx v1.1.3)
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     PdfLaTeX compiler:           /usr/bin/pdflatex
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Tests and samples:
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Tests:                       NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     Performance tests:           NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):     C/C++ Examples:              NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   Install path:                  /home/reports/ci/slave/50-SDK/build/builds/o4t/install
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   cvconfig.h is in:              /home/reports/ci/slave/50-SDK/build/builds/o4t
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): General configuration for OpenCV4Tegra =====================================
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   inner version                  12255
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   memory allocator               YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   hardware link                  YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   compact sources                YES
05-23 21:18:52.646: I/OpenCVManager/Helper(7482):   logging enabled                NO
05-23 21:18:52.646: I/OpenCVManager/Helper(7482): -----------------------------------------------------------------
05-23 21:18:52.646: D/OpenCVManager/Helper(7482): Init finished with status 0
05-23 21:18:52.646: D/OpenCVManager/Helper(7482): Unbind from service
05-23 21:18:52.651: D/OpenCVManager/Helper(7482): Calling using callback
05-23 21:18:52.651: I/Sample::Puzzle15::Activity(7482): OpenCV loaded successfully
05-23 21:18:52.716: D/CameraBridge(7482): call surfaceChanged event
05-23 21:18:52.716: D/JavaCameraView(7482): Disconnecting from camera
05-23 21:18:52.716: D/JavaCameraView(7482): Notify thread
05-23 21:18:52.716: D/JavaCameraView(7482): Wating for thread
05-23 21:18:52.716: D/JavaCameraView(7482): Finish processing thread