Getting Access Violation in Write in Release Mode

Discussion created by richeek.arya on Jun 1, 2011
Latest reply on Jun 3, 2011 by himanshu.gautam

Hi all,

I am using SDK 2.4 and Visual Studio 2010. My kernel runs fine in debug mode but I am getting access violations in write when I run the code in release mode.Any idea why this would happen only in release mode?

I have put printf statements in the kernel and kernel fails for some thread id > 0. Is it possible to put assert statements in the kernel  and break the kernel execution when assertion is violated?

How can I debug it? The problem is whenever violation occours, 90% of the time my system just freezes down and I have to reboot. So debugging has become a pain in this case.

Any help would be appreciated.