CvNativeActivity sample does not work on Google Glass (Bug #3706)


Added by Benjamin Nuernberger almost 11 years ago. Updated over 9 years ago.


Status:New Start date:2014-05-22
Priority:Normal Due date:
Assignee:Roman Donchenko % Done:

0%

Category:android
Target version:-
Affected version:2.4.9 (latest release) Operating System:Android
Difficulty: HW Platform:ARM
Pull request:

Description

I'm using Google Glass version XE 17.2. When running the CvNativeActivity sample I get this error (see attached log.txt for the entire log). Note: If you don't have Google Glass to test a bug fix, I'm willing to help out.

788 05-22 12:04:51.766: D/OpenCV_NativeCamera(2045): Supported Focus Modes: infinity
789 05-22 12:04:51.766: D/OpenCV_NativeCamera(2045): Supported Antibanding Options: off,auto,50hz,60hz
790 05-22 12:04:51.766: D/OpenCV_NativeCamera(2045): Supported Flash Modes: off
791 05-22 12:04:51.773: I/CameraService-Moments(125): Moments is not enabled.
792 05-22 12:04:51.773: D/CameraService-GoogleCamera(125): android_gcam_Camera_setParameters
793 05-22 12:04:51.773: D/CameraService-GoogleCamera(125): Gcam was enabled from the Java app = false
794 05-22 12:04:51.773: D/CameraService-GoogleCamera(125): Gcam active for this shot = false
795 05-22 12:04:51.773: D/CameraService-GoogleCamera(125): gcam mode is set to false
796 05-22 12:04:51.781: D/OpenCV_NativeCamera(2045): initCameraConnect: preview format is set to yuv420sp
797 05-22 12:04:51.781: I/CameraService-Moments(125): Moments is not enabled.
798 05-22 12:04:51.781: D/CameraService-GoogleCamera(125): android_gcam_Camera_setParameters
799 05-22 12:04:51.781: D/CameraService-GoogleCamera(125): Gcam was enabled from the Java app = false
800 05-22 12:04:51.781: D/CameraService-GoogleCamera(125): Gcam active for this shot = false
801 05-22 12:04:51.781: D/CameraService-GoogleCamera(125): gcam mode is set to false
802 05-22 12:04:51.789: D/OpenCV_NativeCamera(2045): initCameraConnect: preview format is set to 640x480
803 05-22 12:04:51.789: A/libc(2045): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 2069 (.NativeActivity)
804 05-22 12:04:51.906: I/DEBUG: * *
805 05-22 12:04:51.906: I/DEBUG: Build fingerprint: 'Google/glass_1/glass-1:4.4.2/XRV49/1180275:user/release-keys'
806 05-22 12:04:51.906: I/DEBUG: Revision: '3'
807 05-22 12:04:51.914: I/DEBUG: pid: 2045, tid: 2069, name: .NativeActivity >>> org.opencv.samples.NativeActivity <<<
808 05-22 12:04:51.914: I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000


log.txt (118.5 kB) Benjamin Nuernberger, 2014-05-22 09:28 pm


Related issues

duplicates Bug #3808: OpenCV Native Activity crashes on Google glass Open 2014-07-12

Associated revisions

Revision 4f8bf98e
Added by Vadim Pisarevsky about 10 years ago

Merge pull request #3706 from exeltior:patch-1

History

Updated by Dmitry Retinskiy almost 11 years ago

Hi Roman,

could you check this problem?
Thanks.

  • Category set to android
  • Assignee set to Roman Donchenko

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4750

Also available in: Atom PDF