Page 1 of 1

Evohome plugin crashing domoticz

Posted: Sunday 02 October 2022 9:08
by MikeyMan
Hi all,

found my domoticz install crashed this morning. After some fiddling around, the issue seems to be with the EvoHome plugin.
After disabling it was working fine.

Checked the logs and they say the following:

Code: Select all

2022-10-02 09:00:32.308  Error: Domoticz(pid:2157, tid:2172('Evohome')) received fatal signal 6 (Aborted)
2022-10-02 09:00:32.308  Error: siginfo address=0x86d, address=(nil)
2022-10-02 09:00:35.894  Status: Incoming Domoticz connection from: 10.0.0.4
2022-10-02 09:00:35.909  Status: Incoming connection from: 10.0.0.31
2022-10-02 09:00:35.984  Error: Thread 16 (Thread 0x6d8ff200 (LWP 2172)):
2022-10-02 09:00:35.984  Error: #0  __waitpid (options=0, stat_loc=0x6d8fd9d8, pid=2356) at ../sysdeps/unix/sysv/linux/waitpid.c:30
2022-10-02 09:00:35.984  Error: #1  __waitpid (pid=2356, stat_loc=0x6d8fd9d8, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:25
2022-10-02 09:00:35.984  Error: #2  0x0029121c in dumpstack_gdb(bool) ()
2022-10-02 09:00:35.984  Error: #3  0x002917e8 in signal_handler(int, siginfo_t*, void*) ()
2022-10-02 09:00:35.984  Error: #4  <signal handler called>
2022-10-02 09:00:35.984  Error: #5  raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:50
2022-10-02 09:00:35.984  Error: #6  <signal handler called>
2022-10-02 09:00:35.984  Error: #7  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
2022-10-02 09:00:35.984  Error: #8  0x7682f230 in __GI_abort () at abort.c:79
2022-10-02 09:00:35.985  Error: #9  0x0092f064 in __gnu_cxx::__verbose_terminate_handler() ()
2022-10-02 09:00:35.985  Error: #10 0x0089241c in __cxxabiv1::__terminate(void (*)()) ()
2022-10-02 09:00:35.985  Error: #11 0x00892490 in std::terminate() ()
2022-10-02 09:00:35.985  Error: #12 0x0089cf40 in __cxa_throw ()
2022-10-02 09:00:35.985  Error: #13 0x00759170 in Json::throwLogicError(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
2022-10-02 09:00:35.985  Error: #14 0x00761b64 in Json::Value::resolveReference(char const*, char const*) ()
2022-10-02 09:00:35.985  Error: #15 0x00495314 in CEvohomeWeb::get_zone_schedule(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
2022-10-02 09:00:35.985  Error: #16 0x00495e70 in CEvohomeWeb::get_dhw_schedule(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
2022-10-02 09:00:35.985  Error: #17 0x0049858c in CEvohomeWeb::DecodeDHWState(CEvohomeWeb::temperatureControlSystem*) ()
2022-10-02 09:00:35.985  Error: #18 0x00498d40 in CEvohomeWeb::GetStatus() ()
2022-10-02 09:00:35.985  Error: #19 0x00498f88 in CEvohomeWeb::Do_Work() ()
2022-10-02 09:00:35.985  Error: #20 0x00906734 in execute_native_thread_routine ()
2022-10-02 09:00:35.985  Error: #21 0x76a3b494 in start_thread (arg=0x6d8ff200) at pthread_create.c:486
2022-10-02 09:00:35.985  Error: #22 0x768eedd8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Could Resideo have broken the plugin now? Any others with the same issue?

Re: Evohome plugin crashing domoticz

Posted: Monday 03 October 2022 14:24
by MikeyMan
Tracked the logs after a restart:

Code: Select all

2022-10-03 14:22:27.728 Status: (Evohome) Worker started...
2022-10-03 14:22:37.729 Status: (Evohome) connect to Evohome server
2022-10-03 14:22:40.497 (Evohome) fetch data from server
2022-10-03 14:22:45.605 Error: Domoticz(pid:25582, tid:25598('Evohome')) received fatal signal 6 (Aborted)
Have to disable otherwise domoticz crashes fully

Re: Evohome plugin crashing domoticz

Posted: Tuesday 04 October 2022 13:00
by MikeyMan
Found the culprit.

Pressed a button or two too many, which added a non existing water heater control.

removed and re-added the whole setup and its working now.