LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System error message and application crash - ModName: lvrt.dll Offset: 00080a6a

I'm running into an error message which is proving particularly difficult to debug. After my built application has been running for some time, a windows system error will pop up telling me my application has done something bad and needs to be shut down (and sorry for the inconvenience). Clicking through to the "see what the error report contains" page reveals the issue as being in the lvrt.dll module at offset 0080a6a. 

 

This unfortunately doesn't mean much to me.

 

On some occasions when I click "Don't Send", another error message pops up informing me there is "Not enough memory available to complete this operation".

 

The program will typically run between 8 and 24 hours before the error occurs, though I've had it run error-free for upwards of 48.

 

My program is unfortunately fairly large, and depends on communication with proprietary hardware so can't be uploaded in a functional state. In general terms, the body of the program (which is executing when the error occurs) involves RS-485 serial communication and simultaneous display of data to 7 continuously updating strip charts (producer-consumer design), along with envalope detection and RMS calculations in real time, all of which is multiplied by two parallel channels (around 1Mb/s data rate for each). The data is also buffered and stored in binary files for later review. Binary files are closed and a new one is opened for every 10 minutes of data collection (approx 50MB of data).

 

There are also about 40 user controls associated with each channel, and are polled periodically (a couple times a second). The crashes occur during over night tests, however, when there is no user input. Globals are used for inter-panel communication, but no global is written to in more than one location (most are read in multiple locations).

 

I know this is a bit of a shot in the dark here, but does the lvrt.dll error at offset 00080a6a mean anything to anyone? Are there any "typical" causes for a failure in lvrt.dll having to do with prolonged high data rate serial communications? For reference, this has occured on multiple machines, but all the machines it has occured on are identical out-of-the-box laptop models running XP 32. I'm going to try to run an overnight test tonight on the development machine and see if I get any different results (Vista 64 vs Windows XP 32).

 

I can't say my hopes are high with this one, and I'm gonna continue to comb over the code for any possible conflicts, but any insight would be appreciated.

0 Kudos
Message 1 of 8
(4,085 Views)

Hi Alex,

 

I looked into this code and have not found anything. Are you getting any errors in LabVIEW? When you reopen LabVIEW do any error messages pop up? If so, it would be great to get a hold of your error log.

Regards,
Claire Reid
National Instruments
0 Kudos
Message 2 of 8
(4,065 Views)
Also, are you able to take a screenshot of the error message?
Regards,
Claire Reid
National Instruments
0 Kudos
Message 3 of 8
(4,064 Views)

Claire,

 

Next time the error message comes up I will take a screenshot of it for you. Unfortunately that may not be until Monday, as tonight is the soonest I'll be able to run another long-term test. The time between failures is the most frustrating part to debug!

 

There are no errors on compiling or building the application in LabVIEW. My testing has been done mostly on the distribution laptops in application form, with no LabVIEW dev tools installed, Windows XP 32 bit.

 

The overnight test I attempted on the development machine (within the LabVIEW environment) welcomed me the next morning with a rebooted machine, and so I wasn't able to see an error message (if there was one). Vista 64 on the development machine. Reviewing the data files, I got about 9 hours worth before the crash.

 

Given the time between failures and the large volume of data I'm passing around, this seems like memory leak type behavior. I'm a bit confused by the fact that it seems to fail in lvrt.dll every time, though. I'm don't know what that indicates, if anything.

0 Kudos
Message 4 of 8
(4,048 Views)
What version of LabVIEW do youhave?
Regards,
Claire Reid
National Instruments
0 Kudos
Message 5 of 8
(4,044 Views)
LabVIEW 8.6, full developers suite.
0 Kudos
Message 6 of 8
(4,042 Views)

Here's the error message. The offset is different this time...

0 Kudos
Message 7 of 8
(4,030 Views)
Are you able to select : "view technical information about the error report"
Regards,
Claire Reid
National Instruments
Message 8 of 8
(4,027 Views)