Opencv 2.1of Causes Application Crash on release of haarclassifier name resource. (Bug #669)


Added by Simon O'Riordan over 14 years ago. Updated about 12 years ago.


Status:Cancelled Start date:
Priority:Normal Due date:
Assignee:Marina Kolpakova % Done:

0%

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

Description

Only since moving to 2.1 I have found that when in a shared library, a haarcascade file name is constructed from argument and constant string, any shutdown of the imaging resource causes a whole application crash.
It doesn't matter whether the name is global or function-local, the effect is the same. Whenever the imaging loop is stopped, the release of resources, either implicitly or explicitly, causes an error to propagate up and crash the application.
This has been tested on Fedora 14 and Ubuntu 10.10.
Ubuntu 10.04 is unaffected.
It looks there has been some sort of confusion over 'const' terms deep down in the new code? Of course it could be you've tightened this up deliberately and I'm the one mixing.


Associated revisions

Revision 321070cc
Added by Vadim Pisarevsky almost 12 years ago

Merge pull request #669 from vpisarev:fast_lin_svm

History

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Andrey Kamaev almost 13 years ago

  • Category changed from imgproc, video to objdetect

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Marina Kolpakova over 12 years ago

Close because this error can not be reproduced on the OpenCV master. If you encounter this error again, please, open new ticket and provide code for reproducing.

  • Target version deleted ()
  • Status changed from Open to Cancelled
  • Assignee set to Marina Kolpakova

Updated by Andrey Kamaev about 12 years ago

  • Target version set to 2.4.3

Also available in: Atom PDF