Domoticz crashes after a few seconds

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
physiker123
Posts: 37
Joined: Wednesday 25 November 2015 18:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany / France
Contact:

Domoticz crashes after a few seconds

Post by physiker123 »

Hello everybody,

setup: RPi with Zwave and Zigate.

I updated to the latest beta version, and now my domoticz crashes after a few seconds. I can restart it via ssh, the webserver starts, I can do something, but then domoticz crashes. The status still says "active", which is weird..
sudo cat /home/pi/domoticz/domoticz_crash.log gave:

Code: Select all

[New LWP 1428]
[New LWP 1422]
[New LWP 1327]
[New LWP 1326]
[New LWP 1325]
[New LWP 1324]
[New LWP 1323]
[New LWP 1204]
[New LWP 1203]
[New LWP 1095]
[New LWP 1094]
[New LWP 1093]
[New LWP 1089]
[New LWP 1047]
[New LWP 1046]
[New LWP 1045]
[New LWP 1044]
[New LWP 1042]
[New LWP 1041]
[New LWP 1040]
[New LWP 1033]
[New LWP 1031]
[New LWP 1005]
[New LWP 999]
[New LWP 982]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0x76e56730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
81	../sysdeps/unix/syscall-template.S: No such file or directory.
  Id   Target Id         Frame 
  26   Thread 0x7622f430 (LWP 982) "Watchdog" 0x76e56730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
  25   Thread 0x75a2f430 (LWP 999) "SQLHelper" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  24   Thread 0x7522f430 (LWP 1005) "PluginMgr" 0x76e56ef8 in __libc_waitpid (pid=1444, stat_loc=0x7522c1a8, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
  23   Thread 0x7471f430 (LWP 1031) "InfluxPush" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  22   Thread 0x73f1f430 (LWP 1033) "Webem_ssncleane" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  21   Thread 0x7371f430 (LWP 1040) "WebServer_8080" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  20   Thread 0x72dff430 (LWP 1041) "Webem_ssncleane" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  19   Thread 0x725ff430 (LWP 1042) "WebServer_443" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  18   Thread 0x71bff430 (LWP 1044) "Scheduler" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  17   Thread 0x713ff430 (LWP 1045) "TCPServer" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  16   Thread 0x70bff430 (LWP 1046) "MainWorker" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  15   Thread 0x703ff430 (LWP 1047) "MainWorkerRxMsg" 0x76e52b30 in __pthread_cond_timedwait (cond=0xc9b650 <m_mainworker+3720>, mutex=0xc9b638 <m_mainworker+3696>, abstime=0x703fedc0) at pthread_cond_timedwait.c:199
  14   Thread 0x6f1ff430 (LWP 1089) "WebServer_8080" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  13   Thread 0x6e9ff430 (LWP 1093) "Voltcraft" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  12   Thread 0x6e1ff430 (LWP 1094) "ZWaveBase" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  11   Thread 0x6d7ff430 (LWP 1095) "Plugin_ASIO" 0x76e527a4 in __pthread_cond_wait (cond=0x1927450, mutex=0x192742c) at pthread_cond_wait.c:187
  10   Thread 0x6b945430 (LWP 1203) "EventSystem" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  9    Thread 0x6b145430 (LWP 1204) "EventSystemQueu" 0x76e52b30 in __pthread_cond_timedwait (cond=0xc9a8e8 <m_mainworker+288>, mutex=0xc9a8d0 <m_mainworker+264>, abstime=0x6b144d04) at pthread_cond_timedwait.c:199
  8    Thread 0x6a945430 (LWP 1323) "OZW-driver" 0x76e527a4 in __pthread_cond_wait (cond=0x71d01b80, mutex=0x71d01b68) at pthread_cond_wait.c:187
  7    Thread 0x6a145430 (LWP 1324) "OZW-dns" 0x76e527a4 in __pthread_cond_wait (cond=0x71c005d8, mutex=0x71c005c0) at pthread_cond_wait.c:187
  6    Thread 0x69945430 (LWP 1325) "OZW-timer" 0x76e527a4 in __pthread_cond_wait (cond=0x19a28b8, mutex=0x19a28a0) at pthread_cond_wait.c:187
  5    Thread 0x69145430 (LWP 1326) "OZW-driver" 0x76d06964 in select () at ../sysdeps/unix/syscall-template.S:81
  4    Thread 0x68945430 (LWP 1327) "OZW-poll" 0x76e52b30 in __pthread_cond_timedwait (cond=0x72e01668, mutex=0x72e01650, abstime=0x68944cf0) at pthread_cond_timedwait.c:199
  3    Thread 0x6f9ff430 (LWP 1422) "Plugin_Zigate" 0x76e55780 in __lll_lock_wait (futex=futex@entry=0xc9fe24 <Plugins::PythonMutex>, private=<optimized out>) at ../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c:46
  2    Thread 0x6ca45430 (LWP 1428) "PluginMgr" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
* 1    Thread 0x76f68000 (LWP 981) "domoticz" 0x76e56730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81

Thread 26 (Thread 0x7622f430 (LWP 982)):
#0  0x76e56730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x002a6bac in sleep_milliseconds(long) ()
#2  0x0030a1b0 in Do_Watchdog_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x7622f430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 25 (Thread 0x75a2f430 (LWP 999)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x00321f34 in CSQLHelper::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x75a2f430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 24 (Thread 0x7522f430 (LWP 1005)):
#0  0x76e56ef8 in __libc_waitpid (pid=1444, stat_loc=0x7522c1a8, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x00309a6c in dumpstack_gdb(bool) ()
#2  0x0030a060 in signal_handler(int, siginfo_t*, void*) ()
#3  <signal handler called>
#4  0x76e572e8 in raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#5  <signal handler called>
#6  0x00000000 in ?? ()
#7  0x007b1a40 in EVP_MD_CTX_reset ()
#8  0x007b2000 in EVP_MD_CTX_copy ()
#9  0x6cc1da5c in ?? () from /usr/lib/python3.4/lib-dynload/_hashlib.cpython-34m-arm-linux-gnueabihf.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 23 (Thread 0x7471f430 (LWP 1031)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x003f8cc0 in CInfluxPush::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x7471f430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 22 (Thread 0x73f1f430 (LWP 1033)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x0042c058 in boost::asio::io_context::run() ()
#4  0x00ad5b24 in execute_native_thread_routine ()
#5  0x76e4de90 in start_thread (arg=0x73f1f430) at pthread_create.c:311
#6  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 21 (Thread 0x7371f430 (LWP 1040)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x007041f8 in http::server::server_base::run() ()
#4  0x0034b878 in http::server::CWebServer::Do_Work() ()
#5  0x00ad5b24 in execute_native_thread_routine ()
#6  0x76e4de90 in start_thread (arg=0x7371f430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 20 (Thread 0x72dff430 (LWP 1041)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x0042c058 in boost::asio::io_context::run() ()
#4  0x00ad5b24 in execute_native_thread_routine ()
#5  0x76e4de90 in start_thread (arg=0x72dff430) at pthread_create.c:311
#6  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 19 (Thread 0x725ff430 (LWP 1042)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x007041f8 in http::server::server_base::run() ()
#4  0x0034b878 in http::server::CWebServer::Do_Work() ()
#5  0x00ad5b24 in execute_native_thread_routine ()
#6  0x76e4de90 in start_thread (arg=0x725ff430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 18 (Thread 0x71bff430 (LWP 1044)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x002ff974 in CScheduler::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x71bff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 17 (Thread 0x713ff430 (LWP 1045)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x006c0578 in tcp::server::CTCPServer::Do_Work() ()
#4  0x00ad5b24 in execute_native_thread_routine ()
#5  0x76e4de90 in start_thread (arg=0x713ff430) at pthread_create.c:311
#6  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 16 (Thread 0x70bff430 (LWP 1046)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x002dbbfc in MainWorker::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x70bff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 15 (Thread 0x703ff430 (LWP 1047)):
#0  0x76e52b30 in __pthread_cond_timedwait (cond=0xc9b650 <m_mainworker+3720>, mutex=0xc9b638 <m_mainworker+3696>, abstime=0x703fedc0) at pthread_cond_timedwait.c:199
#1  0x002de158 in MainWorker::Do_Work_On_Rx_Messages() ()
#2  0x00ad5b24 in execute_native_thread_routine ()
#3  0x76e4de90 in start_thread (arg=0x703ff430) at pthread_create.c:311
#4  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 14 (Thread 0x6f1ff430 (LWP 1089)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x0070ed6c in http::server::CWebsocketHandler::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6f1ff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 13 (Thread 0x6e9ff430 (LWP 1093)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x00632c94 in CVolcraftCO20::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6e9ff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0x6e1ff430 (LWP 1094)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x00657c68 in ZWaveBase::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6e1ff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x6d7ff430 (LWP 1095)):
#0  0x76e527a4 in __pthread_cond_wait (cond=0x1927450, mutex=0x192742c) at pthread_cond_wait.c:187
#1  0x004254a8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#2  0x0066a420 in Plugins::BoostWorkers() ()
#3  0x0088ad14 in thread_proxy ()
#4  0x76e4de90 in start_thread (arg=0x6d7ff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x6b945430 (LWP 1203)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x00293ee0 in CEventSystem::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6b945430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x6b145430 (LWP 1204)):
#0  0x76e52b30 in __pthread_cond_timedwait (cond=0xc9a8e8 <m_mainworker+288>, mutex=0xc9a8d0 <m_mainworker+264>, abstime=0x6b144d04) at pthread_cond_timedwait.c:199
#1  0x00295c94 in CEventSystem::EventQueueThread() ()
#2  0x00ad5b24 in execute_native_thread_routine ()
#3  0x76e4de90 in start_thread (arg=0x6b145430) at pthread_create.c:311
#4  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x6a945430 (LWP 1323)):
#0  0x76e527a4 in __pthread_cond_wait (cond=0x71d01b80, mutex=0x71d01b68) at pthread_cond_wait.c:187
#1  0x0093c5cc in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
#2  0x009364c0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
#3  0x008ebf2c in OpenZWave::Driver::DriverThreadProc(OpenZWave::Internal::Platform::Event*) ()
#4  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#5  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#6  0x76e4de90 in start_thread (arg=0x6a945430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x6a145430 (LWP 1324)):
#0  0x76e527a4 in __pthread_cond_wait (cond=0x71c005d8, mutex=0x71c005c0) at pthread_cond_wait.c:187
#1  0x0093c5cc in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
#2  0x009364c0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
#3  0x008ecc8c in OpenZWave::Internal::DNSThread::DNSThreadProc(OpenZWave::Internal::Platform::Event*) ()
#4  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#5  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#6  0x76e4de90 in start_thread (arg=0x6a145430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x69945430 (LWP 1325)):
#0  0x76e527a4 in __pthread_cond_wait (cond=0x19a28b8, mutex=0x19a28a0) at pthread_cond_wait.c:187
#1  0x0093c5cc in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
#2  0x009364c0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
#3  0x00941328 in OpenZWave::Internal::TimerThread::TimerThreadProc(OpenZWave::Internal::Platform::Event*) ()
#4  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#5  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#6  0x76e4de90 in start_thread (arg=0x69945430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x69145430 (LWP 1326)):
#0  0x76d06964 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x0093bfe8 in OpenZWave::Internal::Platform::SerialControllerImpl::Read(OpenZWave::Internal::Platform::Event*) ()
#2  0x0093c04c in OpenZWave::Internal::Platform::SerialControllerImpl::ReadThreadProc(OpenZWave::Internal::Platform::Event*) ()
#3  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#4  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#5  0x76e4de90 in start_thread (arg=0x69145430) at pthread_create.c:311
#6  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x68945430 (LWP 1327)):
#0  0x76e52b30 in __pthread_cond_timedwait (cond=0x72e01668, mutex=0x72e01650, abstime=0x68944cf0) at pthread_cond_timedwait.c:199
#1  0x0093c514 in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
#2  0x009364c0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
#3  0x008dac50 in OpenZWave::Driver::PollThreadProc(OpenZWave::Internal::Platform::Event*) ()
#4  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#5  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#6  0x76e4de90 in start_thread (arg=0x68945430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x6f9ff430 (LWP 1422)):
#0  0x76e55780 in __lll_lock_wait (futex=futex@entry=0xc9fe24 <Plugins::PythonMutex>, private=<optimized out>) at ../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c:46
#1  0x76e501a4 in __GI___pthread_mutex_lock (mutex=0xc9fe24 <Plugins::PythonMutex>) at pthread_mutex_lock.c:79
#2  0x00665e14 in Plugins::CPlugin::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6f9ff430, arg@entry=<error reading variable: Cannot access memory at address 0xe>) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
/home/pi/dev/gdb-7.7.1+dfsg/gdb/frame.c:472: internal-error: get_frame_id: Assertion `fi->this_id.p' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
/home/pi/dev/gdb-7.7.1+dfsg/gdb/frame.c:472: internal-error: get_frame_id: Assertion `fi->this_id.p' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
Does this help? I updated with apt-get, the python version is 3.4.2, the libpython version also 3.4...

Please help me :)

Best regards,
Jens
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Domoticz crashes after a few seconds

Post by waaren »

physiker123 wrote: Tuesday 03 December 2019 21:12 setup: RPi with Zwave and Zigate.
I updated to the latest beta version, and now my domoticz crashes after a few seconds. I can restart it via ssh, the webserver starts, I can do something, but then domoticz crashes. The status still says "active", which is weird..
Does this help? I updated with apt-get, the python version is 3.4.2, the libpython version also 3.4...
What is you OS version ?
If you search the forum for the keywords
pluginmgr python crash
you will see quite a number of recent messages where forum-members are seeking advice on crashes. Can you disable this plugin and try again ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
physiker123
Posts: 37
Joined: Wednesday 25 November 2015 18:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany / France
Contact:

Re: Domoticz crashes after a few seconds

Post by physiker123 »

Thank you for your reply!

Code: Select all

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
Does this help?

I renamed the plugins-Folder, and now it seems to be running.

In the domoticz-log, I can see a lot of the following errors
2019-12-04 08:26:14.332 [70bff430] Error: Zigate hardware (4) thread seems to have ended unexpectedly
But ZIgate cannot start because it is in the plugins-Folder.

After re-moving the plugins folder, I get:
2019-12-04 08:36:14.219 [70bff430] Error: EventSystem thread seems to have ended unexpectedly (last update 74.000000 seconds ago)
and also the
2019-12-04 08:36:42.228 [70bff430] Error: Zigate hardware (4) thread seems to have ended unexpectedly
Domoticz seems to be running even with these errors. But if I try to turn of a zwave switch, it crashes.

Code: Select all

Crash-Log:[quote][New LWP 1428]
[New LWP 1422]
[New LWP 1327]
[New LWP 1326]
[New LWP 1325]
[New LWP 1324]
[New LWP 1323]
[New LWP 1204]
[New LWP 1203]
[New LWP 1095]
[New LWP 1094]
[New LWP 1093]
[New LWP 1089]
[New LWP 1047]
[New LWP 1046]
[New LWP 1045]
[New LWP 1044]
[New LWP 1042]
[New LWP 1041]
[New LWP 1040]
[New LWP 1033]
[New LWP 1031]
[New LWP 1005]
[New LWP 999]
[New LWP 982]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0x76e56730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
81	../sysdeps/unix/syscall-template.S: No such file or directory.
  Id   Target Id         Frame 
  26   Thread 0x7622f430 (LWP 982) "Watchdog" 0x76e56730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
  25   Thread 0x75a2f430 (LWP 999) "SQLHelper" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  24   Thread 0x7522f430 (LWP 1005) "PluginMgr" 0x76e56ef8 in __libc_waitpid (pid=1444, stat_loc=0x7522c1a8, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
  23   Thread 0x7471f430 (LWP 1031) "InfluxPush" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  22   Thread 0x73f1f430 (LWP 1033) "Webem_ssncleane" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  21   Thread 0x7371f430 (LWP 1040) "WebServer_8080" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  20   Thread 0x72dff430 (LWP 1041) "Webem_ssncleane" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  19   Thread 0x725ff430 (LWP 1042) "WebServer_443" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  18   Thread 0x71bff430 (LWP 1044) "Scheduler" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  17   Thread 0x713ff430 (LWP 1045) "TCPServer" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  16   Thread 0x70bff430 (LWP 1046) "MainWorker" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  15   Thread 0x703ff430 (LWP 1047) "MainWorkerRxMsg" 0x76e52b30 in __pthread_cond_timedwait (cond=0xc9b650 <m_mainworker+3720>, mutex=0xc9b638 <m_mainworker+3696>, abstime=0x703fedc0) at pthread_cond_timedwait.c:199
  14   Thread 0x6f1ff430 (LWP 1089) "WebServer_8080" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  13   Thread 0x6e9ff430 (LWP 1093) "Voltcraft" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  12   Thread 0x6e1ff430 (LWP 1094) "ZWaveBase" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  11   Thread 0x6d7ff430 (LWP 1095) "Plugin_ASIO" 0x76e527a4 in __pthread_cond_wait (cond=0x1927450, mutex=0x192742c) at pthread_cond_wait.c:187
  10   Thread 0x6b945430 (LWP 1203) "EventSystem" syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
  9    Thread 0x6b145430 (LWP 1204) "EventSystemQueu" 0x76e52b30 in __pthread_cond_timedwait (cond=0xc9a8e8 <m_mainworker+288>, mutex=0xc9a8d0 <m_mainworker+264>, abstime=0x6b144d04) at pthread_cond_timedwait.c:199
  8    Thread 0x6a945430 (LWP 1323) "OZW-driver" 0x76e527a4 in __pthread_cond_wait (cond=0x71d01b80, mutex=0x71d01b68) at pthread_cond_wait.c:187
  7    Thread 0x6a145430 (LWP 1324) "OZW-dns" 0x76e527a4 in __pthread_cond_wait (cond=0x71c005d8, mutex=0x71c005c0) at pthread_cond_wait.c:187
  6    Thread 0x69945430 (LWP 1325) "OZW-timer" 0x76e527a4 in __pthread_cond_wait (cond=0x19a28b8, mutex=0x19a28a0) at pthread_cond_wait.c:187
  5    Thread 0x69145430 (LWP 1326) "OZW-driver" 0x76d06964 in select () at ../sysdeps/unix/syscall-template.S:81
  4    Thread 0x68945430 (LWP 1327) "OZW-poll" 0x76e52b30 in __pthread_cond_timedwait (cond=0x72e01668, mutex=0x72e01650, abstime=0x68944cf0) at pthread_cond_timedwait.c:199
  3    Thread 0x6f9ff430 (LWP 1422) "Plugin_Zigate" 0x76e55780 in __lll_lock_wait (futex=futex@entry=0xc9fe24 <Plugins::PythonMutex>, private=<optimized out>) at ../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c:46
  2    Thread 0x6ca45430 (LWP 1428) "PluginMgr" 0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
* 1    Thread 0x76f68000 (LWP 981) "domoticz" 0x76e56730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81

Thread 26 (Thread 0x7622f430 (LWP 982)):
#0  0x76e56730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x002a6bac in sleep_milliseconds(long) ()
#2  0x0030a1b0 in Do_Watchdog_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x7622f430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 25 (Thread 0x75a2f430 (LWP 999)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x00321f34 in CSQLHelper::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x75a2f430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 24 (Thread 0x7522f430 (LWP 1005)):
#0  0x76e56ef8 in __libc_waitpid (pid=1444, stat_loc=0x7522c1a8, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x00309a6c in dumpstack_gdb(bool) ()
#2  0x0030a060 in signal_handler(int, siginfo_t*, void*) ()
#3  <signal handler called>
#4  0x76e572e8 in raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#5  <signal handler called>
#6  0x00000000 in ?? ()
#7  0x007b1a40 in EVP_MD_CTX_reset ()
#8  0x007b2000 in EVP_MD_CTX_copy ()
#9  0x6cc1da5c in ?? () from /usr/lib/python3.4/lib-dynload/_hashlib.cpython-34m-arm-linux-gnueabihf.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 23 (Thread 0x7471f430 (LWP 1031)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x003f8cc0 in CInfluxPush::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x7471f430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 22 (Thread 0x73f1f430 (LWP 1033)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x0042c058 in boost::asio::io_context::run() ()
#4  0x00ad5b24 in execute_native_thread_routine ()
#5  0x76e4de90 in start_thread (arg=0x73f1f430) at pthread_create.c:311
#6  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 21 (Thread 0x7371f430 (LWP 1040)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x007041f8 in http::server::server_base::run() ()
#4  0x0034b878 in http::server::CWebServer::Do_Work() ()
#5  0x00ad5b24 in execute_native_thread_routine ()
#6  0x76e4de90 in start_thread (arg=0x7371f430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 20 (Thread 0x72dff430 (LWP 1041)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x0042c058 in boost::asio::io_context::run() ()
#4  0x00ad5b24 in execute_native_thread_routine ()
#5  0x76e4de90 in start_thread (arg=0x72dff430) at pthread_create.c:311
#6  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 19 (Thread 0x725ff430 (LWP 1042)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x007041f8 in http::server::server_base::run() ()
#4  0x0034b878 in http::server::CWebServer::Do_Work() ()
#5  0x00ad5b24 in execute_native_thread_routine ()
#6  0x76e4de90 in start_thread (arg=0x725ff430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 18 (Thread 0x71bff430 (LWP 1044)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x002ff974 in CScheduler::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x71bff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 17 (Thread 0x713ff430 (LWP 1045)):
#0  0x76d0dc14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00423e98 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00425334 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x006c0578 in tcp::server::CTCPServer::Do_Work() ()
#4  0x00ad5b24 in execute_native_thread_routine ()
#5  0x76e4de90 in start_thread (arg=0x713ff430) at pthread_create.c:311
#6  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 16 (Thread 0x70bff430 (LWP 1046)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x002dbbfc in MainWorker::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x70bff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 15 (Thread 0x703ff430 (LWP 1047)):
#0  0x76e52b30 in __pthread_cond_timedwait (cond=0xc9b650 <m_mainworker+3720>, mutex=0xc9b638 <m_mainworker+3696>, abstime=0x703fedc0) at pthread_cond_timedwait.c:199
#1  0x002de158 in MainWorker::Do_Work_On_Rx_Messages() ()
#2  0x00ad5b24 in execute_native_thread_routine ()
#3  0x76e4de90 in start_thread (arg=0x703ff430) at pthread_create.c:311
#4  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 14 (Thread 0x6f1ff430 (LWP 1089)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x0070ed6c in http::server::CWebsocketHandler::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6f1ff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 13 (Thread 0x6e9ff430 (LWP 1093)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x00632c94 in CVolcraftCO20::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6e9ff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0x6e1ff430 (LWP 1094)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x00657c68 in ZWaveBase::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6e1ff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x6d7ff430 (LWP 1095)):
#0  0x76e527a4 in __pthread_cond_wait (cond=0x1927450, mutex=0x192742c) at pthread_cond_wait.c:187
#1  0x004254a8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#2  0x0066a420 in Plugins::BoostWorkers() ()
#3  0x0088ad14 in thread_proxy ()
#4  0x76e4de90 in start_thread (arg=0x6d7ff430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x6b945430 (LWP 1203)):
#0  syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x00ab2f94 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
#2  0x00293ee0 in CEventSystem::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6b945430) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x6b145430 (LWP 1204)):
#0  0x76e52b30 in __pthread_cond_timedwait (cond=0xc9a8e8 <m_mainworker+288>, mutex=0xc9a8d0 <m_mainworker+264>, abstime=0x6b144d04) at pthread_cond_timedwait.c:199
#1  0x00295c94 in CEventSystem::EventQueueThread() ()
#2  0x00ad5b24 in execute_native_thread_routine ()
#3  0x76e4de90 in start_thread (arg=0x6b145430) at pthread_create.c:311
#4  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x6a945430 (LWP 1323)):
#0  0x76e527a4 in __pthread_cond_wait (cond=0x71d01b80, mutex=0x71d01b68) at pthread_cond_wait.c:187
#1  0x0093c5cc in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
#2  0x009364c0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
#3  0x008ebf2c in OpenZWave::Driver::DriverThreadProc(OpenZWave::Internal::Platform::Event*) ()
#4  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#5  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#6  0x76e4de90 in start_thread (arg=0x6a945430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x6a145430 (LWP 1324)):
#0  0x76e527a4 in __pthread_cond_wait (cond=0x71c005d8, mutex=0x71c005c0) at pthread_cond_wait.c:187
#1  0x0093c5cc in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
#2  0x009364c0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
#3  0x008ecc8c in OpenZWave::Internal::DNSThread::DNSThreadProc(OpenZWave::Internal::Platform::Event*) ()
#4  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#5  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#6  0x76e4de90 in start_thread (arg=0x6a145430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x69945430 (LWP 1325)):
#0  0x76e527a4 in __pthread_cond_wait (cond=0x19a28b8, mutex=0x19a28a0) at pthread_cond_wait.c:187
#1  0x0093c5cc in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
#2  0x009364c0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
#3  0x00941328 in OpenZWave::Internal::TimerThread::TimerThreadProc(OpenZWave::Internal::Platform::Event*) ()
#4  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#5  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#6  0x76e4de90 in start_thread (arg=0x69945430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x69145430 (LWP 1326)):
#0  0x76d06964 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x0093bfe8 in OpenZWave::Internal::Platform::SerialControllerImpl::Read(OpenZWave::Internal::Platform::Event*) ()
#2  0x0093c04c in OpenZWave::Internal::Platform::SerialControllerImpl::ReadThreadProc(OpenZWave::Internal::Platform::Event*) ()
#3  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#4  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#5  0x76e4de90 in start_thread (arg=0x69145430) at pthread_create.c:311
#6  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x68945430 (LWP 1327)):
#0  0x76e52b30 in __pthread_cond_timedwait (cond=0x72e01668, mutex=0x72e01650, abstime=0x68944cf0) at pthread_cond_timedwait.c:199
#1  0x0093c514 in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
#2  0x009364c0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
#3  0x008dac50 in OpenZWave::Driver::PollThreadProc(OpenZWave::Internal::Platform::Event*) ()
#4  0x0093a71c in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
#5  0x0093a738 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
#6  0x76e4de90 in start_thread (arg=0x68945430) at pthread_create.c:311
#7  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x6f9ff430 (LWP 1422)):
#0  0x76e55780 in __lll_lock_wait (futex=futex@entry=0xc9fe24 <Plugins::PythonMutex>, private=<optimized out>) at ../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c:46
#1  0x76e501a4 in __GI___pthread_mutex_lock (mutex=0xc9fe24 <Plugins::PythonMutex>) at pthread_mutex_lock.c:79
#2  0x00665e14 in Plugins::CPlugin::Do_Work() ()
#3  0x00ad5b24 in execute_native_thread_routine ()
#4  0x76e4de90 in start_thread (arg=0x6f9ff430, arg@entry=<error reading variable: Cannot access memory at address 0xe>) at pthread_create.c:311
#5  0x76d0d598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
/home/pi/dev/gdb-7.7.1+dfsg/gdb/frame.c:472: internal-error: get_frame_id: Assertion `fi->this_id.p' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
/home/pi/dev/gdb-7.7.1+dfsg/gdb/frame.c:472: internal-error: get_frame_id: Assertion `fi->this_id.p' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
User avatar
C4rtm4N
Posts: 49
Joined: Saturday 07 February 2015 21:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: UK
Contact:

Re: Domoticz crashes after a few seconds

Post by C4rtm4N »

Can you try disabling the plugins one by one within the app rather than renaming the whole directory?

I managed to get my version stable again by disabling my weather and battery monitoring ones. Zwave works fine for me as long as they aren't running.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Domoticz crashes after a few seconds

Post by waaren »

physiker123 wrote: Wednesday 04 December 2019 8:36 PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
Would it be possible for you to upgrade to buster or stretch and while doing that to a later Python version ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
physiker123
Posts: 37
Joined: Wednesday 25 November 2015 18:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany / France
Contact:

Re: Domoticz crashes after a few seconds

Post by physiker123 »

Hey,

I disabled all the plugins in the Hardware-Section.

Dummy-Plugin, the Volcraft CO-20 USB air quality sensor-Plugin and the Zwave-Plugin do not produce errors.

The ZIgate-Plugin produces the errors.

I will try upgrading my Rasperry pi.
physiker123
Posts: 37
Joined: Wednesday 25 November 2015 18:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany / France
Contact:

Re: Domoticz crashes after a few seconds

Post by physiker123 »

waaren wrote: Wednesday 04 December 2019 9:29
physiker123 wrote: Wednesday 04 December 2019 8:36 PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
Would it be possible for you to upgrade to buster or stretch and while doing that to a later Python version ?
Updating to Stretch seems to have fixed the problem!

Thank you very much for your response!
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Domoticz crashes after a few seconds

Post by gizmocuz »

Stretch is quite old as well...
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest