LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cvirte.dll application crash

When running CVI full interface operator interface I receive the following error:

 

AppName: testexec.exe      AppVer: 1.0.0.0     AppStamp:4f2c478b
ModName: cvirte.dll      ModVer: 9.1.0.428      ModStamp:4b566705
fDebug: 0       Offset: 0012c87e

 

I have even rebuid the applicaiton and the crash still happens. Using LabWindows 8.5 (lower right corner displays 8.5.1 (356)) and TestStand 4.1.

 

Any suggestions to resolve the error?

Thanks

RK.

0 Kudos
Message 1 of 10
(4,637 Views)

Hi sonotk, 

 

Could you elaborate a little more on how you receive this error? Does the application run for a certain duraction before throwing this error? Could you provide a screen shot? Thanks.

 

 

--
Peter Rifken - Field Engineer & Business Manager
Boston / North New England & Maine
0 Kudos
Message 2 of 10
(4,612 Views)

This error is random. I am running CVI OI full feature and after selecting the sequence file the error sometime displays before the UUT Information dialog box is displayed and at times after the Result Dialog box. So it cannot be replicated on a consistent manner.

In addition noticed that in event manager the when this crash happens the .NET 2.0 reporting error is dispalyed. 

Currently trying to remove the CVIRTE and reinstalling CVIRTE.

Thanks

0 Kudos
Message 3 of 10
(4,605 Views)

Ok, can you tell me if any details are listed in the "Details" tab at the bottom when you click on one of the errors? How about the "General" tab?  

 

details.png

--
Peter Rifken - Field Engineer & Business Manager
Boston / North New England & Maine
0 Kudos
Message 4 of 10
(4,585 Views)

I dont see any details and general tab options. Attach is the image. I am running WIN XP SP3

0 Kudos
Message 5 of 10
(4,579 Views)

Is this occurring with a specific sequence file or any sequence file? Also, can you reproduce this using the operator interface that ships with TestStand (not the custom one) or in the TestStand development environment? Are you using the .NET adapter in your sequence?

 

There is also a Microsoft known issue with this event ID related to user accounts. I am not sure if this could be related or not, but it may be worthwhile to try it so that we can rule it out. Details are in the Microsoft KB here: http://support.microsoft.com/kb/913384

National Instruments
0 Kudos
Message 6 of 10
(4,564 Views)

On further inspection, the .NET error event may be a red herring, or a second bug. Let's look at the CVI crash first. The information provided so far looks like you may be hitting a bug in our run-time engine, but we do not have enough information to find which one. Could you create a crash dump and send it to us. Instructions for Windows XP copied below:

 

  1. If you have been using a program other than Dr. Watson as your default debugger, such as Visual C++ or you were not using any debugger:
    1. Go to Start » Run
    2. Enter drwtsn32 -i to install Dr. Watson as the default debugger.
  2. By default the utility only creates the Dr. Watson log file (drwtsn32.log). You have to instruct Dr. Watson to create a crash dump when an application crashes. Launch the Dr. Watson:
    1. Go to Start » Run.
    2. Enter drwtsn32
  3. Make sure the Create Crash Dump File is checked and make a note of the path specified in the Crash Dump edit box. Default Paths:
    • Windows XP: C:\Documents and Settings\All Users\Documents\DrWatson\user.dmp


The dump file may be too large, so you can upload it to ftp://ftp.ni.com/incoming and let me know the file name.

 

Addtionally, it is possible that if this is a bug, it may have been fixed in a later release of the CVI Run-Time Engine. I would recommend downloading and installing the latest version from CVI Run-Time Engine 2010 SP1. The CVI RTE is fully backwards compatible and will run your application. It could also be helpful if we then know if this is a bug that has been fixed or if we are dealing with a new bug.

National Instruments
0 Kudos
Message 7 of 10
(4,550 Views)

Is there a major difference between CVIRTE2010 and CVIRTE2010 SP1?

 

*************************************************
CLD
*************************************************
0 Kudos
Message 8 of 10
(4,541 Views)

The difference between a major release and a service pack release for CVI is the number and magnitude of the new features introduced. However, each release includes all of the bug fixes that were made since the previous release and is typically about equal for a major release and a service pack release. So in this case, there will not really be many new features, but it is fairly likely that there is a related bug fix.

National Instruments
0 Kudos
Message 9 of 10
(4,538 Views)

So I installed CVIRTE 2010 and do not see the crash since. Then updated to CVIRTE 2010 SP1 - still no crash so that is good.

The only thing strange happening now is that if the Operator Interface is minimized it will not restore back. I changed the OtherAttributes under uir file to set to Floating Style from Never to Always but still the problem stays.

Found this forum post but what event can be used in MainPanelCallback function to check and then call the syntax to set the attribute to

SetPanelAttribute (mainUIPanelHandle, ATTR_MINIMIZE_OTHER_PANELS, 1);

My GUI does have multiple UIs.

 

In the MainPanelCallback function I currently have

switch(event)

{

   case EVEN_CLOSE;

   ExitApplication();

   break;

}

Not sure if this is related to updating to cvirte 2010 SP1?

 

Using CVI 8.5.1 and TS 4.1 currently.

0 Kudos
Message 10 of 10
(4,534 Views)