Permanent crashing!

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
paul402
Posts: 96
Joined: Monday 23 May 2016 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Permanent crashing!

Post by paul402 »

Raspi 3b running ok for a couple of years now. Buster.
Domoticz Version: 2024.3
Build Hash: 3503953dd
Compile Date: 2024-01-24 08:40:07
dzVents Version: 3.1.8
Python Version: 3.7.3 (default, Oct 11 2023, 09:51:27) [GCC 8.3.0]

Could someone help me with this crashlog file please and give me a clue as to why Domoticz runs for a short while.
It's certainly beyond my understanding.
Thanks for any advice.

[New LWP 15020]
[New LWP 15031]
[New LWP 15039]
[New LWP 15040]
[New LWP 15041]
[New LWP 15042]
[New LWP 15043]
[New LWP 15044]
[New LWP 15045]
[New LWP 15046]
[New LWP 15047]
[New LWP 15048]
[New LWP 15049]
[New LWP 15050]
[New LWP 15052]
[New LWP 15053]
[New LWP 15054]
[New LWP 15055]
[New LWP 15056]
[New LWP 15057]
[New LWP 15058]
[New LWP 15059]
[New LWP 15060]
[New LWP 15061]
[New LWP 15067]
[New LWP 15103]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
__GI___nanosleep (remaining=0x7ef968c0, requested_time=0x7ef968c0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
28 ../sysdeps/unix/sysv/linux/nanosleep.c: No such file or directory.
Id Target Id Frame
* 1 Thread 0x76ef5040 (LWP 15019) "domoticz" __GI___nanosleep (remaining=0x7ef968c0, requested_time=0x7ef968c0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
2 Thread 0x759a6200 (LWP 15020) "SQLHelper" __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
3 Thread 0x751a5200 (LWP 15031) "PluginMgr" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
4 Thread 0x74374200 (LWP 15039) "InfluxPush" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
5 Thread 0x73b73200 (LWP 15040) "MQTTPush" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
6 Thread 0x73372200 (LWP 15041) "Webem_ssncleane" 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x733712e0, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
7 Thread 0x72b71200 (LWP 15042) "WebServer_8080" __libc_pread64 (offset=<optimized out>, count=4096, buf=0x72219630, fd=47) at ../sysdeps/unix/sysv/linux/pread64.c:29
8 Thread 0x721ff200 (LWP 15043) "Webem_ssncleane" 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x721fe2e0, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
9 Thread 0x719fe200 (LWP 15044) "WebServer_443" 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x719fd2d8, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
10 Thread 0x70fff200 (LWP 15045) "Scheduler" __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
11 Thread 0x707fe200 (LWP 15046) "TCPServer" 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x707fd310, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
12 Thread 0x6fdff200 (LWP 15047) "MainWorker" __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
13 Thread 0x6f5fe200 (LWP 15048) "MainWorkerRxMsg" __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
14 Thread 0x6edfd200 (LWP 15049) "Watchdog" __waitpid (options=0, stat_loc=0x6edfc350, pid=15379) at ../sysdeps/unix/sysv/linux/waitpid.c:30
15 Thread 0x6e1ff200 (LWP 15050) "RfxCom-tx/rx" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
16 Thread 0x6d9fe200 (LWP 15052) "openweather" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
17 Thread 0x6cbff200 (LWP 15053) "Weather" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
18 Thread 0x6c3fe200 (LWP 15054) "MQTTad" __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
19 Thread 0x6bbfd200 (LWP 15055) "Domoticz_HBWork" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
20 Thread 0x6b3fc200 (LWP 15056) "ShellyHW" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
21 Thread 0x6abfb200 (LWP 15057) "NotificationSys" futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x6abfabb0, expected=0, futex_word=0xcb7694 <m_mainworker+2548>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
22 Thread 0x6a3fa200 (LWP 15058) "Plugin_ASIO" 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x6a3f92c8, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
23 Thread 0x69bf9200 (LWP 15059) "ShellyHW" futex_wait_cancelable (private=0, expected=0, futex_word=0x1df1fd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
24 Thread 0x693f8200 (LWP 15060) "EventSystem" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
25 Thread 0x68bf7200 (LWP 15061) "EventSystemQueu" __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
26 Thread 0x67bf5200 (LWP 15067) "RfxCom-tx/rx" 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x67bf42f8, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
27 Thread 0x683f6200 (LWP 15103) "WebServer_8080" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37

Thread 27 (Thread 0x683f6200 (LWP 15103)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x009f8ef6 in http::server::CWebsocketHandler::Do_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x683f6200) at pthread_create.c:486
#5 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 26 (Thread 0x67bf5200 (LWP 15067)):
#0 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x67bf42f8, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x00778e90 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2 0x0077aa2a in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3 0x0077cd96 in boost::detail::thread_data<AsyncSerial::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, boost::asio::serial_port_base::parity, boost::asio::serial_port_base::character_size, boost::asio::serial_port_base::flow_control, boost::asio::serial_port_base::stop_bits)::{lambda()#2}>::run() ()
#4 0x00a2a0c0 in thread_proxy ()
#5 0x76a24494 in start_thread (arg=0x67bf5200) at pthread_create.c:486
#6 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 25 (Thread 0x68bf7200 (LWP 15061)):
#0 __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
#1 0x76a26f44 in __GI___pthread_mutex_lock (mutex=0xcb7e00 <m_sql+232>) at pthread_mutex_lock.c:80
#2 0x0069cfb0 in CSQLHelper::query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#3 0x0069d2c8 in CSQLHelper::safe_query[abi:cxx11](char const*, ...) ()
#4 0x00623704 in CdzVents::ExportDomoticzDataToLua(lua_State*, std::vector<CEventSystem::_tEventQueue, std::allocator<CEventSystem::_tEventQueue> > const&) ()
#5 0x006246bc in CdzVents::EvaluateDzVents(lua_State*, std::vector<CEventSystem::_tEventQueue, std::allocator<CEventSystem::_tEventQueue> > const&, int) ()
#6 0x00636942 in CEventSystem::EvaluateLua(std::vector<CEventSystem::_tEventQueue, std::allocator<CEventSystem::_tEventQueue> > const&, 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&) ()
#7 0x006372fa in CEventSystem::EvaluateEvent(std::vector<CEventSystem::_tEventQueue, std::allocator<CEventSystem::_tEventQueue> > const&) ()
#8 0x00638336 in CEventSystem::EventQueueThread() ()
#9 0x00b40a8a in execute_native_thread_routine ()
#10 0x76a24494 in start_thread (arg=0x68bf7200) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0x32

Thread 24 (Thread 0x693f8200 (LWP 15060)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x00631d98 in CEventSystem::Do_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x693f8200) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0x32

Thread 23 (Thread 0x69bf9200 (LWP 15059)):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x1df1fd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0x1df1fb0) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x1df1fb0, mutex=0x0) at pthread_cond_wait.c:655
#3 0x0077aaac in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4 0x0078b0d8 in boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service_base::work_scheduler_runner>::run() ()
#5 0x007770ba in boost_asio_detail_posix_thread_function ()
#6 0x76a24494 in start_thread (arg=0x69bf9200) at pthread_create.c:486
#7 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 22 (Thread 0x6a3fa200 (LWP 15058)):
#0 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x6a3f92c8, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x00778e90 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2 0x0077aa2a in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3 0x0097e5b6 in Plugins::BoostWorkers() ()
#4 0x00a2a0c0 in thread_proxy ()
#5 0x76a24494 in start_thread (arg=0x6a3fa200) at pthread_create.c:486
#6 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 21 (Thread 0x6abfb200 (LWP 15057)):
#0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x6abfabb0, expected=0, futex_word=0xcb7694 <m_mainworker+2548>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 __pthread_cond_wait_common (abstime=0x6abfabb0, mutex=0x0, cond=0xcb7668 <m_mainworker+2504>) at pthread_cond_wait.c:539
#2 __pthread_cond_timedwait (cond=0xcb7668 <m_mainworker+2504>, mutex=0x0, abstime=0x6abfabb0) at pthread_cond_wait.c:667
#3 0x00685fd6 in CNotificationSystem::QueueThread() ()
#4 0x00b40a8a in execute_native_thread_routine ()
#5 0x76a24494 in start_thread (arg=0x6abfb200) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0x74

Thread 20 (Thread 0x6b3fc200 (LWP 15056)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x0097bf20 in Plugins::CPlugin::Do_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x6b3fc200) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0x32

Thread 19 (Thread 0x6bbfd200 (LWP 15055)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x007bc6f0 in CDomoticzHardwareBase::Do_Heartbeat_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x6bbfd200) at pthread_create.c:486
#5 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 18 (Thread 0x6c3fe200 (LWP 15054)):
#0 __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
#1 0x76a26f44 in __GI___pthread_mutex_lock (mutex=0xcb7e00 <m_sql+232>) at pthread_mutex_lock.c:80
#2 0x0069cfb0 in CSQLHelper::query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#3 0x0069d2c8 in CSQLHelper::safe_query[abi:cxx11](char const*, ...) ()
#4 0x0069d966 in CSQLHelper::GetAddjustment(int, char const*, unsigned char, unsigned char, unsigned char, float&, float&) ()
#5 0x0086651a in MQTTAutoDiscover::GuessSensorTypeValue(MQTTAutoDiscover::_tMQTTASensor*, unsigned char&, unsigned char&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) ()
#6 0x00866b24 in MQTTAutoDiscover::HaveSingleTempHumBaro(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#7 0x008653e6 in MQTTAutoDiscover::handle_auto_discovery_sensor(MQTTAutoDiscover::_tMQTTASensor*, mosquitto_message const*) ()
#8 0x0086c83e in MQTTAutoDiscover::handle_auto_discovery_sensor_message(mosquitto_message const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#9 0x0086ccc6 in MQTTAutoDiscover::on_message(mosquitto_message const*) ()
#10 0x00a264fe in handle.publish ()
#11 0x00a22326 in packet.read ()
#12 0x00a1f410 in mosquitto_loop_read ()
#13 0x00a1f6ea in mosquitto_loop ()
#14 0x00685aec in mosqdz::mosquittodz::loop(int, int) ()
#15 0x008583c4 in MQTT::Do_Work() ()
#16 0x00b40a8a in execute_native_thread_routine ()
#17 0x76a24494 in start_thread (arg=0x6c3fe200) at pthread_create.c:486
#18 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 17 (Thread 0x6cbff200 (LWP 15053)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x0084ec70 in CMeteorologisk::Do_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x6cbff200) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0xc

Thread 16 (Thread 0x6d9fe200 (LWP 15052)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x0089b0b8 in COpenWeatherMap::Do_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x6d9fe200) at pthread_create.c:486
#5 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 15 (Thread 0x6e1ff200 (LWP 15050)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x00907694 in RFXComSerial::Do_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x6e1ff200) at pthread_create.c:486
#5 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 14 (Thread 0x6edfd200 (LWP 15049)):
#0 __waitpid (options=0, stat_loc=0x6edfc350, pid=15379) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1 __waitpid (pid=15379, stat_loc=0x6edfc350, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:25
#2 0x0069a012 in dumpstack_gdb(bool) ()
#3 0x0069a3d4 in signal_handler(int, siginfo_t*, void*) ()
#4 <signal handler called>
#5 raise (sig=10) at ../sysdeps/unix/sysv/linux/raise.c:50
#6 0x0069a612 in Do_Watchdog_Work() ()
#7 0x00b40a8a in execute_native_thread_routine ()
#8 0x76a24494 in start_thread (arg=0x6edfd200) at pthread_create.c:486
#9 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 13 (Thread 0x6f5fe200 (LWP 15048)):
#0 __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
#1 0x76a26f44 in __GI___pthread_mutex_lock (mutex=0xcb7e00 <m_sql+232>) at pthread_mutex_lock.c:80
#2 0x0069cfb0 in CSQLHelper::query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#3 0x0069d2c8 in CSQLHelper::safe_query[abi:cxx11](char const*, ...) ()
#4 0x006d39ce in http::server::CWebServer::GetJSonDevices(Json::Value&, 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&, 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&, 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&, bool, bool, bool, long, 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&) ()
#5 0x006edfcc in http::server::CWebServer::Cmd_GetDevices(http::server::_tWebEmSession&, http::server::request const&, Json::Value&) ()
#6 0x006d20e4 in http::server::CWebServer::GetJSonPage(http::server::_tWebEmSession&, http::server::request const&, http::server::reply&) ()
#7 0x009d7b9a in http::server::cWebem::CheckForPageOverride(http::server::_tWebEmSession&, http::server::request&, http::server::reply&) ()
#8 0x009fa45c in http::server::CWebsocketHandler::Handle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()
#9 0x009f905c in http::server::CWebsocketHandler::OnDeviceChanged(unsigned long long) ()
#10 0x0074be2e in boost::detail::function::void_function_obj_invoker4<CWebSocketPush::Start()::{lambda(auto:1, auto:2, auto:3&&, auto:4)#1}, void, int, unsigned long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char const*>::invoke(boost::detail::function::function_buffer&, int, unsigned long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned char const) ()
#11 0x00683a86 in boost::signals2::detail::signal_impl<void (int, unsigned long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char const*), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (int, unsigned long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char const*)>, boost::function<void (boost::signals2::connection const&, int, unsigned long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char const*)>, boost::signals2::mutex>::operator()(int, unsigned long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char const*) ()
#12 0x00675434 in MainWorker::ProcessRXMessage(CDomoticzHardwareBase const*, unsigned char const*, char const*, int, char const*) ()
#13 0x00677b8e in MainWorker::Do_Work_On_Rx_Messages() ()
#14 0x00b40a8a in execute_native_thread_routine ()
#15 0x76a24494 in start_thread (arg=0x6f5fe200) at pthread_create.c:486
#16 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0x6fdff200 (LWP 15047)):
#0 __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
#1 0x76a26f44 in __GI___pthread_mutex_lock (mutex=0xcb7e00 <m_sql+232>) at pthread_mutex_lock.c:80
#2 0x0069cfb0 in CSQLHelper::query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#3 0x0069d2c8 in CSQLHelper::safe_query[abi:cxx11](char const*, ...) ()
#4 0x0069f738 in CSQLHelper::UpdateTemperatureLog() ()
#5 0x006aca80 in CSQLHelper::ScheduleShortlog() ()
#6 0x00674fa8 in MainWorker::Do_Work() ()
#7 0x00b40a8a in execute_native_thread_routine ()
#8 0x76a24494 in start_thread (arg=0x6fdff200) at pthread_create.c:486
#9 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x707fe200 (LWP 15046)):
#0 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x707fd310, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x00778e90 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2 0x0077aa2a in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3 0x009c1ff8 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<tcp::server::CTCPServer::StartServer(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&)::{lambda()#1}> > >::_M_run() ()
#4 0x00b40a8a in execute_native_thread_routine ()
#5 0x76a24494 in start_thread (arg=0x707fe200) at pthread_create.c:486
#6 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x70fff200 (LWP 15045)):
#0 __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
#1 0x76a26f44 in __GI___pthread_mutex_lock (mutex=0xcb7e00 <m_sql+232>) at pthread_mutex_lock.c:80
#2 0x0069cfb0 in CSQLHelper::query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#3 0x0069d2c8 in CSQLHelper::safe_query[abi:cxx11](char const*, ...) ()
#4 0x00693028 in CScheduler::DeleteExpiredTimers() ()
#5 0x006932ae in CScheduler::Do_Work() ()
#6 0x00b40a8a in execute_native_thread_routine ()
#7 0x76a24494 in start_thread (arg=0x70fff200) at pthread_create.c:486
#8 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x719fe200 (LWP 15044)):
#0 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x719fd2d8, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x00778e90 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2 0x0077aa2a in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3 0x009f390a in http::server::server_base::run() ()
#4 0x006cc8b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<http::server::CWebServer::StartServer(http::server::server_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)::{lambda()#307}> > >::_M_run() ()
#5 0x00b40a8a in execute_native_thread_routine ()
#6 0x76a24494 in start_thread (arg=0x719fe200) at pthread_create.c:486
#7 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x721ff200 (LWP 15043)):
#0 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x721fe2e0, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x00778e90 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2 0x0077aa2a in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3 0x009d54ee in std::thread::_State_impl<std::thread::_Invoker<std::tuple<http::server::cWebem::cWebem(http::server::server_settings const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::{lambda()#2}> > >::_M_run() ()
#4 0x00b40a8a in execute_native_thread_routine ()
#5 0x76a24494 in start_thread (arg=0x721ff200) at pthread_create.c:486
#6 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x72b71200 (LWP 15042)):
#0 __libc_pread64 (offset=<optimized out>, count=4096, buf=0x72219630, fd=47) at ../sysdeps/unix/sysv/linux/pread64.c:29
#1 __libc_pread64 (fd=47, buf=0x72219630, count=4096, offset=5747456) at ../sysdeps/unix/sysv/linux/pread64.c:27
Backtrace stopped: Cannot access memory at address 0x4

Thread 6 (Thread 0x73372200 (LWP 15041)):
#0 0x768d82f0 in epoll_wait (epfd=<optimized out>, events=0x733712e0, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x00778e90 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2 0x0077aa2a in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3 0x009d54ee in std::thread::_State_impl<std::thread::_Invoker<std::tuple<http::server::cWebem::cWebem(http::server::server_settings const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::{lambda()#2}> > >::_M_run() ()
#4 0x00b40a8a in execute_native_thread_routine ()
#5 0x76a24494 in start_thread (arg=0x73372200) at pthread_create.c:486
#6 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x73b73200 (LWP 15040)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x00749472 in CMQTTPush::Do_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x73b73200) at pthread_create.c:486
#5 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x74374200 (LWP 15039)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x00745f30 in CInfluxPush::Do_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x74374200) at pthread_create.c:486
#5 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x751a5200 (LWP 15031)):
#0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1 0x00b4225e 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 0x0097ebe4 in Plugins::CPluginSystem::Do_Work() ()
#3 0x00b40a8a in execute_native_thread_routine ()
#4 0x76a24494 in start_thread (arg=0x751a5200) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0x1ff0b5f8

Thread 2 (Thread 0x759a6200 (LWP 15020)):
#0 __lll_lock_wait (futex=futex@entry=0xcb7e00 <m_sql+232>, private=0) at lowlevellock.c:43
#1 0x76a26f44 in __GI___pthread_mutex_lock (mutex=0xcb7e00 <m_sql+232>) at pthread_mutex_lock.c:80
#2 0x0069cfb0 in CSQLHelper::query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#3 0x0069d2c8 in CSQLHelper::safe_query[abi:cxx11](char const*, ...) ()
#4 0x00639162 in CEventSystem::ProcessDevice(int, unsigned long long, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, int, char const*) ()
#5 0x006a9c9e in CSQLHelper::UpdateValueInt(int, int, char const*, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, char const*) ()
#6 0x006adc22 in CSQLHelper::UpdateValue(int, int, char const*, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool, char const*) ()
#7 0x0067808c in MainWorker::UpdateDevice(int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, bool) ()
#8 0x006787c0 in MainWorker::UpdateDevice(int, int, 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&, int, int, bool) ()
#9 0x006ab752 in CSQLHelper::Do_Work() ()
#10 0x00b40a8a in execute_native_thread_routine ()
#11 0x76a24494 in start_thread (arg=0x759a6200) at pthread_create.c:486
#12 0x768d7e98 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x76ef5040 (LWP 15019)):
#0 __GI___nanosleep (remaining=0x7ef968c0, requested_time=0x7ef968c0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1 __GI___nanosleep (requested_time=0x7ef968c0, remaining=0x7ef968c0) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2 0x006455e4 in sleep_seconds(long) ()
#3 0x005ea528 in main ()

Main thread:
#0 __GI___nanosleep (remaining=0x7ef968c0, requested_time=0x7ef968c0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1 __GI___nanosleep (requested_time=0x7ef968c0, remaining=0x7ef968c0) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2 0x006455e4 in sleep_seconds(long) ()
#3 0x005ea528 in main ()
[Inferior 1 (process 15019) detached]
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Permanent crashing!

Post by waltervl »

Did you look at the troubleshooting wiki? https://www.domoticz.com/wiki/Troubleshooting

It is the watchdog thread so something basic wrong with your environment. Could be hardware related, powersupply, SD card.
Also check your Domoticz log what is happening
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
willemd
Posts: 649
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: Permanent crashing!

Post by willemd »

I see memory access errors and therefore would move to a new SD card if I were you.
paul402
Posts: 96
Joined: Monday 23 May 2016 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Permanent crashing!

Post by paul402 »

OK. Thanks for the replies. I have something to work on.
Kedi
Posts: 575
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Permanent crashing!

Post by Kedi »

memory access errors lines are almost always present in the crash log at any crash of Domoticz.
What is a short while? seconds, minutes, hours, days?
Logic will get you from A to B. Imagination will take you everywhere.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest