OpenCV camera crashes during initialization on Android GalaxyS3 (Japanese version SC06D) (Bug #2144)


Added by Pierre Rahier 11 months ago. Updated 5 months ago.


Status:Cancelled Start date:2012-07-05
Priority:Normal Due date:
Assignee:Alexander Smorkalov % Done:

0%

Category:android
Target version:3.0
Affected version: Pull request:

Description

camera samples first freeze and and then crash (after about 2s/3s)


History

Updated by Kirill Kornyakov 11 months ago

Pierre,
  1. Could you please name the sample and provide version of your Android?
  2. BTW, are you using prebuilt apk from the package?
  3. And did you try the latest 2.4.2 release package?
  • Priority changed from High to Normal
  • Category set to android

Updated by Alexander Smorkalov 10 months ago

  • Assignee set to Alexander Smorkalov
  • Target version set to 2.4.3

Updated by Kingston Fung 9 months ago

I also experienced problem running OpenCV in Galaxy S3 with Android OS 4.0.4. The same piece of code worked fine in other phones and different Android OS. I have already tried to use
libnative_camera_r*.so in the git repository, but the problem is still unsolved.

The following code caused the problem:
new VideoCapture(Highgui.CV_CAP_ANDROID);

And the logcat output showed the following line:
libc @@@ABORTING: HEAP MEMORY CORRUPTION IN tmalloc_small
libc Fatal signal 22 (SIGSEGV) at 0xdeadbaad (code=1)

Hope that help.

Updated by Andrey Kamaev 7 months ago

  • Target version changed from 2.4.3 to 3.0

Updated by Alexander Smorkalov 5 months ago

GalaxyS3 gets update up to Android 4.1. Native camera works OK with Android 4.1.x.

  • Status changed from Open to Cancelled

Also available in: Atom PDF