Calling cv::namedWindow crashes on Android (Bug #2035)


Added by Andreas B almost 13 years ago. Updated about 12 years ago.


Status:Cancelled Start date:2012-06-08
Priority:Normal Due date:
Assignee:Alexander Smorkalov % Done:

0%

Category:android
Target version:2.4.3
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

I have a basic OpenCV app running on Linux and now tried compiling/running the code on Android and it crashes on calling cv::namedWindow.


Associated revisions

Revision 36135fc5
Added by Alexander Smorkalov over 12 years ago

Issue #2035 Calling cv::namedWindow crashes on Android fixed.
Window-related functions is guarded from calls from application code.
Old implementations with "no-gui" exception are stell compiled and linked to OpenCV library for binary compatibility.

Revision cabddaeb
Added by Andrey Kamaev over 12 years ago

Revert "Issue #2035 Calling cv::namedWindow crashes on Android fixed."

This reverts commit 36135fc59d59f1ebfce4b00bb36ce6edfbcd9018.

Revision 06e981f1
Added by Andrey Pavlenko about 11 years ago

Merge pull request #2035 from ilya-lavrenov:tapi_CamShift

History

Updated by Kirill Kornyakov over 12 years ago

You know, cv::namedWindow is not supposed to work on Android anyway. It is not so easy to create a window on Android, because all applications have a single window and are fullscreen. So, we didn't decide if we would allow such calls (and other GUI related calls from highgui).

But crash is unexpected behavior in any case. Could you please provide more details about your appication? Did you modify some of OpenCV4Android samples? Or your application is command line? If you could attach a small sample that shows the problem, it would be very helpful for us...

  • Target version set to 3.0

Updated by Kirill Kornyakov over 12 years ago

  • Target version deleted (3.0)
  • Assignee deleted (Andrey Pavlenko)

Updated by Alexander Smorkalov over 12 years ago

  • Assignee set to Alexander Smorkalov

Updated by Alexander Smorkalov over 12 years ago

Window-related functions are guarded from calls from application, but stubs in OpenCV library are saved for binary compatibility.

  • Status changed from Open to Done

Updated by Alexander Smorkalov over 12 years ago

Reverted old implementation.

  • Status changed from Done to Cancelled

Updated by Andrey Kamaev about 12 years ago

  • Target version set to 2.4.3

Also available in: Atom PDF