LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application runs in Dev Env, but crashes frequently when running the compiled app.

My App works fine in the dev environment for days on end.  When I compile it and run it (on the same machine), it crashes frequently.  Often enough that I will need to build some kind of watchdog if I can't figure out what is upsetting the exe.  I have attached the latest crash log.  The app is too large and complicated to load here.  I am doing error handling, nothing to see there.  


Paul
0 Kudos
Message 1 of 6
(321 Views)

Are you using 64 bit LabVIEW? There are instances where certain antivirus is blocking 64bit LabVIEW-built exe. Try to disable antivirus or any security software and see the the crash still happening. You can check Windows Event Viewer log as well.

0 Kudos
Message 2 of 6
(284 Views)

Any Call Library Nodes in that program? Especially if the according VIs are from unknown sources and/or created with the Import Shared Library Wizard without a knowledgeable person reviewing every single VI VERY carefully to be really correct?

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 6
(248 Views)

No, 32 bit app. It is currently running in a Win10 VM, but it has having the same issues running on a high-end dell laptop.  


Paul
0 Kudos
Message 4 of 6
(231 Views)

I can't be 100% sure.  Not anything that I created.  I am using a lot of openG/JKI VIs for REST/JSON work and the Google drive API from VIPM. 
There are constant calls to a sql server express DB running on a networked machine.  However, I have done that with other apps for decades without issues.  
Everything else is basically data processing.  This app doesn't interact with any instrumentation and retrieves its data from either the database or REST interactions.  Even the database work is light.  I have all the data processing and sorting of records handled by stored procedures. 

I forgot to mention that I have a couple .net VIs as well. I use the windows timer function to create an event.  Again, I have used them for years for the same purpose and not seen it crash the app, but for the sake of completeness. 


Paul
0 Kudos
Message 5 of 6
(228 Views)

One thing I noticed over the weekend.  The app was running in the DEV environment and I was adding some features.  When gong to add a VI to the database LVLIB, it showed 'locked' and when I stopped the app, it silently crashed. 
I still have to check the windows logs as suggested above. 


Paul
0 Kudos
Message 6 of 6
(227 Views)