11-20-2006 04:20 AM
11-20-2006 01:26 PM
11-20-2006 02:12 PM
Hi,
I don't have a solution for you, but I wanted to share that I had the same problem when I was running a big program on LabVIEW 8.0. Using the development environment everything worked fine, but it crashed with no error message when I ran the executable.
I then opened it using a different computer running LabVIEW 8.0.1 and created a new executable on it. That solved the problem. But since you are using 8.0.1 already, I don't know what to tell you.
Let us know how you solve it!
Ami
11-21-2006 01:05 AM
11-21-2006 07:54 AM
I did some more diggin, and over at the LAVA forums, someone said that this is sometimes caused my non-standard fonts when using an application of different platforms. not sure if you have changed any of the fonts or not.
You might also want to check out this thread which talks about enableing the debugger in an executable (I have not used it ever), and maybe then at least you can find the offensive code.
Ill let you know if I find anything else
Kenny
11-22-2006 07:33 AM
Hello All;
Been doing a LOT of work on this... found some interesting things.
Looks like there may be nothing wrong with any of my code. As mentioned before, everything has been mass-compiled, dependencies refreshed, all warnings eliminated, etc., etc. with LabVIEW 8.0.1. Keep in mind, this code works great in Development Mode on both Win2K and WinXP, and works fine in Runtime mode on WinXP. The problem, as stated before, was when the application.exe is run in the Win2K Runtime environment.
I started with a known working version of code and continually added new code until it was pretty much identical to the current version. Everything worked great on both Win2K/WinXP. Then, without any changes to code, in the Application Builder, I set the destination for several VIs to a new directory (i.e. not Application.exe). I rebuilt the program, and voila, the same program crash as before in Win2K (fine on WinXP). The funny thing is, that I have several other VIs exported to a separate destination directory, with no issue whatsoever. Maybe there is a problem with multiple destination directories outside of Application.exe? All exported VIs were set to "Dynamic". Going back to the single application.exe and no additional subdirectories is not really an option, due to the size and complexity of the program.
Any thoughts on this? In the meantime, I am going to upgrade one of my lab PCs to LabVIEW 8.2, and see if I have the same issue, or if this was one of those many bugs in 8.0.1 that were fixed by going to 8.2?
This is a strange one, but any input is MORE than welcome. Thx.
DJH
11-27-2006 08:27 AM
'DIAAS.exe': Loaded 'U:\Software\DIAAS Development\Debug\DIAAS\DIAAS.exe', No symbols loaded.
...
'DIAAS.exe': Loaded 'C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\8.0\nitaglv.dll', No symbols loaded.
'DIAAS.exe': Loaded 'C:\WINNT\system32\lkrealt.dll', No symbols loaded.
'DIAAS.exe': Loaded 'C:\WINNT\system32\lkbrow.dll', No symbols loaded.
'DIAAS.exe': Loaded 'C:\WINNT\system32\NIVisSvc.dll', No symbols loaded.
'DIAAS.exe': Loaded 'C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\8.0\mesa.dll', No symbols loaded.
'DIAAS.exe': Loaded 'C:\Program Files\National Instruments\MAX\mxs.dll', No symbols loaded.
'DIAAS.exe': Loaded 'C:\Program Files\National Instruments\MAX\mxsutils.dll', No symbols loaded.
'DIAAS.exe': Loaded 'C:\WINNT\system32\msvcp60.dll', No symbols loaded.
'DIAAS.exe': Loaded 'C:\WINNT\system32\NIVision.dll', No symbols loaded.
'DIAAS.exe': Loaded 'C:\Documents and Settings\testontw\Local Settings\Temp\lvs829.tmp', No symbols loaded.
'DIAAS.exe': Loaded 'C:\Documents and Settings\testontw\Local Settings\Temp\lvs82A.tmp', No symbols loaded.
'DIAAS.exe': Loaded 'C:\WINNT\system32\WININET.DLL', No symbols loaded.
'DIAAS.exe': Loaded 'C:\WINNT\system32\CRYPT32.DLL', Cannot find or open a required DBG file.
'DIAAS.exe': Loaded 'C:\WINNT\system32\msasn1.dll', Cannot find or open a required DBG file.
Unhandled exception at 0x03b7b71b in DIAAS.exe: 0xC0000005: Access violation reading location 0x00e91000.
11-27-2006 09:17 AM
I noticed that you have the DIASS.exe (I am assuming that this is the program youcreated) on a U:\ drive. Is that a network drive or a lcoal drive or USB external, etc? It may be that 2k has trouble with the network drive or external drive (just guessing here). If it is a network drive, can you try it on the c drive?? You will have to copy everything over to the c drive and then disconnect the network/external drive (if possible) so that LV does not look for it on the network/external drive.
Did upgrading to 8.2 solve anything??
Can you try running the debugger on the XP machine and compare the results? I am wondering if you will get all of the "no symbols loaded" on the XP machine too or not.
11-28-2006 01:57 AM
11-28-2006 07:59 AM
I am sure that you have tried it already, but the type definition diconnection could be because the "Disconnect type definition sand unused polymorphic vis" was checked under the advanced settings when you build the application.
Kenny