-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LabVIEW crashes when serializing nested messages #384
Comments
@pratheekshasn @ni-sujain @CPattar-NI @yash-ni I have been debugging this issue a bit, and I'm having a hard time understanding how the code works or what this change was intended to provide over the original implementation. I guess it was purely a performance improvement? From what I can see, this code path doesn't appear to be assigning data to the cluster from memory allocated by LV. Instead, it looks like it is copying data from the Given the number of issues already caused by this change and the complexity of the code, I'm wondering if we should just disable the feature or if you have any other insights/suggestions for how to fix the current, active code path? I guess this change was made as a performance optimization? If so, I don't have any background on how crucial the optimization was or what impact rolling it back might have on clients. |
This should be fixed in #387 |
See ni/measurement-plugin-labview#594 for a description of the crash and how to reproduce. The proto API for the crash is here.
After doing a bit of debugging and trial and error, the crash only happens if the service reports results where the annotations field is populated in the response. Also, setting
EfficientMessageCopy = FALSE
in the ini file also fixes the crash. The crash is being triggered from the following DAbort in LV:This seems to be the result of #335 and #352. I suspect #378 is also related to this.
AB#2864684
The text was updated successfully, but these errors were encountered: