Features detector std vector used in dll interface (Bug #1660)


Added by sebastien wybo about 13 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:2012-03-08
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:features2d
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

FeatureDetector::detect fills a std::vector but when using this through the dll interface on windows it sometimes crash. I've encountered the bug in a vs2008 program using feature detector whereas no crash happened when compiling in VS2005. Probably a matter of default settings in MS version of STL used in VS2005 and VS2008 but still a blocker for us right now

Issue encountered on openCV2.2 and 2.3.1 with VS2008 on windows 7


History

Updated by Alexander Shishkov almost 13 years ago

  • Priority changed from High to Normal
  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Priority changed from Normal to High

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Maria Dimashova)

Updated by Vadim Pisarevsky almost 13 years ago

This is not a problem of features2d or OpenCV. It's the problem of mixing static and dynamic runtime, which many MSVC users face. Switch your application dynamic runtime and the problem will gone.

  • Assignee set to Vadim Pisarevsky

Updated by Vadim Pisarevsky almost 13 years ago

  • Status changed from Open to Cancelled

Updated by Alexander Shishkov almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF