LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

MSVCR80.dll causes "A non-debuggable thread caused 'General Protection' fault"

My LabWindows\CVI 2010 64-bit application runs on the Windows 7 64-bit operating system and intermittently generates the following FATAL RUN-TIME ERROR:

 

"Unknown source position, thread id...

A non-debuggable thread caused a 'General Protection' fault at address ...."

 

I can reproduce this error by quickly opening and closing the LabWindows panel that contains a 64-bit ActiveX control that interfaces with my video capture/display card.  Each time the panel is opened and closed, I initialize and then deactivate the video card.

 

Using the LabWindows "Modules" tool, I determined that the DLL that the error occurred in "MSVCR80.dll".  This file is located in the following directory: C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_88dce9872fb18caf

 

I found the following article that was related to the error:  LabWindows™/CVI Programs Linking to Mixed-Mode DLLs Crash.  I modified the LabWindows registry so that the linker includes this .dll first, but it did not solve the issue.  I noticed that the MSVCR80.dll file was not listed in the "Resources" window at program intialization.  The .dll file only showed up in the window when the panel with the ActiveX window was opened.

 

Could anyone please provide assistance in resolving this issue?

 

 

 

0 Kudos
Message 1 of 2
(3,871 Views)

Hi Softengr,

 

There are many reasons why this error occurs. If I could get a log of your crash that would help us figure out what is happening and then suggest ways to fix it. Here is a link to instructions that walk you through generating this crash log.

 

https://decibel.ni.com/content/people/nickb/blog/2009/06/10/generating-crash-dumps-for-analysis-by-n...

 

The instructions about where topost it are at the bottom of the page. After you have uploaded it please let us know by submitting a post. Thanks.

 

Perry S.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,860 Views)