Page 1 of 1

Domoticz crash every hour

Posted: Tuesday 07 April 2020 9:40
by zener82
Hello,

I've got an issue with domoticz beta 2020.1 (build 11875) : I've a crash every hour (at xxh00m). A sh script makes me recover, but this bug is annoying since system is not working properly.

I use python 3.7.3 :

Code: Select all

Python 3.7.3 (default, Dec 20 2019, 18:57:59)
libpython3.7 est déjà la version la plus récente (3.7.3-2+deb10u1).
python3-dev est déjà la version la plus récente (3.7.3-1).
The crashlog shows (do you need thread information below ?):

Code: Select all

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
__GI___nanosleep (remaining=0x7eb299a8, requested_time=0x7eb299a8) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
28	../sysdeps/unix/sysv/linux/nanosleep.c: Aucun fichier ou dossier de ce type.
  Id   Target Id                                      Frame 
* 1    Thread 0x76f04010 (LWP 6554) "domoticz"        __GI___nanosleep (remaining=0x7eb299a8, requested_time=0x7eb299a8) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
  2    Thread 0x75ab2220 (LWP 6555) "Watchdog"        __GI___nanosleep (remaining=0x75ab1bd0, requested_time=0x75ab1bd0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
  3    Thread 0x752b1220 (LWP 6556) "SQLHelper"       syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  4    Thread 0x74ab0220 (LWP 6557) "PluginMgr"       syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  5    Thread 0x73c25220 (LWP 6558) "InfluxPush"      syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  6    Thread 0x73424220 (LWP 6559) "Webem_ssncleane" 0x769e39d0 in epoll_wait (epfd=<optimized out>, events=0x73423378, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  7    Thread 0x72c23220 (LWP 6560) "WebServer_8080"  0x769e39d0 in epoll_wait (epfd=<optimized out>, events=0x72c22348, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  8    Thread 0x722ff220 (LWP 6561) "Webem_ssncleane" 0x769e39d0 in epoll_wait (epfd=<optimized out>, events=0x722fe378, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  9    Thread 0x71afe220 (LWP 6562) "WebServer_443"   0x769e39d0 in epoll_wait (epfd=<optimized out>, events=0x71afd348, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  10   Thread 0x710ff220 (LWP 6563) "Scheduler"       syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  11   Thread 0x708fe220 (LWP 6564) "TCPServer"       0x769e39d0 in epoll_wait (epfd=<optimized out>, events=0x708fd378, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  12   Thread 0x6feff220 (LWP 6565) "MainWorker"      syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  13   Thread 0x6f6fe220 (LWP 6566) "MainWorkerRxMsg" futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x6f6fdbb8, expected=0, futex_word=0xaba688 <m_mainworker+4192>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  14   Thread 0x6eaff220 (LWP 6568) "HardwareMonitor" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  15   Thread 0x6e2fe220 (LWP 6571) "ZWaveBase"       syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  16   Thread 0x6dafd220 (LWP 6572) "NotificationSys" futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x6dafcbcc, expected=0, futex_word=0xaba154 <m_mainworker+2860>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  17   Thread 0x6d0ff220 (LWP 6573) "Plugin_ASIO"     futex_wait_cancelable (private=0, expected=0, futex_word=0x1aec898) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  18   Thread 0x6c3e6220 (LWP 6598) "Plugin_sma"      syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  19   Thread 0x6bae5220 (LWP 6599) "EventSystem"     syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  20   Thread 0x6b2e4220 (LWP 6600) "EventSystemQueu" futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x6b2e3af8, expected=0, futex_word=0xab9774 <m_mainworker+332>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  21   Thread 0x6aae3220 (LWP 6619) "OZW-driver"      futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x6aae2b08, expected=0, futex_word=0x6d1023c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  22   Thread 0x69ae1220 (LWP 6620) "OZW-driver"      __GI___select (timeout=0x69ae09c8, exceptfds=0x69ae0a48, writefds=0x0, readfds=0x69ae09c8, nfds=35) at ../sysdeps/unix/sysv/linux/select.c:41
  23   Thread 0x692e0220 (LWP 6621) "OZW-poll"        futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x692dfb10, expected=0, futex_word=0x6c789cd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  24   Thread 0x6a2e2220 (LWP 6622) "OZW-dns"         futex_wait_cancelable (private=0, expected=0, futex_word=0x6ec00fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  25   Thread 0x68adf220 (LWP 6623) "OZW-timer"       futex_wait_cancelable (private=0, expected=0, futex_word=0x6eb33470) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  26   Thread 0x682de220 (LWP 6972) "SendMessageEx"   __waitpid (options=0, stat_loc=0x682dc7c8, pid=6979) at ../sysdeps/unix/sysv/linux/waitpid.c:30
From my point of view, this comes from lack of nanosleep.c.
What should I do to recover from this situation ?

Thanks for your help.