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
Device.Output is a string.
When GetOutput() unable to map the string to an Output, MakeReading will fail with a stack dump.
When there are currently 882 devices on a VEM-150, the stack dump is insufficient to debug which device is causing trouble.
Possible solution:
a. Check at configuration time that each configured Device.Output maps to a valid Output.
b. Check at runtime during MakeReading for a nil output.
For each case: Log enough information to determine the device and shut down the plugin gracefully.
The repro is basically to create a device with something like Output: "output_does_not_exit"
The text was updated successfully, but these errors were encountered:
As for whether or not enough info is being logged -- probably not. It looks like it is logging the device instance and device prototype structs, but given that they are pointers, I'm not actually sure its logging anything useful there
Device.Output is a string.
When GetOutput() unable to map the string to an Output, MakeReading will fail with a stack dump.
When there are currently 882 devices on a VEM-150, the stack dump is insufficient to debug which device is causing trouble.
Possible solution:
a. Check at configuration time that each configured Device.Output maps to a valid Output.
b. Check at runtime during MakeReading for a nil output.
For each case: Log enough information to determine the device and shut down the plugin gracefully.
The repro is basically to create a device with something like Output: "output_does_not_exit"
The text was updated successfully, but these errors were encountered: