10-29-2010 03:52 PM
Labview 2010 f2 crashes every time I try to remove a test vector file from a project.
Repro:
1. Start Labview and open a new project.
2. Save the project.
3. Right-click My Computer and select New -> Test Vectors
4. Right-click the new file (Untitled.lvvect) and select Remove From Project
I've tried various combinations of renaming the test vector file, trying multiple vector files, etc., but the end result is the same. LV always crashes when I try to remove the vector file from the project. LV crashes when I try to remove it even if I delete the vector file from disk before loading it from disk. The only way I can remove a vector file from a project once the project has been saved is by editing the .lvproj file directly.
11-01-2010 12:17 PM
Hi Daklu,
I haven't been able to reproduce the crash. Could you try repairing LabVIEW (or at least the Unit Test Framework) and try again? Also, what operating system are you using? Windows 7? 32-bit?
11-03-2010 01:01 PM
Nope, repairing the Labview and Unit Test Framework installations didn't help. But in other exciting news I'm now getting this error...
Related? I dunno. I started seeing this error yesterday while working on a class probe. Today it's progressed to the point where this error appears in an endless loop when I try to open my project. LV didn't generate an error log.
11-03-2010 02:17 PM
Update: I believe the last error is a different issue. I was able to narrow the error down to a specific library and generate some error logs. That library hasn't had any code changes in over a month. The error logs point to something in the f2 patch, which I installed last Thursday. Unfortunately there doesn't appear to be any way to uninstall the patch.
I can send the guilty code via email or ftp if you need them.
11-04-2010 04:09 PM
Thanks for the logs. We'll see if we need the code. But let's first focus on the UTF crash. I am assuming that it still occurs with even a new project, where this Compiler Error only shows itself when you use that specific library in the project?
11-05-2010 10:05 AM
I am assuming that it still occurs with even a new project, where this Compiler Error only shows itself when you use that specific library in the project?
Yep, the test vector bug still occurs even with a new project, just saved, with nothing else added.
(As an aside, I reinstalled LV without the f2 patch and the complier bug is still occurring. But I'll start a new thread when I have more information about that problem.)
11-08-2010 01:51 PM
Looks like it's time to take a look at the code. If you can simplify the project as much as possible, and post it to ftp://ftp.ni.com/incoming that would be great. Post it as a ZIP file labeled Daklu.zip.
11-11-2010 09:43 AM
@Will S. wrote:
Looks like it's time to take a look at the code. If you can simplify the project as much as possible, and post it to ftp://ftp.ni.com/incoming that would be great. Post it as a ZIP file labeled Daklu.zip.
Done, but there isn't any code to speak of for the UTF remove vector crashes. Just the project and vector files.
11-11-2010 04:49 PM
Hi Daklu,
I just wanted to make sure you weren't somehow producing corrupted files. You aren't. I think the next step is to identify which processes are failing when attempting to remove the test vector from the project. Can you please run a Process Monitor trace (filter on Process Name = LabVIEW.exe). Start the trace right before you attempt to remove the test vector from the project, and stop the trace just after.
You can find Process Monitor here:
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
It comes with a document that describes how to use it if you are unfamiliar with it.
Regards,
11-11-2010 05:22 PM
Hmph...
Apparently your suggestion scared the problem away. The last several days I haven't been able to avoid the bug. After duplicating the steps with ProcMon running I can't repro the bug--even when ProcMon isn't running. If the bug magically appears again I'll grab a trace and post it.