999LV / SmartVirtualThermostat

Smart Virtual Thermostat python plugin for Domoticz home automation system
MIT License
42 stars 31 forks source link

Domoticz crashes with fatal signal 6 (Aborted) when running SVT #22

Closed WiktorBuczko closed 4 years ago

WiktorBuczko commented 4 years ago

My Domoticz (Stable 4.10717) is running on Raspberry Pi Zero W (Raspbian Buster). Every 1-2 hours it crashes

2019-10-22 01:57:31.208 Error: Domoticz(pid:20028, tid:20031('PluginMgr')) received fatal signal 6 (Aborted) 2019-10-22 01:57:31.208 Error: siginfo address=0x4e3c, address=0xb6f15fc0 2019-10-22 01:57:45.659 Error: Domoticz(pid:20028, tid:20031('PluginMgr')) received fatal signal 6 (Aborted) while backtracing 2019-10-22 01:57:45.660 Error: siginfo address=0x4e3c, address=0xffffffff 2019-10-22 01:57:45.670 Error: #0 /home/pi/domoticz/domoticz() [0x2d8464] 2019-10-22 01:57:45.674 Error: #1 /home/pi/domoticz/domoticz : signal_handler(int, siginfo_t, void) + 0x260 [0x2d8edc] 2019-10-22 01:57:45.675 Error: #2 /lib/arm-linux-gnueabihf/libc.so.6 : __default_rt_sa_restorer + 0 [0xb6c9e130] 2019-10-22 01:57:45.675 Error: Domoticz(pid:20028, tid:20031('PluginMgr')) received fatal signal 6 (Aborted) 2019-10-22 01:57:45.675 Error: siginfo address=0x4e3c, address=0xffffffff 2019-10-22 01:58:27.003 Error: Bedroom heating hardware (7) thread seems to have ended unexpectedly 2019-10-22 01:58:27.004 Error: Livingroom heating hardware (8) thread seems to have ended unexpectedly 2019-10-22 01:58:27.005 Error: Bathroom heating hardware (5) thread seems to have ended unexpectedly 2019-10-22 01:58:41.011 Error: Airly hardware (4) thread seems to have ended unexpectedly 2019-10-22 01:58:41.012 Error: Bedroom heating hardware (7) thread seems to have ended unexpectedly 2019-10-22 01:58:41.013 Error: Livingroom heating hardware (8) thread seems to have ended unexpectedly 2019-10-22 01:58:41.014 Error: Bathroom heating hardware (5) thread seems to have ended unexpectedly 2019-10-22 01:58:55.018 Error: Airly hardware (4) thread seems to have ended unexpectedly 2019-10-22 01:58:55.019 Error: Bedroom heating hardware (7) thread seems to have ended unexpectedly 2019-10-22 01:58:55.020 Error: Livingroom heating hardware (8) thread seems to have ended unexpectedly 2019-10-22 01:58:55.021 Error: Bathroom heating hardware (5) thread seems to have ended unexpectedly 2019-10-22 01:59:09.026 Error: Airly hardware (4) thread seems to have ended unexpectedly 2019-10-22 01:59:09.027 Error: Malina Stan hardware (9) thread seems to have ended unexpectedly 2019-10-22 01:59:09.028 Error: Bedroom heating hardware (7) thread seems to have ended unexpectedly 2019-10-22 01:59:09.028 Error: Livingroom heating hardware (8) thread seems to have ended unexpectedly 2019-10-22 01:59:09.029 Error: Bathroom heating hardware (5) thread seems to have ended unexpectedly 2019-10-22 01:59:23.034 Error: Airly hardware (4) thread seems to have ended unexpectedly 2019-10-22 01:59:23.035 Error: Malina Stan hardware (9) thread seems to have ended unexpectedly 2019-10-22 01:59:23.036 Error: Bedroom heating hardware (7) thread seems to have ended unexpectedly 2019-10-22 01:59:23.036 Error: Livingroom heating hardware (8) thread seems to have ended unexpectedly 2019-10-22 01:59:23.037 Error: Bathroom heating hardware (5) thread seems to have ended unexpectedly 2019-10-22 01:59:37.042 Error: Airly hardware (4) thread seems to have ended unexpectedly 2019-10-22 01:59:37.043 Error: Malina Stan hardware (9) thread seems to have ended unexpectedly 2019-10-22 01:59:37.044 Error: Bedroom heating hardware (7) thread seems to have ended unexpectedly 2019-10-22 01:59:37.045 Error: Livingroom heating hardware (8) thread seems to have ended unexpectedly 2019-10-22 01:59:37.046 Error: Bathroom heating hardware (5) thread seems to have ended unexpectedly 2019-10-22 01:59:51.050 Error: Airly hardware (4) thread seems to have ended unexpectedly 2019-10-22 01:59:51.051 Error: Malina Stan hardware (9) thread seems to have ended unexpectedly 2019-10-22 01:59:51.052 Error: Bedroom heating hardware (7) thread seems to have ended unexpectedly 2019-10-22 01:59:51.053 Error: Livingroom heating hardware (8) thread seems to have ended unexpectedly 2019-10-22 01:59:51.054 Error: Bathroom heating hardware (5) thread seems to have ended unexpectedly

I have three instances of Smart Virtual Thermostat running. When I disable the heating in all thermostats then Domoticz does not crash. Setting the logging level of SVT to debug does not give anything useful in log. What could be the problem?

999LV commented 4 years ago

Hi. This log does not contain any message from the plugin itself but rather with the plugin framework... So hard to debug !

  1. Did you enable debug logging both in domoticz and in the plugin ?

  2. I understand that when the thermostat is off, there is no crash, but the temperature readings are ok ?

  3. May be it is the switching on/off of the heating device that fails ? I assume if you manually switch the heating device(s) there is no issue ?

999LV commented 4 years ago

No further news from user. Closing issue