09-06-2024 03:43 PM
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.
09-06-2024 09:45 PM
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.
09-09-2024 02:23 AM
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?
09-09-2024 09:06 AM
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.
09-09-2024 09:12 AM - edited 09-09-2024 09:53 AM
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.
09-09-2024 09:14 AM
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.