HTC One, OpenCV & Native Activity are on a boat.
I tried to run a native activity application, on my HTC One, with Android 4.1.2. I'm using OpenCV 2.4.6.
I tried the sample, provided by OpenCV4Android, but had a couple of errors. So I reduced the code to keep only the necessary things.
I've got a segmentation fault, right after initialising the camera. Here's my code :
struct Engine { android_app* app; cv::Ptr<cv::videocapture> capture; };
static void engine_handle_cmd(android_app* app, int32_t cmd) {
Engine* engine = (Engine*) app->userData;
switch (cmd) {
case APP_CMD_INIT_WINDOW:
if (app->window != NULL) {
LOGI("APP_CMD_INIT_WINDOW");
engine->capture = new cv::VideoCapture(0);
cv::Size camera_resolution = cv::Size(720, 480);
engine->capture->set(CV_CAP_PROP_FRAME_WIDTH,
camera_resolution.width);
engine->capture->set(CV_CAP_PROP_FRAME_HEIGHT,
camera_resolution.height);
return;
}
break;
case APP_CMD_TERM_WINDOW:
LOGI("APP_CMD_TERM_WINDOW");
engine->capture->release();
break;
}
}
void android_main(android_app* app) {
Engine engine;
// Make sure glue isn't stripped.
app_dummy();
size_t engine_size = sizeof(engine); // for Eclipse CDT parser
LOGI("Size of = %i", engine_size);
memset((void*) &engine, 0, 12);
app->userData = &engine;
app->onAppCmd = engine_handle_cmd;
engine.app = app;
float fps = 0;
cv::Mat drawing_frame;
std::queue<int64> time_queue;
// loop waiting for stuff to do.
while (1) {
// Read all pending events.
int ident;
int events;
android_poll_source* source;
// Process system events
while ((ident = ALooper_pollAll(0, NULL, &events, (void**) &source))
>= 0) {
// Process this event.
if (source != NULL) {
source->process(app, source);
}
// Capture frame from camera and draw it
if (!engine.capture.empty()) {
if (engine.capture->grab()) {
engine.capture->retrieve(drawing_frame,
CV_CAP_ANDROID_COLOR_FRAME_RGBA);
}
}
}
}
}
Have anyone experienced something like that?
Many thanks!
Here's the log file:
07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
GTK+ 2.x: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
GThread : NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
GtkGlExt: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
OpenGL support: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Media I/O: 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
ZLib: z (ver 1.2.3) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
JPEG: build (ver 62) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
PNG: build (ver 1.5.12) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
TIFF: build (ver 42 - 4.0.2) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
JPEG 2000: build (ver 1.900.1) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
OpenEXR: build (ver 1.7.1) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Video I/O: 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
AndroidNativeCamera: YES, use prebuilt libraries 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Other third-party libraries: 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Use IPP: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Use Eigen: YES (ver 3.1.2) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Use TBB: YES (ver 4.1 interface 6102) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Use OpenMP: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Use GCD NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Use Concurrency NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Use C=: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Use Cuda: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Use OpenCL: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
Python: 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
Interpreter:
/usr/bin/python2 (ver 2.7.3) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Java: 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
ant:
/home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
Java tests: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
Documentation: 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
Build Documentation: YES 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
Sphinx:
/usr/local/bin/sphinx-build (ver 1.1.3) 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
PdfLaTeX compiler:
/usr/bin/pdflatex 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): Tests and samples: 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
Tests: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
Performance tests: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
C/C++ Examples: NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
Install path:
/home/reports/ci/slave_desktop/50-SDK/build/builds/o4t/install 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
cvconfig.h is in:
/home/reports/ci/slave_desktop/50-SDK/build/builds/o4t 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): ----------------------------------------------------------------- 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): General configuration for OpenCV4Tegra ===================================== 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): inner version 2.4.6 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
memory allocator YES 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
hardware link YES 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
compact sources YES 07-30 09:53:47.568: I/OpenCVManager/Helper(23841):
logging enabled NO 07-30 09:53:47.568: I/OpenCVManager/Helper(23841): ----------------------------------------------------------------- 07-30 09:53:47.568: D/OpenCVManager/Helper(23841): Init finished with status 0 07-30 09:53:47.568: D/OpenCVManager/Helper(23841): Unbind from service 07-30 09:53:47.578: D/OpenCVManager/Helper(23841): Calling using callback 07-30 09:53:47.578: I/OCVSample::Activity(23841): OpenCV loaded successfully 07-30 09:53:47.608: D/memalloc(23841): ion: Mapped buffer base:0x6b490000 size:7798784 offset:0 fd:53 07-30 09:53:47.608: D/memalloc(23841): ion: Mapped buffer base:0x40069000 size:4096 offset:0 fd:55 07-30 09:53:47.628: V/threaded_app(23841): Creating: 0x68b9d8e0 07-30 09:53:47.628: D/libc(23841): pt_debug : pthread_create->start_routine=0x69ab6a14, tls=0x6bcfff00, arg=0x69436e88 07-30 09:53:47.628: D/libc(23841): pt_debug : __thread_entry->func=0x69ab6a14 07-30 09:53:47.628: D/libc(23841): , tls=0x6bcfff00, arg=0x69436e88 07-30 09:53:47.628: V/threaded_app(23841): Config: mcc=0 mnc=0 lang=fr cnt=FR orien=1 touch=3 dens=480 keys=1 nav=1 keysHid=3 navHid=0 sdk=16 size=2 long=2 modetype=1 modenight=1 07-30 09:53:47.628: I/OCV:libnative_activity(23841): Size of = 12 07-30 09:53:47.628: V/threaded_app(23841): Start: 0x68b9d8e0 07-30 09:53:47.628: V/threaded_app(23841): activityState=10 07-30 09:53:47.638: V/threaded_app(23841): Resume: 0x68b9d8e0 07-30 09:53:47.638: V/threaded_app(23841): activityState=11 07-30 09:53:47.638: V/threaded_app(23841): InputQueueCreated: 0x68b9d8e0 -- 0x679ae2e0 07-30 09:53:47.638: V/threaded_app(23841): APP_CMD_INPUT_CHANGED 07-30 09:53:47.638: V/threaded_app(23841): Attaching input queue to looper 07-30 09:53:47.688: V/threaded_app(23841): NativeWindowCreated: 0x68b9d8e0 -- 0x679ae930 07-30 09:53:47.688: V/threaded_app(23841): APP_CMD_INIT_WINDOW 07-30 09:53:47.688: I/OCV:libnative_activity(23841): APP_CMD_INIT_WINDOW 07-30 09:53:47.688: D/OpenCV::camera(23841): CvCapture_Android::CvCapture_Android(0) 07-30 09:53:47.688: D/OpenCV::camera(23841): Library name: libopencv_java.so 07-30 09:53:47.688: D/OpenCV::camera(23841): Library base address: 0x6abcf000 07-30 09:53:47.688: D/memalloc(23841): ion: Unmapping buffer base:0x6b490000 size:7798784 07-30 09:53:47.688: D/memalloc(23841): ion: Unmapping buffer base:0x40069000 size:4096 07-30 09:53:47.688: V/threaded_app(23841): WindowFocusChanged: 0x68b9d8e0 -- 1 07-30 09:53:47.708: D/OpenCV::camera(23841): Libraries folder found: /data/data/org.opencv.engine/lib/ 07-30 09:53:47.708: D/OpenCV::camera(23841): CameraWrapperConnector::connectToLib: folderPath=/data/data/org.opencv.engine/lib/ 07-30 09:53:47.708: E/OpenCV::camera(23841): ||libnative_camera_r2.3.3.so 07-30 09:53:47.708: E/OpenCV::camera(23841): ||libnative_camera_r4.0.3.so 07-30 09:53:47.708: E/OpenCV::camera(23841): ||libnative_camera_r4.2.0.so 07-30 09:53:47.708: E/OpenCV::camera(23841): ||libnative_camera_r2.2.0.so 07-30 09:53:47.708: E/OpenCV::camera(23841): ||libnative_camera_r4.0.0.so 07-30 09:53:47.708: E/OpenCV::camera(23841): ||libnative_camera_r4.1.1.so 07-30 09:53:47.708: E/OpenCV::camera(23841): ||libnative_camera_r3.0.1.so 07-30 09:53:47.708: D/OpenCV::camera(23841): try to load library 'libnative_camera_r4.2.0.so' 07-30 09:53:47.708: D/OpenCV::camera(23841): CameraWrapperConnector::connectToLib ERROR: cannot dlopen camera wrapper library /data/data/org.opencv.engine/lib/libnative_camera_r4.2.0.so, dlerror="Cannot load library: reloc_library[1306]: 188 cannot locate '_ZN7android11BufferQueueC1EbRKNS_2spINS_19IGraphicBufferAllocEEE'... 07-30 09:53:47.708: D/OpenCV::camera(23841): " 07-30 09:53:47.708: D/OpenCV::camera(23841): try to load library 'libnative_camera_r4.1.1.so' 07-30 09:53:47.708: D/OpenCV::camera(23841): Loaded library '/data/data/org.opencv.engine/lib/libnative_camera_r4.1.1.so' 07-30 09:53:47.708: D/OpenCV_NativeCamera(23841): CameraHandler::initCameraConnect(0x6af43489, 0, 0x679af570, 0x0) 07-30 09:53:47.708: D/OpenCV_NativeCamera(23841): Connecting to CameraService v 2.3 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Instantiated new CameraHandler (0x6af43489, 0x679af570) 07-30 09:53:47.858: I/OpenCV_NativeCamera(23841): initCameraConnect: [ae-bracket-hdr=Off;ae-bracket-hdr-values=Off,HDR,AE-Bracket;antibanding=off;antibanding-values=off,50hz,60hz,auto;auto-exposure=smart-metering;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-exposure-values=frame-average,center-weighted,spot-metering,smart-metering;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;awb-calibration-check=success;camera-mode=0;camera-mode-values=0,1;capture-burst-captures-values=-1;capture-burst-exposures=;capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12;capture-burst-interval=1;capture-burst-interval-max=10;capture-burst-interval-min=1;capture-burst-interval-supported=true;capture-burst-retroactive=0;capture-burst-retroactive-max=-1;capture-burst-timeinterval=0;capture-burst-timeinterval-max=1000;capture-burst-timeinterval-min=0;capture-burst-timeinterval-supported=true;capture-mode-values=normal,contiburst,contiburst-one-shot,hdr,panorama,zoe,contizoe;contrast=5;contrast-max 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Cameras: (null) 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Picture Sizes: 2688x1520,2592x1456,2048x1520,2048x1216,2048x1152,1920x1088,1600x1200,1600x896,1520x1520,1440x1088,1280x960,1280x768,1280x720,1024x768,1088x1088,800x600,800x480,640x480,640x384,640x368,352x288,320x240,176x144 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Picture Formats: jpeg,raw 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Preview Sizes: 1920x1088,1440x1088,1280x720,1088x1088,960x720,960x544,800x480,768x464,768x432,720x480,640x480,640x384,640x368,576x432,480x320,384x288,352x288,320x240,240x160,176x144 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Preview Formats: yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Preview Frame Rates: 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Thumbnail Sizes: 512x288,480x288,432x288,512x384,352x288,0x0 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Whitebalance Modes: auto,incandescent,fluorescent,daylight,cloudy-daylight 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Effects: none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Scene Modes: off,auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR,text 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Focus Modes: auto,infinity,normal,macro,continuous-picture,continuous-video 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Antibanding Options: off,50hz,60hz,auto 07-30 09:53:47.858: D/OpenCV_NativeCamera(23841): Supported Flash Modes: off,auto,on,torch 07-30 09:53:47.868: D/OpenCV_NativeCamera(23841): initCameraConnect: autofocus is set to mode "continuous-video" 07-30 09:53:47.878: D/OpenCV_NativeCamera(23841): initCameraConnect: preview format is set to yuv420sp 07-30 09:53:47.878: A/libc(23841): Fatal signal 11 (SIGSEGV) at 0x4028e6d8 (code=2), thread 23855 (.NativeActivity) 07-30 09:53:48.268: D/libc(23878): pt_debug : pthread_create->start_routine=0x40304509, tls=0x6aa75f00, arg=0x689cdc28 07-30 09:53:48.279: D/libc(23878): pt_debug : __thread_entry->func=0x40304509 07-30 09:53:48.279: D/libc(23878): , tls=0x6aa75f00, arg=0x689cdc28 07-30 09:53:48.279: D/libc(23878): pt_debug : pthread_create->start_routine=0x40304509, tls=0x6ab75f00, arg=0x689fe258 07-30 09:53:48.279: D/libc(23878): pt_debug : __thread_entry->func=0x40304509 07-30 09:53:48.279: D/libc(23878): , tls=0x6ab75f00, arg=0x689fe258 07-30 09:53:48.289: E/Trace(23878): error opening trace file: No such file or directory (2) 07-30 09:53:48.309: I/OCVSample::Activity(23878): Instantiated new class org.opencv.samples.NativeActivity.CvNativeActivity 07-30 09:53:48.349: D/OpenCVManager/Helper(23878): Service connection created 07-30 09:53:48.349: D/OpenCVManager/Helper(23878): Trying to get library path 07-30 09:53:48.389: D/OpenCVManager/Helper(23878): Trying to get library list 07-30 09:53:48.429: D/OpenCVManager/Helper(23878): Library list: "" 07-30 09:53:48.429: D/OpenCVManager/Helper(23878): First attempt to load libs 07-30 09:53:48.429: D/OpenCVManager/Helper(23878): Trying to init OpenCV libs 07-30 09:53:48.429: D/OpenCVManager/Helper(23878): Trying to load library /data/data/org.opencv.engine/lib/libopencv_java.so 07-30 09:53:48.449: D/OpenCVManager/Helper(23878): OpenCV libs init was ok! 07-30 09:53:48.449: D/OpenCVManager/Helper(23878): First attempt to load libs is OK 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): General configuration for OpenCV 2.4.6 ===================================== 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Version control:
2.4.6-36-gb6b1d5e 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Platform: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Host: Linux 3.2.0-40-generic x86_64 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Target: Linux 1 armv7-a 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
CMake: 2.8.9 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
CMake generator: Ninja 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
CMake build tool:
/usr/local/bin/ninja 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Configuration: Release 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
C/C++: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Built as dynamic libs?: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): 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) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): 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 -fsigned-char -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 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): 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 -fsigned-char -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 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): C Compiler:
/usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): 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 -fsigned-char -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 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): 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 -fsigned-char -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 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
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 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
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 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Precompiled headers: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
OpenCV modules: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): To be built: core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Disabled: ts world 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Disabled by dependency: - 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Unavailable: gpu nonfree ocl python superres facedetect tegra vstab 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Android: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Android ABI:
armeabi-v7a with NEON 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): STL type: gnustl_static 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Native API level: android-9 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): SDK target: android-11 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Android NDK:
/opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
android tool:
/home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 22.) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Google Play package: YES 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Android examples: YES 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): GUI: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
GTK+ 2.x: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
GThread : NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
GtkGlExt: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
OpenGL support: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Media I/O: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
ZLib: z (ver 1.2.3) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
JPEG: build (ver 62) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
PNG: build (ver 1.5.12) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
TIFF: build (ver 42 - 4.0.2) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
JPEG 2000: build (ver 1.900.1) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
OpenEXR: build (ver 1.7.1) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Video I/O: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
AndroidNativeCamera: YES, use prebuilt libraries 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Other third-party libraries: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Use IPP: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Use Eigen: YES (ver 3.1.2) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Use TBB: YES (ver 4.1 interface 6102) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Use OpenMP: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Use GCD NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Use Concurrency NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Use C=: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Use Cuda: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Use OpenCL: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Python: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Interpreter:
/usr/bin/python2 (ver 2.7.3) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Java: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
ant:
/home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Java tests: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Documentation: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Build Documentation: YES 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Sphinx:
/usr/local/bin/sphinx-build (ver 1.1.3) 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
PdfLaTeX compiler:
/usr/bin/pdflatex 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): Tests and samples: 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Tests: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Performance tests: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
C/C++ Examples: NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
Install path:
/home/reports/ci/slave_desktop/50-SDK/build/builds/o4t/install 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
cvconfig.h is in:
/home/reports/ci/slave_desktop/50-SDK/build/builds/o4t 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): ----------------------------------------------------------------- 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): General configuration for OpenCV4Tegra ===================================== 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): inner version 2.4.6 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
memory allocator YES 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
hardware link YES 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
compact sources YES 07-30 09:53:48.449: I/OpenCVManager/Helper(23878):
logging enabled NO 07-30 09:53:48.449: I/OpenCVManager/Helper(23878): ----------------------------------------------------------------- 07-30 09:53:48.449: D/OpenCVManager/Helper(23878): Init finished with status 0 07-30 09:53:48.449: D/OpenCVManager/Helper(23878): Unbind from service 07-30 09:53:48.449: D/OpenCVManager/Helper(23878): Calling using callback 07-30 09:53:48.449: I/OCVSample::Activity(23878): OpenCV loaded successfully 07-30 09:53:48.489: D/memalloc(23878): ion: Mapped buffer base:0x6b490000 size:7798784 offset:0 fd:53 07-30 09:53:48.489: D/memalloc(23878): ion: Mapped buffer base:0x40069000 size:4096 offset:0 fd:55 07-30 09:53:48.509: V/threaded_app(23878): Creating: 0x68df0d80 07-30 09:53:48.509: D/libc(23878): pt_debug : pthread_create->start_routine=0x69ab6a14, tls=0x6bcfff00, arg=0x68df0fa8 07-30 09:53:48.509: D/libc(23878): pt_debug : __thread_entry->func=0x69ab6a14 07-30 09:53:48.509: D/libc(23878): , tls=0x6bcfff00, arg=0x68df0fa8 07-30 09:53:48.509: V/threaded_app(23878): Config: mcc=0 mnc=0 lang=fr cnt=FR orien=1 touch=3 dens=480 keys=1 nav=1 keysHid=3 navHid=0 sdk=16 size=2 long=2 modetype=1 modenight=1 07-30 09:53:48.509: I/OCV:libnative_activity(23878): Size of = 12 07-30 09:53:48.509: V/threaded_app(23878): Start: 0x68df0d80 07-30 09:53:48.509: V/threaded_app(23878): activityState=10 07-30 09:53:48.509: V/threaded_app(23878): Resume: 0x68df0d80 07-30 09:53:48.509: V/threaded_app(23878): activityState=11 07-30 09:53:48.509: V/threaded_app(23878): InputQueueCreated: 0x68df0d80 -- 0x679ad680 07-30 09:53:48.509: V/threaded_app(23878): APP_CMD_INPUT_CHANGED 07-30 09:53:48.509: V/threaded_app(23878): Attaching input queue to looper 07-30 09:53:48.549: V/threaded_app(23878): NativeWindowCreated: 0x68df0d80 -- 0x68ea7088 07-30 09:53:48.549: V/threaded_app(23878): APP_CMD_INIT_WINDOW 07-30 09:53:48.549: I/OCV:libnative_activity(23878): APP_CMD_INIT_WINDOW 07-30 09:53:48.549: D/OpenCV::camera(23878): CvCapture_Android::CvCapture_Android(0) 07-30 09:53:48.549: D/OpenCV::camera(23878): Library name: libopencv_java.so 07-30 09:53:48.549: D/OpenCV::camera(23878): Library base address: 0x6abcf000 07-30 09:53:48.549: D/memalloc(23878): ion: Unmapping buffer base:0x6b490000 size:7798784 07-30 09:53:48.549: D/memalloc(23878): ion: Unmapping buffer base:0x40069000 size:4096 07-30 09:53:48.549: V/threaded_app(23878): WindowFocusChanged: 0x68df0d80 -- 1 07-30 09:53:48.569: D/OpenCV::camera(23878): Libraries folder found: /data/data/org.opencv.engine/lib/ 07-30 09:53:48.569: D/OpenCV::camera(23878): CameraWrapperConnector::connectToLib: folderPath=/data/data/org.opencv.engine/lib/ 07-30 09:53:48.569: E/OpenCV::camera(23878): ||libnative_camera_r2.3.3.so 07-30 09:53:48.569: E/OpenCV::camera(23878): ||libnative_camera_r4.0.3.so 07-30 09:53:48.569: E/OpenCV::camera(23878): ||libnative_camera_r4.2.0.so 07-30 09:53:48.569: E/OpenCV::camera(23878): ||libnative_camera_r2.2.0.so 07-30 09:53:48.569: E/OpenCV::camera(23878): ||libnative_camera_r4.0.0.so 07-30 09:53:48.569: E/OpenCV::camera(23878): ||libnative_camera_r4.1.1.so 07-30 09:53:48.569: E/OpenCV::camera(23878): ||libnative_camera_r3.0.1.so 07-30 09:53:48.569: D/OpenCV::camera(23878): try to load library 'libnative_camera_r4.2.0.so' 07-30 09:53:48.569: D/OpenCV::camera(23878): CameraWrapperConnector::connectToLib ERROR: cannot dlopen camera wrapper library /data/data/org.opencv.engine/lib/libnative_camera_r4.2.0.so, dlerror="Cannot load library: reloc_library[1306]: 188 cannot locate '_ZN7android11BufferQueueC1EbRKNS_2spINS_19IGraphicBufferAllocEEE'... 07-30 09:53:48.569: D/OpenCV::camera(23878): " 07-30 09:53:48.569: D/OpenCV::camera(23878): try to load library 'libnative_camera_r4.1.1.so' 07-30 09:53:48.569: D/OpenCV::camera(23878): Loaded library '/data/data/org.opencv.engine/lib/libnative_camera_r4.1.1.so' 07-30 09:53:48.569: D/OpenCV_NativeCamera(23878): CameraHandler::initCameraConnect(0x6af43489, 0, 0x679ae898, 0x0) 07-30 09:53:48.569: D/OpenCV_NativeCamera(23878): Connecting to CameraService v 2.3 07-30 09:53:48.679: D/libc(23878): pt_debug : pthread_create->start_routine=0x40304509, tls=0x6b5a3f00, arg=0x679afd88 07-30 09:53:48.679: D/libc(23878): pt_debug : __thread_entry->func=0x40304509 07-30 09:53:48.679: D/libc(23878): , tls=0x6b5a3f00, arg=0x679afd88 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Instantiated new CameraHandler (0x6af43489, 0x679ae898) 07-30 09:53:48.719: I/OpenCV_NativeCamera(23878): initCameraConnect: [ae-bracket-hdr=Off;ae-bracket-hdr-values=Off,HDR,AE-Bracket;antibanding=off;antibanding-values=off,50hz,60hz,auto;auto-exposure=smart-metering;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-exposure-values=frame-average,center-weighted,spot-metering,smart-metering;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;awb-calibration-check=success;camera-mode=0;camera-mode-values=0,1;capture-burst-captures-values=-1;capture-burst-exposures=;capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12;capture-burst-interval=1;capture-burst-interval-max=10;capture-burst-interval-min=1;capture-burst-interval-supported=true;capture-burst-retroactive=0;capture-burst-retroactive-max=-1;capture-burst-timeinterval=0;capture-burst-timeinterval-max=1000;capture-burst-timeinterval-min=0;capture-burst-timeinterval-supported=true;capture-mode-values=normal,contiburst,contiburst-one-shot,hdr,panorama,zoe,contizoe;contrast=5;contrast-max 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Cameras: (null) 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Picture Sizes: 2688x1520,2592x1456,2048x1520,2048x1216,2048x1152,1920x1088,1600x1200,1600x896,1520x1520,1440x1088,1280x960,1280x768,1280x720,1024x768,1088x1088,800x600,800x480,640x480,640x384,640x368,352x288,320x240,176x144 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Picture Formats: jpeg,raw 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Preview Sizes: 1920x1088,1440x1088,1280x720,1088x1088,960x720,960x544,800x480,768x464,768x432,720x480,640x480,640x384,640x368,576x432,480x320,384x288,352x288,320x240,240x160,176x144 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Preview Formats: yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Preview Frame Rates: 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Thumbnail Sizes: 512x288,480x288,432x288,512x384,352x288,0x0 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Whitebalance Modes: auto,incandescent,fluorescent,daylight,cloudy-daylight 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Effects: none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Scene Modes: off,auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR,text 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Focus Modes: auto,infinity,normal,macro,continuous-picture,continuous-video 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Antibanding Options: off,50hz,60hz,auto 07-30 09:53:48.719: D/OpenCV_NativeCamera(23878): Supported Flash Modes: off,auto,on,torch 07-30 09:53:48.729: D/OpenCV_NativeCamera(23878): initCameraConnect: autofocus is set to mode "continuous-video" 07-30 09:53:48.739: D/OpenCV_NativeCamera(23878): initCameraConnect: preview format is set to yuv420sp 07-30 09:53:48.739: D/OpenCV_NativeCamera(23878): Starting preview 07-30 09:53:48.739: A/libc(23878): Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 23895 (.NativeActivity) 07-30 09:53:49.250: D/libc(23919): pt_debug : pthread_create->start_routine=0x40304509, tls=0x6aa75f00, arg=0x689fe830 07-30 09:53:49.250: D/libc(23919): pt_debug : __thread_entry->func=0x40304509 07-30 09:53:49.250: D/libc(23919): , tls=0x6aa75f00, arg=0x689fe830 07-30 09:53:49.250: D/libc(23919): pt_debug : pthread_create->start_routine=0x40304509, tls=0x6ab75f00, arg=0x68dfb9e0 07-30 09:53:49.260: D/libc(23919): pt_debug : __thread_entry->func=0x40304509 07-30 09:53:49.260: D/libc(23919): , tls=0x6ab75f00, arg=0x68dfb9e0 07-30 09:53:49.260: E/Trace(23919): error opening trace file: No such file or directory (2) 07-30 09:53:49.280: I/OCVSample::Activity(23919): Instantiated new class org.opencv.samples.NativeActivity.CvNativeActivity 07-30 09:53:49.320: D/OpenCVManager/Helper(23919): Service connection created 07-30 09:53:49.320: D/OpenCVManager/Helper(23919): Trying to get library path 07-30 09:53:49.370: D/OpenCVManager/Helper(23919): Trying to get library list 07-30 09:53:49.410: D/OpenCVManager/Helper(23919): Library list: "" 07-30 09:53:49.410: D/OpenCVManager/Helper(23919): First attempt to load libs 07-30 09:53:49.410: D/OpenCVManager/Helper(23919): Trying to init OpenCV libs 07-30 09:53:49.410: D/OpenCVManager/Helper(23919): Trying to load library /data/data/org.opencv.engine/lib/libopencv_java.so 07-30 09:53:49.430: D/OpenCVManager/Helper(23919): OpenCV libs init was ok! 07-30 09:53:49.430: D/OpenCVManager/Helper(23919): First attempt to load libs is OK 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): General configuration for OpenCV 2.4.6 ===================================== 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Version control:
2.4.6-36-gb6b1d5e 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Platform: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Host: Linux 3.2.0-40-generic x86_64 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Target: Linux 1 armv7-a 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
CMake: 2.8.9 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
CMake generator: Ninja 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
CMake build tool:
/usr/local/bin/ninja 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Configuration: Release 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
C/C++: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Built as dynamic libs?: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): 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) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): 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 -fsigned-char -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 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): 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 -fsigned-char -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 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): C Compiler:
/usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): 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 -fsigned-char -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 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): 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 -fsigned-char -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 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
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 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
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 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Precompiled headers: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
OpenCV modules: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): To be built: core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Disabled: ts world 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Disabled by dependency: - 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Unavailable: gpu nonfree ocl python superres facedetect tegra vstab 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Android: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Android ABI:
armeabi-v7a with NEON 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): STL type: gnustl_static 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Native API level: android-9 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): SDK target: android-11 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Android NDK:
/opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
android tool:
/home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 22.) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Google Play package: YES 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Android examples: YES 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): GUI: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
GTK+ 2.x: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
GThread : NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
GtkGlExt: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
OpenGL support: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Media I/O: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
ZLib: z (ver 1.2.3) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
JPEG: build (ver 62) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
PNG: build (ver 1.5.12) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
TIFF: build (ver 42 - 4.0.2) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
JPEG 2000: build (ver 1.900.1) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
OpenEXR: build (ver 1.7.1) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Video I/O: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
AndroidNativeCamera: YES, use prebuilt libraries 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Other third-party libraries: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Use IPP: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Use Eigen: YES (ver 3.1.2) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Use TBB: YES (ver 4.1 interface 6102) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Use OpenMP: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Use GCD NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Use Concurrency NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Use C=: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Use Cuda: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Use OpenCL: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Python: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Interpreter:
/usr/bin/python2 (ver 2.7.3) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Java: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
ant:
/home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Java tests: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Documentation: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Build Documentation: YES 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Sphinx:
/usr/local/bin/sphinx-build (ver 1.1.3) 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
PdfLaTeX compiler:
/usr/bin/pdflatex 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): Tests and samples: 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Tests: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Performance tests: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
C/C++ Examples: NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
Install path:
/home/reports/ci/slave_desktop/50-SDK/build/builds/o4t/install 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
cvconfig.h is in:
/home/reports/ci/slave_desktop/50-SDK/build/builds/o4t 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): ----------------------------------------------------------------- 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): General configuration for OpenCV4Tegra ===================================== 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): inner version 2.4.6 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
memory allocator YES 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
hardware link YES 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
compact sources YES 07-30 09:53:49.430: I/OpenCVManager/Helper(23919):
logging enabled NO 07-30 09:53:49.430: I/OpenCVManager/Helper(23919): ----------------------------------------------------------------- 07-30 09:53:49.430: D/OpenCVManager/Helper(23919): Init finished with status 0 07-30 09:53:49.430: D/OpenCVManager/Helper(23919): Unbind from service 07-30 09:53:49.430: D/OpenCVManager/Helper(23919): Calling using callback 07-30 09:53:49.430: I/OCVSample::Activity(23919): OpenCV loaded successfully 07-30 09:53:49.480: D/memalloc(23919): ion: Mapped buffer base:0x6b490000 size:7798784 offset:0 fd:53 07-30 09:53:49.480: D/memalloc(23919): ion: Mapped buffer base:0x40069000 size:4096 offset:0 fd:55 07-30 09:53:49.490: V/threaded_app(23919): Creating: 0x68df0d80 07-30 09:53:49.490: D/libc(23919): pt_debug : pthread_create->start_routine=0x69ab6a14, tls=0x6bcfff00, arg=0x68df0fc0 07-30 09:53:49.490: D/libc(23919): pt_debug : __thread_entry->func=0x69ab6a14 07-30 09:53:49.490: D/libc(23919): , tls=0x6bcfff00, arg=0x68df0fc0 07-30 09:53:49.490: V/threaded_app(23919): Config: mcc=0 mnc=0 lang=fr cnt=FR orien=1 touch=3 dens=480 keys=1 nav=1 keysHid=3 navHid=0 sdk=16 size=2 long=2 modetype=1 modenight=1 07-30 09:53:49.490: I/OCV:libnative_activity(23919): Size of = 12 07-30 09:53:49.490: V/threaded_app(23919): Start: 0x68df0d80 07-30 09:53:49.490: V/threaded_app(23919): activityState=10 07-30 09:53:49.490: V/threaded_app(23919): Resume: 0x68df0d80 07-30 09:53:49.490: V/threaded_app(23919): activityState=11 07-30 09:53:49.500: V/threaded_app(23919): InputQueueCreated: 0x68df0d80 -- 0x679ae148 07-30 09:53:49.500: V/threaded_app(23919): APP_CMD_INPUT_CHANGED 07-30 09:53:49.500: V/threaded_app(23919): Attaching input queue to looper 07-30 09:53:49.540: V/threaded_app(23919): NativeWindowCreated: 0x68df0d80 -- 0x679ae748 07-30 09:53:49.540: V/threaded_app(23919): APP_CMD_INIT_WINDOW 07-30 09:53:49.540: I/OCV:libnative_activity(23919): APP_CMD_INIT_WINDOW 07-30 09:53:49.540: D/OpenCV::camera(23919): CvCapture_Android::CvCapture_Android(0) 07-30 09:53:49.540: D/OpenCV::camera(23919): Library name: libopencv_java.so 07-30 09:53:49.540: D/OpenCV::camera(23919): Library base address: 0x6abcf000 07-30 09:53:49.540: D/memalloc(23919): ion: Unmapping buffer base:0x6b490000 size:7798784 07-30 09:53:49.540: D/memalloc(23919): ion: Unmapping buffer base:0x40069000 size:4096 07-30 09:53:49.540: V/threaded_app(23919): WindowFocusChanged: 0x68df0d80 -- 1 07-30 09:53:49.560: D/OpenCV::camera(23919): Libraries folder found: /data/data/org.opencv.engine/lib/ 07-30 09:53:49.560: D/OpenCV::camera(23919): CameraWrapperConnector::connectToLib: folderPath=/data/data/org.opencv.engine/lib/ 07-30 09:53:49.560: E/OpenCV::camera(23919): ||libnative_camera_r2.3.3.so 07-30 09:53:49.560: E/OpenCV::camera(23919): ||libnative_camera_r4.0.3.so 07-30 09:53:49.560: E/OpenCV::camera(23919): ||libnative_camera_r4.2.0.so 07-30 09:53:49.560: E/OpenCV::camera(23919): ||libnative_camera_r2.2.0.so 07-30 09:53:49.560: E/OpenCV::camera(23919): ||libnative_camera_r4.0.0.so 07-30 09:53:49.560: E/OpenCV::camera(23919): ||libnative_camera_r4.1.1.so 07-30 09:53:49.560: E/OpenCV::camera(23919): ||libnative_camera_r3.0.1.so 07-30 09:53:49.560: D/OpenCV::camera(23919): try to load library 'libnative_camera_r4.2.0.so' 07-30 09:53:49.560: D/OpenCV::camera(23919): CameraWrapperConnector::connectToLib ERROR: cannot dlopen camera wrapper library /data/data/org.opencv.engine/lib/libnative_camera_r4.2.0.so, dlerror="Cannot load library: reloc_library[1306]: 188 cannot locate '_ZN7android11BufferQueueC1EbRKNS_2spINS_19IGraphicBufferAllocEEE'... 07-30 09:53:49.560: D/OpenCV::camera(23919): " 07-30 09:53:49.560: D/OpenCV::camera(23919): try to load library 'libnative_camera_r4.1.1.so' 07-30 09:53:49.570: D/OpenCV::camera(23919): Loaded library '/data/data/org.opencv.engine/lib/libnative_camera_r4.1.1.so' 07-30 09:53:49.570: D/OpenCV_NativeCamera(23919): CameraHandler::initCameraConnect(0x6af43489, 0, 0x679af370, 0x0) 07-30 09:53:49.570: D/OpenCV_NativeCamera(23919): Connecting to CameraService v 2.3 07-30 09:53:49.690: D/libc(23919): pt_debug : pthread_create->start_routine=0x40304509, tls=0x6b5a3f00, arg=0x679af600 07-30 09:53:49.690: D/libc(23919): pt_debug : __thread_entry->func=0x40304509 07-30 09:53:49.690: D/libc(23919): , tls=0x6b5a3f00, arg=0x679af600 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Instantiated new CameraHandler (0x6af43489, 0x679af370) 07-30 09:53:49.720: I/OpenCV_NativeCamera(23919): initCameraConnect: [ae-bracket-hdr=Off;ae-bracket-hdr-values=Off,HDR,AE-Bracket;antibanding=off;antibanding-values=off,50hz,60hz,auto;auto-exposure=smart-metering;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-exposure-values=frame-average,center-weighted,spot-metering,smart-metering;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;awb-calibration-check=success;camera-mode=0;camera-mode-values=0,1;capture-burst-captures-values=-1;capture-burst-exposures=;capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12;capture-burst-interval=1;capture-burst-interval-max=10;capture-burst-interval-min=1;capture-burst-interval-supported=true;capture-burst-retroactive=0;capture-burst-retroactive-max=-1;capture-burst-timeinterval=0;capture-burst-timeinterval-max=1000;capture-burst-timeinterval-min=0;capture-burst-timeinterval-supported=true;capture-mode-values=normal,contiburst,contiburst-one-shot,hdr,panorama,zoe,contizoe;contrast=5;contrast-max 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Cameras: (null) 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Picture Sizes: 2688x1520,2592x1456,2048x1520,2048x1216,2048x1152,1920x1088,1600x1200,1600x896,1520x1520,1440x1088,1280x960,1280x768,1280x720,1024x768,1088x1088,800x600,800x480,640x480,640x384,640x368,352x288,320x240,176x144 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Picture Formats: jpeg,raw 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Preview Sizes: 1920x1088,1440x1088,1280x720,1088x1088,960x720,960x544,800x480,768x464,768x432,720x480,640x480,640x384,640x368,576x432,480x320,384x288,352x288,320x240,240x160,176x144 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Preview Formats: yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Preview Frame Rates: 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Thumbnail Sizes: 512x288,480x288,432x288,512x384,352x288,0x0 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Whitebalance Modes: auto,incandescent,fluorescent,daylight,cloudy-daylight 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Effects: none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Scene Modes: off,auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR,text 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Focus Modes: auto,infinity,normal,macro,continuous-picture,continuous-video 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Antibanding Options: off,50hz,60hz,auto 07-30 09:53:49.720: D/OpenCV_NativeCamera(23919): Supported Flash Modes: off,auto,on,torch 07-30 09:53:49.740: D/OpenCV_NativeCamera(23919): initCameraConnect: autofocus is set to mode "continuous-video" 07-30 09:53:49.750: D/OpenCV_NativeCamera(23919): initCameraConnect: preview format is set to yuv420sp 07-30 09:53:49.750: A/libc(23919): Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 23936 (.NativeActivity) 07-30 09:53:50.311: D/libc(23961): pt_debug : __thread_entry->func=0x40304509 07-30 09:53:50.311: D/libc(23961): , tls=0x6ab75f00, arg=0x688bfdf8 07-30 09:53:50.321: E/Trace(23961): error opening trace file: No such file or directory (2) 07-30 09:53:50.331: I/OCVSample::Activity(23961): Instantiated new class org.opencv.samples.NativeActivity.CvNativeActivity 07-30 09:53:50.381: D/OpenCVManager/Helper(23961): Service connection created 07-30 09:53:50.381: D/OpenCVManager/Helper(23961): Trying to get library path 07-30 09:53:50.431: D/OpenCVManager/Helper(23961): Trying to get library list 07-30 09:53:50.471: D/OpenCVManager/Helper(23961): Library list: "" 07-30 09:53:50.471: D/OpenCVManager/Helper(23961): First attempt to load libs 07-30 09:53:50.471: D/OpenCVManager/Helper(23961): Trying to init OpenCV libs 07-30 09:53:50.471: D/OpenCVManager/Helper(23961): Trying to load library /data/data/org.opencv.engine/lib/libopencv_java.so 07-30 09:53:50.491: D/OpenCVManager/Helper(23961): OpenCV libs init was ok! 07-30 09:53:50.491: D/OpenCVManager/Helper(23961): First attempt to load libs is OK 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): General configuration for OpenCV 2.4.6 ===================================== 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Version control:
2.4.6-36-gb6b1d5e 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Platform: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Host: Linux 3.2.0-40-generic x86_64 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Target: Linux 1 armv7-a 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
CMake: 2.8.9 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
CMake generator: Ninja 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
CMake build tool:
/usr/local/bin/ninja 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Configuration: Release 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
C/C++: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Built as dynamic libs?: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): 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) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): 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 -fsigned-char -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 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): 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 -fsigned-char -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 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): C Compiler:
/usr/bin/ccache /opt/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): 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 -fsigned-char -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 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): 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 -fsigned-char -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 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
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 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
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 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Precompiled headers: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
OpenCV modules: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): To be built: core androidcamera imgproc flann highgui features2d calib3d ml video objdetect contrib photo java legacy stitching videostab 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Disabled: ts world 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Disabled by dependency: - 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Unavailable: gpu nonfree ocl python superres facedetect tegra vstab 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Android: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Android ABI:
armeabi-v7a with NEON 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): STL type: gnustl_static 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Native API level: android-9 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): SDK target: android-11 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Android NDK:
/opt/android-ndk-r8c (toolchain: arm-linux-androideabi-4.6) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
android tool:
/home/reports/NVPACK/android-sdk-linux/tools/android (Android SDK Tools, revision 22.) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Google Play package: YES 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Android examples: YES 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): GUI: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
GTK+ 2.x: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
GThread : NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
GtkGlExt: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
OpenGL support: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Media I/O: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
ZLib: z (ver 1.2.3) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
JPEG: build (ver 62) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
PNG: build (ver 1.5.12) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
TIFF: build (ver 42 - 4.0.2) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
JPEG 2000: build (ver 1.900.1) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
OpenEXR: build (ver 1.7.1) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Video I/O: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
AndroidNativeCamera: YES, use prebuilt libraries 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Other third-party libraries: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Use IPP: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Use Eigen: YES (ver 3.1.2) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Use TBB: YES (ver 4.1 interface 6102) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Use OpenMP: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Use GCD NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Use Concurrency NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Use C=: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Use Cuda: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Use OpenCL: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Python: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Interpreter:
/usr/bin/python2 (ver 2.7.3) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Java: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
ant:
/home/reports/NVPACK/apache-ant-1.8.2/bin/ant (ver 1.8.2) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Java tests: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Documentation: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Build Documentation: YES 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Sphinx:
/usr/local/bin/sphinx-build (ver 1.1.3) 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
PdfLaTeX compiler:
/usr/bin/pdflatex 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): Tests and samples: 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Tests: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Performance tests: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
C/C++ Examples: NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
Install path:
/home/reports/ci/slave_desktop/50-SDK/build/builds/o4t/install 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
cvconfig.h is in:
/home/reports/ci/slave_desktop/50-SDK/build/builds/o4t 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): ----------------------------------------------------------------- 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): General configuration for OpenCV4Tegra ===================================== 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): inner version 2.4.6 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
memory allocator YES 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
hardware link YES 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
compact sources YES 07-30 09:53:50.491: I/OpenCVManager/Helper(23961):
logging enabled NO 07-30 09:53:50.491: I/OpenCVManager/Helper(23961): ----------------------------------------------------------------- 07-30 09:53:50.491: D/OpenCVManager/Helper(23961): Init finished with status 0 07-30 09:53:50.491: D/OpenCVManager/Helper(23961): Unbind from service 07-30 09:53:50.491: D/OpenCVManager/Helper(23961): Calling using callback 07-30 09:53:50.491: I/OCVSample::Activity(23961): OpenCV loaded successfully 07-30 09:53:50.521: D/libc(23961): pt_debug : pthread_create->start_routine=0x40304509, tls=0x6b58ff00, arg=0x68df1628 07-30 09:53:50.521: D/libc(23961): pt_debug : __thread_entry->func=0x40304509 07-30 09:53:50.521: D/libc(23961): , tls=0x6b58ff00, arg=0x68df1628 07-30 09:53:50.531: D/memalloc(23961): ion: Mapped buffer base:0x6b590000 size:7798784 offset:0 fd:53 07-30 09:53:50.531: D/memalloc(23961): ion: Mapped buffer base:0x40069000 size:4096 offset:0 fd:55 07-30 09:53:50.551: V/threaded_app(23961): Creating: 0x68d2f1b8 07-30 09:53:50.551: D/libc(23961): pt_debug : pthread_create->start_routine=0x69ab6a14, tls=0x6bdfff00, arg=0x69436e30 07-30 09:53:50.551: D/libc(23961): pt_debug : __thread_entry->func=0x69ab6a14 07-30 09:53:50.551: D/libc(23961): , tls=0x6bdfff00, arg=0x69436e30 07-30 09:53:50.551: V/threaded_app(23961): Config: mcc=0 mnc=0 lang=fr cnt=FR orien=1 touch=3 dens=480 keys=1 nav=1 keysHid=3 navHid=0 sdk=16 size=2 long=2 modetype=1 modenight=1 07-30 09:53:50.551: I/OCV:libnative_activity(23961): Size of = 12 07-30 09:53:50.551: V/threaded_app(23961): Start: 0x68d2f1b8 07-30 09:53:50.551: V/threaded_app(23961): activityState=10 07-30 09:53:50.551: V/threaded_app(23961): Resume: 0x68d2f1b8 07-30 09:53:50.551: V/threaded_app(23961): activityState=11 07-30 09:53:50.551: V/threaded_app(23961): InputQueueCreated: 0x68d2f1b8 -- 0x679aed10 07-30 09:53:50.551: V/threaded_app(23961): APP_CMD_INPUT_CHANGED 07-30 09:53:50.551: V/threaded_app(23961): Attaching input queue to looper 07-30 09:53:50.591: V/threaded_app(23961): NativeWindowCreated: 0x68d2f1b8 -- 0x68ea7088 07-30 09:53:50.591: V/threaded_app(23961): APP_CMD_INIT_WINDOW 07-30 09:53:50.591: I/OCV:libnative_activity(23961): APP_CMD_INIT_WINDOW 07-30 09:53:50.591: D/OpenCV::camera(23961): CvCapture_Android::CvCapture_Android(0) 07-30 09:53:50.591: D/OpenCV::camera(23961): Library name: libopencv_java.so 07-30 09:53:50.591: D/OpenCV::camera(23961): Library base address: 0x6abcf000 07-30 09:53:50.601: D/memalloc(23961): ion: Unmapping buffer base:0x6b590000 size:7798784 07-30 09:53:50.601: D/memalloc(23961): ion: Unmapping buffer base:0x40069000 size:4096 07-30 09:53:50.601: V/threaded_app(23961): WindowFocusChanged: 0x68d2f1b8 -- 1 07-30 09:53:50.611: D/OpenCV::camera(23961): Libraries folder found: /data/data/org.opencv.engine/lib/ 07-30 09:53:50.611: D/OpenCV::camera(23961): CameraWrapperConnector::connectToLib: folderPath=/data/data/org.opencv.engine/lib/ 07-30 09:53:50.611: E/OpenCV::camera(23961): ||libnative_camera_r2.3.3.so 07-30 09:53:50.611: E/OpenCV::camera(23961): ||libnative_camera_r4.0.3.so 07-30 09:53:50.611: E/OpenCV::camera(23961): ||libnative_camera_r4.2.0.so 07-30 09:53:50.611: E/OpenCV::camera(23961): ||libnative_camera_r2.2.0.so 07-30 09:53:50.611: E/OpenCV::camera(23961): ||libnative_camera_r4.0.0.so 07-30 09:53:50.611: E/OpenCV::camera(23961): ||libnative_camera_r4.1.1.so 07-30 09:53:50.611: E/OpenCV::camera(23961): ||libnative_camera_r3.0.1.so 07-30 09:53:50.611: D/OpenCV::camera(23961): try to load library 'libnative_camera_r4.2.0.so' 07-30 09:53:50.611: D/OpenCV::camera(23961): CameraWrapperConnector::connectToLib ERROR: cannot dlopen camera wrapper library /data/data/org.opencv.engine/lib/libnative_camera_r4.2.0.so, dlerror="Cannot load library: reloc_library[1306]: 188 cannot locate '_ZN7android11BufferQueueC1EbRKNS_2spINS_19IGraphicBufferAllocEEE'... 07-30 09:53:50.611: D/OpenCV::camera(23961): " 07-30 09:53:50.611: D/OpenCV::camera(23961): try to load library 'libnative_camera_r4.1.1.so' 07-30 09:53:50.621: D/OpenCV::camera(23961): Loaded library '/data/data/org.opencv.engine/lib/libnative_camera_r4.1.1.so' 07-30 09:53:50.621: D/OpenCV_NativeCamera(23961): CameraHandler::initCameraConnect(0x6af43489, 0, 0x679adf28, 0x0) 07-30 09:53:50.621: D/OpenCV_NativeCamera(23961): Connecting to CameraService v 2.3 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Instantiated new CameraHandler (0x6af43489, 0x679adf28) 07-30 09:53:50.771: I/OpenCV_NativeCamera(23961): initCameraConnect: [ae-bracket-hdr=Off;ae-bracket-hdr-values=Off,HDR,AE-Bracket;antibanding=off;antibanding-values=off,50hz,60hz,auto;auto-exposure=smart-metering;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-exposure-values=frame-average,center-weighted,spot-metering,smart-metering;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;awb-calibration-check=success;camera-mode=0;camera-mode-values=0,1;capture-burst-captures-values=-1;capture-burst-exposures=;capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12;capture-burst-interval=1;capture-burst-interval-max=10;capture-burst-interval-min=1;capture-burst-interval-supported=true;capture-burst-retroactive=0;capture-burst-retroactive-max=-1;capture-burst-timeinterval=0;capture-burst-timeinterval-max=1000;capture-burst-timeinterval-min=0;capture-burst-timeinterval-supported=true;capture-mode-values=normal,contiburst,contiburst-one-shot,hdr,panorama,zoe,contizoe;contrast=5;contrast-max 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Cameras: (null) 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Picture Sizes: 2688x1520,2592x1456,2048x1520,2048x1216,2048x1152,1920x1088,1600x1200,1600x896,1520x1520,1440x1088,1280x960,1280x768,1280x720,1024x768,1088x1088,800x600,800x480,640x480,640x384,640x368,352x288,320x240,176x144 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Picture Formats: jpeg,raw 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Preview Sizes: 1920x1088,1440x1088,1280x720,1088x1088,960x720,960x544,800x480,768x464,768x432,720x480,640x480,640x384,640x368,576x432,480x320,384x288,352x288,320x240,240x160,176x144 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Preview Formats: yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Preview Frame Rates: 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Thumbnail Sizes: 512x288,480x288,432x288,512x384,352x288,0x0 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Whitebalance Modes: auto,incandescent,fluorescent,daylight,cloudy-daylight 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Effects: none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Scene Modes: off,auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR,text 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Focus Modes: auto,infinity,normal,macro,continuous-picture,continuous-video 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Antibanding Options: off,50hz,60hz,auto 07-30 09:53:50.771: D/OpenCV_NativeCamera(23961): Supported Flash Modes: off,auto,on,torch 07-30 09:53:50.781: D/OpenCV_NativeCamera(23961): initCameraConnect: autofocus is set to mode "continuous-video" 07-30 09:53:50.791: D/OpenCV_NativeCamera(23961): initCameraConnect: preview format is set to yuv420sp 07-30 09:53:50.791: D/OpenCV_NativeCamera(23961): Starting preview 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x6b5a4000 size:462848 offset:0 fd:57 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x400a8000 size:4096 offset:0 fd:66 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x6b615000 size:462848 offset:0 fd:68 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x400ab000 size:4096 offset:0 fd:70 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x6b686000 size:462848 offset:0 fd:72 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x400b4000 size:4096 offset:0 fd:74 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x6b6f7000 size:462848 offset:0 fd:76 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x400c1000 size:4096 offset:0 fd:78 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x6b768000 size:462848 offset:0 fd:80 07-30 09:53:50.791: D/memalloc(23961): ion: Mapped buffer base:0x400d7000 size:4096 offset:0 fd:82 07-30 09:53:50.801: D/memalloc(23961): ion: Mapped buffer base:0x6b7d9000 size:462848 offset:0 fd:84 07-30 09:53:50.801: D/memalloc(23961): ion: Mapped buffer base:0x40120000 size:4096 offset:0 fd:86 07-30 09:53:50.801: D/memalloc(23961): ion: Mapped buffer base:0x6b84a000 size:462848 offset:0 fd:88 07-30 09:53:50.801: D/memalloc(23961): ion: Mapped buffer base:0x402b5000 size:4096 offset:0 fd:90 07-30 09:53:50.801: D/memalloc(23961): ion: Mapped buffer base:0x6b8bb000 size:462848 offset:0 fd:92 07-30 09:53:50.801: D/memalloc(23961): ion: Mapped buffer base:0x402db000 size:4096 offset:0 fd:94 07-30 09:53:50.801: D/memalloc(23961): ion: Mapped buffer base:0x6b92c000 size:462848 offset:0 fd:96 07-30 09:53:50.801: D/memalloc(23961): ion: Mapped buffer base:0x402f1000 size:4096 offset:0 fd:98