org.opencv.android.NativeCameraView crashes after latest OpenCV Manager update (Bug #3391)


Added by Simon Heinen over 11 years ago. Updated about 11 years ago.


Status:Done Start date:2013-11-22
Priority:High Due date:
Assignee:Alexander Smorkalov % Done:

0%

Category:android
Target version:2.4.9
Affected version:2.4.0 - 2.4.7 Operating System:Android
Difficulty: HW Platform:ARM
Pull request:https://github.com/Itseez/opencv/pull/2411

Description

the org.opencv.android.NativeCameraView crashes after latest the OpenCV Manager update (Playstore Release 2.4.6.2 (revision 4)), tested on multiple Samsung S3 devices. The test ist easy, just let it run for 10 seconds and it will crash. I think some memory problem. the framerate goes down very fast


samsung_gs3_native_camera.log - Logcat output for native camera crash on samsung gs3 (251.7 kB) Alexander Smorkalov, 2013-11-26 07:43 am


Associated revisions

Revision c78142ac
Added by Alexander Smorkalov about 11 years ago

Bug #3391 org.opencv.android.NativeCameraView crashes after latest OpenCV Manager update fixed.

The crash was cased by massive Mat objects leak in NativeCameraView class.

Revision cf0cc005
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3391 from alalek:ocl_failure_messages

History

Updated by Alexander Smorkalov over 11 years ago

Thank you for bug report. We publish new OpenCV 2.4.7 version several days ago. Can you check it? Also, it'll be very useful if add whole logcat output with the moment of the crash to the ticket.

Updated by Alexander Smorkalov over 11 years ago

I've been able to reproduce the issue. Logcat output attached.

Updated by Alexander Smorkalov over 11 years ago

  • Status changed from New to Open

Updated by Alexander Smorkalov about 11 years ago

  • Affected version changed from 2.4.0 - 2.4.6 to 2.4.0 - 2.4.7
  • Priority changed from Blocker to High
  • Target version set to 2.4.9

Updated by Alexander Smorkalov about 11 years ago

  • Pull request set to https://github.com/Itseez/opencv/pull/2411

Updated by Alexander Smorkalov about 11 years ago

  • Status changed from Open to Done

Also available in: Atom PDF