VideoCapture crashes on Samsung Galaxy S4 (Android 4.2.3)
I have Run the program of Roman for eyes and face detection. This program uses VideoCapture
to take the raw video from camera, But when I run My app on Samsung Galaxy S4 it returns the next error:
06-06 22:32:06.998: A/libc(1911): @@@ ABORTING: HEAP MEMORY CORRUPTION IN tmalloc_small
06-06 22:32:06.998: A/libc(1911): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
06-06 22:32:07.287: I/dalvikvm(1911): threadid=3: reacting to signal 3
Speaking with Roman he has noted in the log an another and more specific error:
06-06 22:31:55.100: D/OpenCV_NativeCamera(1876): Supported Cameras: (null)
therefore I think that the error due to OpenCV library which don't support the camera of Samsung S4. My opinion is supported from my second test on Samsung S2 with android 4.1.2 where the program runs perfectly