06-24-2009 09:32 AM
I encounter the following error message in running a LabVIEW-build DLL in C:
Fatal Internal Error: "Memory Manager.cpp", line 437
LabVIEW version 8.6.1
You will lose any unsaved work. For assistance in resolving this problem, please relaunch LabVIEW, or contact National Instruments.
To facilitate problem diagnosis, I attach "LV_AAP_june_24_2009.h" and "callLVDLL_june_24_2009.cpp" files:
06-25-2009 12:39 PM
Hello!
There have been a couple bug reports with this error when using remote front panels or arrays. Are you using either of these? If you are using arrays, try not using fixed array sizes, such as using "Initialize Array". Shift registers and build array functions are a possible workaround option.
Also, typically when cpp errors occur, a dialog box appears with an option to send the log file to National Instruments. If you haven't done so already, could you recreate the error and send the log file? thanks!
Kristen H.
05-07-2010 03:36 PM - edited 05-07-2010 03:36 PM
Yikes! I just ran into this.
Exact same error - same line (437)
This is on an EXE, not a DLL. It doesn't happen in the dev system.
There is no option to send a crash report, I believe that's for LabVIEW itself only, not executables.
My program loads a config file at startup, with one particular file causing it, and another one not.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
05-07-2010 04:46 PM
For what it's worth - my problem turned out to be this:
The program dynamically loads some VIs.
Since they're dynamically loaded (and not used otherwise), they don't get updated along with everything else.
Something happened, that required them to be re-compiled. (I don't know exactly what yet, but it could be a change in some global constants they access).
In the Dev System, they were recompiled each time they were loaded, and all was well.
In the EXE, there is no compiler available.
It crashed either because it couldn't recompile, or it just used the code that was there, and that was wrong.
Blog for (mostly LabVIEW) programmers: Tips And Tricks