Wrong default configuration for CMake -> crash C000001D (Bugfix #3753)


Added by Robby Longhorn over 10 years ago. Updated over 10 years ago.


Status:Cancelled Start date:2014-06-15
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:-
Affected version:2.4.0 - 2.4.8 Operating System:Windows
Difficulty:Easy HW Platform:x86
Pull request:

Description

The default configuration of CMake results in a code that may crash on some processors. The cause of the crash is very difficult to find for not-experienced programmers because it happens when the Core DLL is loading into the process and only when compiled as release.

Please urgently change the configuration for Cmake to not enable SSE2 instructions by default.

Please read my detailed description of the problem here:

http://answers.opencv.org/question/35102/opencv-crash-c000001d-severe-problem-with-a/


Associated revisions

Revision f73c6e61
Added by Maksim Shabunin about 10 years ago

Merge pull request #3753 from biicode:biicode_docs

History

Updated by Vadim Pisarevsky over 10 years ago

SSE2 appeared first in Pentium 4, 14 years ago. Nowadays perhaps 99,9% of computers with Intel/AMD CPUs support SSE 2. So the default SSE2=ON will not be changed. If you want your application to run on machine without SSE2, please, recompile OpenCV and link to your application statically (so that it will not load wrong version of OpenCV DLL with SSE support)

  • Status changed from New to Cancelled

Also available in: Atom PDF