06-14-2022 05:35 PM
It's not really the build spec that's different, but the AF library itself. We modify it (mostly) as per Stefan's instructions here:
And actually, I did some more testing and while removing Reply Msg fixes the issue for very minimal projects, it didn't fix the crashing issue in our larger ones. I even went ahead and removed ALL additional Msg.lvclass files called out in the above instructions with no luck. I'm thinking maybe it's the inclusion of AFDebug (which we're using for some tools which is why we explicitly include it) that's causing the problems now...
06-14-2022 08:57 PM
I thought I had a counterexample, based on my memory of initially testing this when Casey told me about it, but I think I must have used a real project that contained the Reply Msg library I have.
Consequently, my testing is now as follows:
So I think AF_Debug isn't a requirement to cause a crash, but Reply Msg might be.
Darren, if you want to see the source I'm building this from, you can PM me a GitHub username (yours or whoever wants to look into it) and I can add read access to the repository with the code, or alternatively I can zip up the contents and email/filesender/whatever them to you.
The PPLs are attached for reference, in case it helps.
06-16-2022 10:37 AM
@CaseyM wrote:
Can you tell us exactly how it's corrupted? Do.vi within that class seems to open fine within LabVIEW so that would imply to me that the corruption is more hidden.
LV R&D said the corruption occurred as part of the PPL build and had to do with the Error Ring XNode in Reply Msg.lvclass:Do.vi. Can you manually edit your Do.vi and replace that Error Ring with the equivalent call to Error Cluster from Error Code.vi and see if that fixes the crash?
P.S. - I've already verified that this is the only XNode currently in the AF codebase.
06-20-2022 10:49 AM
06-21-2022 10:58 AM
I was able to do some more testing today and here are my notes:
At this point I'm fairly convinced that the Error Ring XNode is indeed the cause of the issue. Do you have a guess as to when this could be patched? Or suggestions about how to find and replace any other Error Rings in our own PPLs in the meantime?
06-21-2022 11:09 AM
I'm glad we're narrowing in on the issue. You can use the VI Analyzer test posted here to detect all XNodes in your code, including the Error Ring. I will update the Bug report with this information.
06-22-2022 10:35 AM
LV R&D says they will be replacing the XNode in Reply Msg.lvclass:Do.vi with Error Cluster From Error Code.vi as a stop-gap in the LV 2022 Q3 release, and they will have a separate Bug targetted for a future release for investigating the cause of the crash.
06-28-2022 09:36 AM
07-01-2022 09:26 AM
Great to hear, Casey. For reference, the additional Bug that was filed on the crash is Bug 2056647.