0xC000001D: Illegal Instruction when running cvHaarDetectObjects or DetectMultiScale (Bug #2591)
Description
Hi,
I'm using OpenCV 2.4.3, Visual Studio 2010, Windows 7 x64. I run my objectDetection sample provided by OpenCV. My code will pop up "0xC000001D: Illegal Instruction". I run debugger mode and i found out the code crash when it called function cvHaarDetectObjects
or DetectMultiScale
eyes_cascade.detectMultiScale( faceROI, eyes, 1.1, 2, 0 |CV_HAAR_SCALE_IMAGE, Size(30, 30) );
I have tried both c and c++ coding with x86 and x64 debug environment, still didn't solve the problem.
Then i switch to Python, and run facedetect code, it still crash at line
rects = cascade.detectMultiScale(img, scaleFactor=1.3, minNeighbors=4, minSize=(30, 30), flags = cv.CV_HAAR_SCALE_IMAGE)
Below attached the problem signature from python (similar with VS2010):
Problem signature:
Problem Event Name: APPCRASH
Application Name: python.exe
Application Version: 0.0.0.0
Application Timestamp: 4f84a6c8
Fault Module Name: cv2.pyd
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 509430c8
Exception Code: c000001d
Exception Offset: 004d60dc
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Then i run the code on other PC using VS2010 and windows 7 32-bit, the code work well without error.
The final resolution, i changed back to OpenCV 2.4.2 and included tbb_debug.dll in bin folder. Finally, my code finally worked.
I would like the team to look on this issue. I think the culprit is tbb_debug.dll since OpenCV2.4.3 does not requires tbb_debug.dll. Or, my pc might have dll file corrupted.
Thanks and best regards
History
Updated by Anna Kogan over 12 years ago
Hello Jeng,
Thank you for reporting the problem! If you are unsure about what actually happened, please use answers.opencv.org. Community may suggest you a solution there.
Updated by Vadim Pisarevsky about 12 years ago
- Affected version set to 2.4.3
- Target version deleted ()
Updated by Vadim Pisarevsky about 12 years ago
- Assignee deleted (
Marina Kolpakova)
Updated by Vadim Pisarevsky about 12 years ago
- Assignee set to Vadim Pisarevsky
Updated by Kirill Kornyakov about 12 years ago
- Target version set to 2.4.4