You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is repeatable on multiple versions of LabVIEW on multiple computers.
It appears that the IDE crashes at a different point every time, anecdotally they appear to be mainly in this library and the LabVIEW composition library
I have been in touch with NI and they have said that they cannot support as legally they cannot help to debug a third party library. Apparently the maintainer needs to get in touch directly
The text was updated successfully, but these errors were encountered:
I have read the linked forum post and can confirm that the crash happens in several versions:
Version
Result
LabVIEW 2019 SP1 (32-bit)
❌
LabVIEW 2020 SP1 (32-bit)
❌
LabVIEW 2021 SP1 (32-bit)
❌
LabVIEW 2022 Q3 (32-bit)
❌
LabVIEW 2023 Q3 (32-bit)
❌
LabVIEW 2024 Q1 (32-bit)
✔️
The root cause is known issue 1035177, which causes the name of a Set to contain garbage data after reconstructing the Set using the Flattened String To Variant function:
LabVIEW 2019 SP1
LabVIEW 2024 Q1
The crash happens when composing the object from such a variant. LabVIEW probably expects a null-terminated string and simply reads beyond what it should, resulting in an access violation. It does not happen every time because the name may coincidentally be valid.
Unfortunately, there is nothing we can do to fix the underlying issue in the Flattened String To Variant function. It appears to be fixed in LabVIEW 2024 Q1, which also means that it will not be patched in older versions ☹️
For older versions, using an Array instead of a Set will fix the issue.
I'll keep this issue open in case someone else stumbles upon this problem.
LabVIEW crashes with an access violation error when handling very classes with certain combinations of private data.
There is a little bit more detail and some example code on this thread
https://forums.ni.com/t5/LabVIEW/Access-Violation-Crash/m-p/4368735
Access Violation Example - Copy (1).zip
The issue is repeatable on multiple versions of LabVIEW on multiple computers.
It appears that the IDE crashes at a different point every time, anecdotally they appear to be mainly in this library and the LabVIEW composition library
I have been in touch with NI and they have said that they cannot support as legally they cannot help to debug a third party library. Apparently the maintainer needs to get in touch directly
The text was updated successfully, but these errors were encountered: