"facedetect" in C samples. (Bug #2667)


Added by 白芳芳 白 about 12 years ago. Updated about 12 years ago.


Status:Cancelled Start date:2012-12-28
Priority:Blocker Due date:
Assignee:- % Done:

0%

Category:trash
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

The edition of opencv: 2.4.3
cpu:AMD Phenom(tm) II X6 1055T Processor 2.81 GHz
The platform:win7 64bits
The compiler version:Visual studio 2008

The problem:
when run the facedetect.exe in C samples,it will crash,and i debug it,it will appear "Illegal Instruction",but the problem disappears when changing to haarcascade_frontalface_alt2.xml.
It seems this error only happens on AMD CPUs ,the intel cpu is ok.

Related issues

duplicates Bug #2669: facedetect crash in c sample Done 2012-12-28

Associated revisions

Revision 0f22df2b
Added by Alexander Alekhin almost 11 years ago

Merge pull request #2667 from akarsakov:ipp_otsu

History

Updated by Andrey Kamaev about 12 years ago

  • Category set to trash
  • Status changed from Open to Cancelled

Updated by Eleree Nikola about 12 years ago

白芳芳 白 wrote:

The edition of opencv: 2.4.3
cpu:AMD Phenom(tm) II X6 1055T Processor 2.81 GHz
The platform:win7 64bits
The compiler version:Visual studio 2008

The problem:
when run the facedetect.exe in C samples,it will crash,and i debug it,it will appear "Illegal Instruction",but the problem disappears when changing to haarcascade_frontalface_alt2.xml.
It seems this error only happens on AMD CPUs ,the intel cpu is ok.

I hint this problem in Intel CPU using OpenCV 2.4.3 (Both Debug & Release Version)
System: Windows XP SP3 32-bit
CPU: Intel E5200 support SSE

When track into code , I found haveSSE2 is false(in haar.cpp)
bool haveSSE2 = cv::checkHardwareSupport(CV_CPU_SSE2);

Finally, when i run facedetect i get
OpenCVDebug.exe 中的 0x00887013 (opencv_objdetect243.dll) 处未处理的异常: 0xC000001D: Illegal Instruction

Best Regards

Also available in: Atom PDF