LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview application crashes with a Dr Watson Access violation c0000005 in win2K service pack 2 and 3

The application was developed on a Dell Optiplex PIV 2GHz, 512 MB Ram using LabVIEW 6.1 Profesional Control Development Suite. The exe runs for between 10 minutes and 21 days before exiting with a Dr Watson Access Violation error 0xc0000005. The basic stack dump info is as follows:
Application exception occurred:
App: (pid=312)
When: 2/4/2003 @ 20:54:51.843
Exception number: c0000005 (access violation)

*----> System Information <----*
Computer Name: NO1
User Name: No1
Number of Processors: 1
Processor Type: x86 Family 15 Model 2 Stepping 4
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 2
Current Type: Uniprocessor Free
Registered Organization: xxxxxxxxxxxx
Registered Owner: xxxxxxxxxx

*----> Task List <----* edited for brevity
312 xxxxxxx.exe

1056 drwtsn32.exe
0 _Total.exe

State Dump for Thread Id 0x38c

eax=78e34ff8 ebx=79288ab8 ecx=00000001 edx=78e338cc esi=78e34ffd edi=78e338d1
eip=3027bf0d esp=0012fc70 ebp=0012fc7c iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202


function: MoveBlock
3027bef7 fc cld
3027bef8 eb15 jmp CheckFPStat+0xe52 (3027ce0f)
3027befa 0fbae100 bt ecx,0x0
3027befe 7301 jnb CheckFPStat+0xa344 (30286301)
3027bf00 a4 movsb ds:78e34ffd=32 es:78e338d1=00
3027bf01 d1f9 sar ecx,1
3027bf03 0fbae100 bt ecx,0x0
3027bf07 7302 jnb CheckFPStat+0x654e (3028250b)
3027bf09 66a5 movsw ds:78e34ffd=3532 es:78e338d1=0000
3027bf0b d1f9 sar ecx,1
FAULT ->3027bf0d f3a5 rep movsd ds:78e34ffd=???????? es:78e338d1=00000000
3027bf0f 5e pop esi
3027bf10 5f pop edi
3027bf11 59 pop ecx
3027bf12 8be5 mov esp,ebp
3027bf14 5d pop ebp
3027bf15 c3 ret

The error is always "move block" and leads me to believe that it is a windows memory manager issue but I cannot resolve it. The application connects to an ethernet GPIB interface and to 10 Opto22 Ethernet brains via activeX. The processor runs about 25%, there are no apparent memory leaks, and there is at least 300Mb of free ram when the crashes occur. Any suggestions?

Thanks,
Ian
0 Kudos
Message 1 of 3
(3,812 Views)
The first thing I would try and get a handle on is whether the program is crashing on a common operation each time. Since the time elapsed between crashes varies so greatly, it doesn't really help in the process of narrowing things down. In this case, I would try and implement a log file for your program. Basically, place file write operations at various points in your program. They will serve as "checkpoints". When the program crashes, open the file and see what the last checkpoint that was passed. You will then be able to zoom in on the offending code if it is in fact the same piece of code causing the problem each run.
0 Kudos
Message 2 of 3
(3,814 Views)
I am having the same issue with LabVIEW 7.1
From Dr. Watson:
 

Microsoft (R) Windows 2000 (TM) Version 5.00 DrWtsn32

Copyright (C) 1985-1999 Microsoft Corp. All rights reserved.

 

 

Application exception occurred:

App: (pid=2208)

When: 10/21/2005 @ 13:09:12.530

Exception number: c0000005 (access violation)

*----> System Information <----*

Computer Name: WEESUSCILPCWRM0

User Name: RDL

Number of Processors: 2

Processor Type: x86 Family 15 Model 4 Stepping 1

Windows 2000 Version: 5.0

Current Build: 2195

Service Pack: 4

Current Type: Multiprocessor Free

Registered Organization:

Registered Owner: Administrator

*----> Task List <----*

0 Idle.exe

8 System.exe

168 SMSS.exe

192 CSRSS.exe

188 WINLOGON.exe

240 SERVICES.exe

252 LSASS.exe

396 scardsvr.exe

472 svchost.exe

500 spoolsv.exe

568 dklog.exe

592 svchost.exe

616 FrameworkServic.exe

688 mcshield.exe

708 vstskmgr.exe

728 naPrdMgr.exe

844 regsvc.exe

860 mstask.exe

900 Smc.exe

1020 WinMgmt.exe

1048 Wuser32.exe

1076 CcmExec.exe

1188 dkcktkn.exe

1876 svchost.exe

916 explorer.exe

2172 shstat.exe

1988 tbmon.exe

1200 UpdaterUI.exe

2012 dkAutoReg.exe

2072 ERClient7.exe

1916 LabVIEW.exe

2288 notepad.exe

2284 notepad.exe

2208 WINWORD.exe

2424 agentsvr.exe

1900 DRWTSN32.exe

0 Kudos
Message 3 of 3
(3,629 Views)