LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my executable crash when I try to run it?

My vi runs fine in LabView 6i, but when I build an executable and try to run it, it crashes.  The program window starts to open, and then the crash occurs.  This happens every time.  Following the crash, I get Microsoft opportunity to send the details, then the following regarding the nature of the problem:
 
Failure : "window.cpp", line 5195
LabView version 6.0
For assistance in resolving this problem, please record the preceding information and navigate to www.ni.com/failure, or contact National Instruments.
 
I contacted the site addressed above and when searching for the problem, I found no help on the site.
 
So here I am.
 
I am running Windows XP on a P4 with 512 meg of RAM.
 
Following are the contents of the LabView Failure Log File:
 
####
#Date: Sun, Sep 25, 2005 8:44:07 PM
#Desc: Failure : "window.cpp", line 5195
LabVIEW version 6.0
For assistance in resolving this problem, please record the preceding information and navigate to www.ni.com/failure, or contact National Instruments.
#RCS:
#OSName: Windows NT
#OSVers: 5.1
#AppName: Oven Survey
#AppKind: AppLib
0x30195F86 - lvrt DBAssert + 296
0x30195DE7 - lvrt DBAssert + F7
0x30195D9E - lvrt DBAssert + AE
0x301F82AF - lvrt WGetScreenRect + 241F
0x301F6E40 - lvrt WGetScreenRect + FB0
0x77D48734 - USER32 GetDC + 6D
0x77D48816 - USER32 GetDC + 14F
0x77D4B4C0 - USER32 DefWindowProcW + 184
0x77D4B50C - USER32 DefWindowProcW + 1D0
0x7C90EAE3 - ntdll KiUserCallbackDispatcher + 13
0x77D496C7 - USER32 DispatchMessageA + F
0x00991855 - swpg <unknown> + F
0x00991A53 - swpg <unknown> + F
0x00991F38 - swpg <unknown> + F
0x009920BA - swpg <unknown> + F
0x5F11000A - <unknown> <unknown> + F
0x00401DAE - Oven Survey <unknown> + F
0x00401B17 - Oven Survey <unknown> + F
0x7C816D4F - kernel32 RegisterWaitForInputIdle + 49
0x00000000 - Oven Survey <unknown> + 49
 
I don't believe the problem is in my vi since it runs perfectly as a vi.  I have the LabView runtime module installed on my computer.
 
I'll welcome any assistance in resolving this problem, since I'm up against a deadline.
0 Kudos
Message 1 of 4
(2,916 Views)

Hi ,I just started to have a similar problem. When the exe stores a file to the local drive ,the exe shuts down.

The same exe will run fine on a diferrent computer.

 

The vi runs fine. I'm going to rebuild an exe that worked before. I want to see if i get the same error.

 

I'll let you know

 

0 Kudos
Message 2 of 4
(2,668 Views)

Hi Matt,

 

did you spot that you're answering to a more than 3 years old question?

 

Nevertheless you can always add your results here...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 4
(2,662 Views)

Yeah I realized that after I posted it......LOL

 

Has this been resolved?

 

 

I rebuilt and exe that was working and now that exe is showing the same error.

 

The exe's that were built on the laptop that show the error will work fine on other PC's.

 

This leads me to believe that it's windows issue with the laptop.

 

Thanks

 

0 Kudos
Message 4 of 4
(2,642 Views)