# VS2012 - Nsight 4.0 - OpenGL 4.2+ Captue frame immediately freezes

**URL:** <https://forums.developer.nvidia.com/t/vs2012-nsight-4-0-opengl-4-2-captue-frame-immediately-freezes/32589>\
**Category:** Nsight Visual Studio Edition\
**Created:** [March 19, 2014, 6:35am UTC](https://forums.developer.nvidia.com/t/vs2012-nsight-4-0-opengl-4-2-captue-frame-immediately-freezes/32589 "2014-03-19T06:35:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pclark](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@pclark](https://forums.developer.nvidia.com/u/pclark)\
**Post date:** [March 19, 2014, 6:35am UTC](https://forums.developer.nvidia.com/t/vs2012-nsight-4-0-opengl-4-2-captue-frame-immediately-freezes/32589/1 "2014-03-19T06:35:25Z")

</div>

When I start debugging my application I can use ctrl+z to bring up the HUD fine, but if I use space or the icon to capture a frame, a green bar very quickly flashes (and appears to fill up) followed by my application crashing. I saved a minidump using the nvidia prompt that pops up, if I open it I get the following:

Unhandled exception at 0x51FBDC65 (Nvda.Graphics.Interception.dll) in .dmp: 0xC0000005: Access violation reading location 0x00000000.

A few notes:

- This happens whether I am local debugging or remote debugging.
- I have turned WDDM TDR off on the target machine.
- I tried Nsight 3.2 and got the same result.
- I am technically only targeting OpenGL 3.1, but I am capable of getting a 4.4 context.

The dump file is attached.

Any ideas as to what might be causing this?

Thanks in advance.  
[a8b3f87d-2828-4eb4-894b-2ae05b50a6b5.zip](https://forums.developer.nvidia.com/uploads/short-url/j6fdLONVdlXpo35hCrTPzvR4KAH.zip) (11.9 KB)

---

<div class="post-metadata">

**Author:** ![Slin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Slin](https://forums.developer.nvidia.com/u/Slin)\
**Post date:** [March 19, 2014, 1:12pm UTC](https://forums.developer.nvidia.com/t/vs2012-nsight-4-0-opengl-4-2-captue-frame-immediately-freezes/32589/2 "2014-03-19T13:12:19Z")

</div>

I am having the exact same problem with Nsight 4.0, OpenGL 4.1 context and Visual Studio 2013. I tried the recommended driver and the one auto updating installed me.  
I am running this on a MacBook Pro with a GeFore GT 650M.  
The application does the OpenGL calls on a dedicated thread.

---

<div class="post-metadata">

**Author:** ![msomeone](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@msomeone](https://forums.developer.nvidia.com/u/msomeone)\
**Post date:** [March 19, 2014, 3:59pm UTC](https://forums.developer.nvidia.com/t/vs2012-nsight-4-0-opengl-4-2-captue-frame-immediately-freezes/32589/3 "2014-03-19T15:59:10Z")

</div>

Having the same issue here more than for a year :(

---

<div class="post-metadata">

**Author:** ![danprice](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danprice/32/14043_2.png) [@danprice](https://forums.developer.nvidia.com/u/danprice)\
**Post date:** [March 19, 2014, 5:07pm UTC](https://forums.developer.nvidia.com/t/vs2012-nsight-4-0-opengl-4-2-captue-frame-immediately-freezes/32589/4 "2014-03-19T17:07:02Z")

</div>

Hi,

Thanks for sending along the dump file. I took a look at it but unfortunately it was not conclusive. Is there any possibility of you sending your application to me so that I can take a look at it? You can send me a private message if so.

Thanks,

Dan

---

<div class="post-metadata">

**Author:** ![pclark](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@pclark](https://forums.developer.nvidia.com/u/pclark)\
**Post date:** [March 19, 2014, 9:49pm UTC](https://forums.developer.nvidia.com/t/vs2012-nsight-4-0-opengl-4-2-captue-frame-immediately-freezes/32589/5 "2014-03-19T21:49:26Z")

</div>

@danprice Are you an NVIDIA developer? I’m a little wary of sending my application to just anyone. If you are an NVIDIA developer and can provide an NVIDIA email I’d be happy to send to send it along.

Thanks.

---

<div class="post-metadata">

**Author:** ![danprice](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danprice/32/14043_2.png) [@danprice](https://forums.developer.nvidia.com/u/danprice)\
**Post date:** [March 20, 2014, 4:26pm UTC](https://forums.developer.nvidia.com/t/vs2012-nsight-4-0-opengl-4-2-captue-frame-immediately-freezes/32589/6 "2014-03-20T16:26:24Z")

</div>

Hi, sorry for the confusion – my account wasn’t tagged correctly as an NVIDIA developer. I sent an email to you at your private email.

---

<div class="post-metadata">

**Author:** ![pclark](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@pclark](https://forums.developer.nvidia.com/u/pclark)\
**Post date:** [March 27, 2014, 11:34pm UTC](https://forums.developer.nvidia.com/t/vs2012-nsight-4-0-opengl-4-2-captue-frame-immediately-freezes/32589/7 "2014-03-27T23:34:25Z")

</div>

For those who have similar issues, it turned out to be a minor bug in nsight that will be fixed in the next public build.
