Stability issue
Posted: Monday 20 February 2017 8:46
I have developed my own plugin for a UniPi interface board. A few days ago I started to use this as an integrated part of a heat control system, i.e. I use Domoticz to read temperature sensors and I control valves with the relays on the UniPI module.
In general it works fine but in 48h Domoticz has crashed and I found the follwing in the Domoticz log file:
2017-02-20 07:03:11.649 (UX) Calling message handler 'onCommand'.
2017-02-20 07:03:11.649 (UX) onCommand called for Unit 3: Parameter 'Off', Level: 0
2017-02-20 07:03:11.671 Error: Domoticz received fatal signal 11 !...
2017-02-20 07:03:11.679 Error: /home/pi/domoticz/domoticz() [0x1aceb4]
2017-02-20 07:03:11.679 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1acf6c]
2017-02-20 07:03:11.680 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76abe180]
It is quite clear the failure is triggered by a call to onCommand. I have a feeling this is connected to the plugin-system more than the plugin. Or potentially Domoticz....
I have no clue how to pin-point this problem. Unfortunately I didn't check the log file the first time this happened, but I will keep my eyes open now...
An update: This problem occurs frequently now. Domoticz crashes with the same error within a few minutes from starting up. I haven't changed anything in the plugin for a week or so. So why does this problem show up now????
In general it works fine but in 48h Domoticz has crashed and I found the follwing in the Domoticz log file:
2017-02-20 07:03:11.649 (UX) Calling message handler 'onCommand'.
2017-02-20 07:03:11.649 (UX) onCommand called for Unit 3: Parameter 'Off', Level: 0
2017-02-20 07:03:11.671 Error: Domoticz received fatal signal 11 !...
2017-02-20 07:03:11.679 Error: /home/pi/domoticz/domoticz() [0x1aceb4]
2017-02-20 07:03:11.679 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1acf6c]
2017-02-20 07:03:11.680 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76abe180]
It is quite clear the failure is triggered by a call to onCommand. I have a feeling this is connected to the plugin-system more than the plugin. Or potentially Domoticz....
I have no clue how to pin-point this problem. Unfortunately I didn't check the log file the first time this happened, but I will keep my eyes open now...
An update: This problem occurs frequently now. Domoticz crashes with the same error within a few minutes from starting up. I haven't changed anything in the plugin for a week or so. So why does this problem show up now????