From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ExceptionCode: 0xC0000005

Hi, I'm having a crash on my applicaton, it doesn't occurs inmediately, sometimes it happens every 2 or 3 days, but since it occurs at differents hours of the day, I haven't been able to determine, what is the application doing when it happens.

The application monitors a temperture controllers, via USB/RS485 and I'm getting this LOG, from which I don't even know where to start from to check.

 

####
#Date: Lun, 17 de Mar de 2014 12:25:49 a.m.
#OSName: Microsoft Windows XP Service Pack 3
#OSVers: 5.1
#OSBuild: 2600
#AppName: SMC
#Version: 13.0 32-bit
#AppKind: AppLib
#AppModDate: 03/17/2014 06:21 GMT
#LabVIEW Base Address: 0x30000000


starting LabVIEW Execution System x00000002 Thread 0 , capacity: 24 at [3477882350.87500000, (00:25:50.875000000 2014:03:17)]
starting LabVIEW Execution System x00000002 Thread 1 , capacity: 24 at [3477882350.87500000, (00:25:50.875000000 2014:03:17)]
starting LabVIEW Execution System x00000002 Thread 2 , capacity: 24 at [3477882350.87500000, (00:25:50.875000000 2014:03:17)]
starting LabVIEW Execution System x00000002 Thread 3 , capacity: 24 at [3477882350.87500000, (00:25:50.875000000 2014:03:17)]

<DEBUG_OUTPUT>
17/03/2014 09:59:05.844 a.m.
Crash 0x00000000: Crash caught by NIER
File Unknown(0) : Crash 0x00000000: Crash caught by NIER
minidump id: 856a7bb5-1109-4a32-80d9-b55f0dceffba
ExceptionCode: 0xC0000005

</DEBUG_OUTPUT>
0x307614F6 - lvrt <unknown> + 0
0x3076187C - lvrt <unknown> + 0
0x7C35F0C3 - MSVCR71 <unknown> + 0
0x7C83AB08 - kernel32 <unknown> + 0
0x00000000 - SMC <unknown> + 0

 

I've taken care of the arrays, they're length limited, that's is the only stuff that I think could fail through the time.

Could you give me a hand please?

Thanks

Download All
0 Kudos
Message 1 of 7
(6,164 Views)

If it's something that doesn't occur for 2-3 days, I would suspect a memory issue. Have you tried looking at the memory usage for an extended period over a few days (e.g. using windows performance monitor) to see if the amount of memory your application is using is growing (perhaps because of a queue or unclosed references)?


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 7
(6,159 Views)

Thanks.
No I haven't but I'll do.
Now I'll install some resources monitor and check if it matches with the moment when the application crashes.

The log says any relevant information? I wasn't unable to understand it.

Thanks

0 Kudos
Message 3 of 7
(6,151 Views)

The error message doesn't really tell me anything that useful. The error code you posted (0xC00000005) is an Access Violation error - it could be a permissions issue?

Have you tried looking in the Windows Event Logs (under administrative tools in control panel) to see if there is anything in there at about the time that the crash occurs?

Have you tried running the software on another PC to see if it still occurs?

 

I also found this post for the same error code: http://forums.ni.com/t5/LabVIEW/Error-Access-violation-0xC0000005-at-EIP-0x00764624/td-p/1867021/pag...  Does your application log data to .tdms files and is it possible that the .tdms_index file is becoming corrupt or unwriteable because of an anti-virus scanner?


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 7
(6,146 Views)

Thanks a Lot, the windows Log shows errors related with office and something named appweb, but nothing matches with my application name neither with the time when Labview reported the error.

 

Anyway I've cleaned the windows Log and I'll be alert, whenever it happen again I'll check the resources log, windows log and I'll post anything that I find.

 

Thanks and my best regards

 

Details
ID: 3299                                             
Source: appweb                                             
   
We're sorry
There is no additional information about this issue in the Error and Event Log Messages or Knowledge Base databases at this time. You can use the links in the Support area to determine whether any additional information might be available elsewhere.
0 Kudos
Message 5 of 7
(6,140 Views)

I know this is an old thread, but I have had a very similar problem twice in the last few months where my LabVIEW application crashes giving the 0xC0000005 error and the windows event log points to errors in the "appweb". I was under the assumption that the appweb was tied to the Web Publishing Tool feature and that there is a glitch in this.  Can anyone confirm that this could be the case, or at least confirm whether or not appweb has anything to do with the opreration of the Web Publishing Tool feature?

0 Kudos
Message 6 of 7
(4,964 Views)

It's hard to give any definitive answer without more information but there is an Application Web Server which is responsible for publishing LabVIEW web applications. Is appweb a reference to the Application Web Server? Maybe. Is something in a LabVIEW web service causing a crash? Maybe. Is it a good place to start looking? Probably.

 

It is very difficult to go from a crash dump to your smoking gun and it's usually more luck than anything. I'll usually treat this information as something that will tell me where may be a good place to start looking.

Matt J | National Instruments | CLA
0 Kudos
Message 7 of 7
(4,954 Views)