Hi!
I work on a large (4000+ VIs, 1.6 GB repository) LabVIEW program. I've just finished working on a new feature, and all of the sudden the code won't build anymore, always failing with this error:
"Error 1 occurred at An error occurred while saving the following file:
C:\Program Files (x86)\National Instruments\LabVIEW 2019\vi.lib\registry\registry.llb\Registry refnum.ctl
Click the link below to visit the Application Builder support page. Use the following information as a reference:
Error 42 occurred at AB_Source_VI.lvclass:Close_Reference.vi -> AB_Build.lvclass:Save.vi
Possible reason(s):
LabVIEW: (Hex 0x2A) Generic error.
Possible reason(s):
LabVIEW: (Hex 0x1) An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=======
Command requires GPIB Controller to be Controller-In-Charge."
The feature resulted in changes to several widely used typedefs, and an update to one of our core VIPM packages (one we make ourselves).
The code runs fine from IDE, and nothing shows up as broken in the project. I've run mass compiles a few times, which found some broken VIs that were removed from the project but not deleted from the repository, so I removed those. It also found a few "Insane Objects", most of which I have now removed. The mass compile output gets smaller each time, but the error code on subsequent builds never changes.
I've been trying to read the "LVInternalReports" that are created for each failed build, but I'm struggling to interpret some of its contents. In the lvlog.txt file of the latest build, I see several <DEBUG_OUTPUT> sections with DWarn lines that seem relevant. Here is one example:
"<DEBUG_OUTPUT>
2022-09-15 1:03:56.779 PM
DWarn 0xF481EB8C: error returned from SaveObjectData: 1 image {HeapClass=FPHP,UID=12,DPId=9,o=0x9db4fe00}
d:\builds\penguin\labview\branches\2019\dev\source\panel\savedata.cpp(634) : DWarn 0xF481EB8C: error returned from SaveObjectData: 1 image {HeapClass=FPHP,UID=12,DPId=9,o=0x9db4fe00}
minidump id: f47da8ab-45aa-4102-ba6b-3f32f5b84f42
$Id: //labview/branches/2019/dev/source/panel/savedata.cpp#4 $"
Is there a way to trace what this is referring to? I assume if this refers to a particular VI it will help me track down the issue, but I don't know what these hexadecimal codes refer to.
If anyone has suggestions for other ways to diagnose the build failure it would be greatly appreciated.