Ask Your Question
0

BSOD (Kernel Security Check Failure) when using T-API in OpenCV 3.1.0 x64 (VS12)

asked 2016-02-16 04:43:40 -0600

Finfa811 gravatar image

updated 2019-12-09 07:56:08 -0600

Akhil Patel gravatar image

Hi all,

I am having some issues when using OpenCV 3.1.0 (x64) in Visual Studio 2013. Concretely, a Blue Screen with a Kernel Security Check message shows up when I try to use the T-API. Just reading a simple cv::UMat crashes everything, but if I don't use the T-API (i.e. using classic cv::Mat) everything runs well. I am guessing if it has to be with the GPU. I've got a NVIDIA GTX970m.

Do you know where the problem could be and how to fix it?

Thanks in advance.

EDIT:

As I said, just reading a simple cv::UMat crashes everything:

UMat img = imread("test_image.jpg").getUMat(ACCESS_READ);

after that line I get a bsod (I'm using Windows 10):

image description

edit retag flag offensive close merge delete

Comments

You should add an example code that reproduces the crash.

Eduardo gravatar imageEduardo ( 2016-02-16 05:06:14 -0600 )edit

Hi, I thought no example was needed, since it's a general issue. Anyway, I have edited the post showing the line and the blue screen

Finfa811 gravatar imageFinfa811 ( 2016-02-16 05:35:29 -0600 )edit

Does this code crash also ?

cv::Mat matImg = cv::imread("test_image.jpg");
cv::UMat umatImg;
matImg.copyTo(umatImg);
Eduardo gravatar imageEduardo ( 2016-02-16 07:39:12 -0600 )edit

Yes, that crashed too... Don't worry, I already found the solution, it was a GPU driver problem. Thank you for your help anyway

Finfa811 gravatar imageFinfa811 ( 2016-02-16 07:56:32 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-02-18 05:55:26 -0600

Finfa811 gravatar image

I already found the solution, it was a GPU driver problem. The new version fixed this problem. Just need to update from 361.43 to 361.91.

edit flag offensive delete link more
0

answered 2016-06-08 05:48:36 -0600

kinjo gravatar image

getting the same problem

edit flag offensive delete link more

Comments

kinjo gravatar imagekinjo ( 2016-06-09 05:29:54 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-02-16 04:43:40 -0600

Seen: 432 times

Last updated: Feb 26 '16