Closed petergebruers closed 5 years ago
Simple Fix. We didn't pass the correct number of Params to our Log::Write call.
Note - This happens when we are still interviewing the Device and have not yet created the ValueID's. In which case - we will bail out... (Only Version 1 of the CC will create a ValueID on receipt of a report - As Version 1 didn't have things like GetSupported and GetScaleSupported etc etc etc).
Thanks! I'll provide feedback on the Domoticz forum.
@Fishwaldo could this also have happened in the SwitchMultiLevel class? In my case i also am using Domoticz, and while Domoticz is still querying the nodes, i send a swichmultilevel command. I just pulled in all changes and rebuilding domoticz; but here is the (SegFault) issue which occurs now, pointing to OZW: https://github.com/domoticz/domoticz/issues/3350
Simple Fix. We didn't pass the correct number of Params to our Log::Write call.
Note - This happens when we are still interviewing the Device and have not yet created the ValueID's. In which case - we will bail out... (Only Version 1 of the CC will create a ValueID on receipt of a report - As Version 1 didn't have things like GetSupported and GetScaleSupported etc etc etc).
@Fishwaldo could this also have happened in the SwitchMultiLevel class? In my case i also am using Domoticz, and while Domoticz is still querying the nodes, i send a swichmultilevel command. Here is the (SegFault) issue which occurs now, pointing to OZW: https://github.com/domoticz/domoticz/issues/3350
b.t.w. I just pulled in all changes and rebuilding domoticz, will update you once i have more info
@Webunity this issue is about a bug in the Meter class, not MultiLevel. It has been fixed and the issue is closed. Different classes have different implementations. The symptoms may seem similar though.
I work with @Fishwaldo, I work on OpenZWave issues and I will handle your case and if I get your log file I'll make an issue on the OZW tracker for you, don't worry about that.
No. You need the dev branch to fix the multilevel crash.
@petergebruers thanks and @Fishwaldo i have just pulled the dev branch; will update the original issue and not add 'waste' to this one. Sorry.
@Fishwaldo I haven't seen a detailed OZWLog but I understand what you are saying... It is about the reordering of the interview. Because @Webunity is already building (and Rpi Domoticz + OZW is slow to build) I'd like to get a log from him, then see if Dev branch fixes it.
@Webunity the Dev branch has not received much testing...
will update the original issue and not add 'waste' to this one. Sorry.
No need to apologize. I know you're stuck with a non-functional system right now.
The backtrack is the same as the interview issue we fixed in Dev Branch. So I’m willing to bet the same thing.
I’ve been hammering on testing the dev branch today. Seems ok. I will be doing some more testing soon on it make sure the security works well and then merge with master.
That would be awesome, if you could release it. I've been running Dev too and saw no issues, but then... I did not have devices that were affected.
Yeah. Just nervous. At least it passed a bunch of Qubino devices today that tend to do things slight differently
My affected fibaro roller shutters regained functionality after recompiling from the dev branch. My input is just anecdotal for now. I can add before/after logfiles if that helps in getting this merged.
@zzattack thank you for testing the Dev branch. This is good news. Unless @Fishwaldo wants to check something specific, there is no need to send the log files.
I just got back from some business travels. I’ll try to merge this next week.
Reported on Domoticz forum:
https://github.com/domoticz/domoticz/issues/3326
Logs in that issue. The gist:
So it crashed while printing a log message "Can't Find a ValueID Index for Electric - W with Unit" and then something probably invalid.
This happened after receiving data from Node 5:
I am not sure why the poster's log claims 1.6-166-gc4f72caa, it has got to be a more recent version because iirc that version did not have namespaces like OpenZWave::Internal::CC::Meter::HandleReport as visible in the stack trace - I am very confused by this contradiction.