Page 1 sur 1

[2023.2] Plantage au démarrage

Publié : 25 juil. 2023, 14:36
par MichelFrance
Bonjour,

hier j'ai upgradé mon serveur Domoticz de la version 2023.1 vers la version 2023.2 (serveur Linux sous Ubuntu 22.04.2 LTS). Depuis, Domoticz ne redémarre plus... J'ai tout rebooté, mais rien...

Si quelqu'un peut m'aider, voici le crash log:

Code : Tout sélectionner

michel@minipc:~/domoticz$ cat domoticz_crash.log
[New LWP 410319]
[New LWP 410320]
[New LWP 410321]
[New LWP 410322]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f6f864ad49f in __GI___wait4 (pid=410323, stat_loc=0x7ffe1ddd1a64, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
30      ../sysdeps/unix/sysv/linux/wait4.c: Aucun fichier ou dossier de ce type.
  Id   Target Id                                            Frame 
* 1    Thread 0x7f6f8558c9c0 (LWP 410315) "domoticz"        0x00007f6f864ad49f in __GI___wait4 (pid=410323, stat_loc=0x7ffe1ddd1a64, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
  2    Thread 0x7f6f84f80640 (LWP 410319) "SQLHelper"       syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  3    Thread 0x7f6f8477f640 (LWP 410320) "PluginMgr"       syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  4    Thread 0x7f6f83407640 (LWP 410321) "InfluxPush"      syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  5    Thread 0x7f6f82c06640 (LWP 410322) "Webem_ssncleane" 0x00007f6f864e8fde in epoll_wait (epfd=16, events=0x7f6f82c05410, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30

Thread 5 (Thread 0x7f6f82c06640 (LWP 410322) "Webem_ssncleane"):
#0  0x00007f6f864e8fde in epoll_wait (epfd=16, events=0x7f6f82c05410, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00005584a2f90d45 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00005584a2f9300e in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x00005584a3359342 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  0x00005584a3573ea0 in execute_native_thread_routine ()
#5  0x00007f6f86457b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f6f864e9a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f6f83407640 (LWP 410321) "InfluxPush"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00005584a35440c7 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#2  0x00005584a2f4080e in CInfluxPush::Do_Work() ()
#3  0x00005584a3573ea0 in execute_native_thread_routine ()
#4  0x00007f6f86457b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5  0x00007f6f864e9a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f6f8477f640 (LWP 410320) "PluginMgr"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00005584a35440c7 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#2  0x00005584a32d131e in Plugins::CPluginSystem::Do_Work() ()
#3  0x00005584a3573ea0 in execute_native_thread_routine ()
#4  0x00007f6f86457b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5  0x00007f6f864e9a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f6f84f80640 (LWP 410319) "SQLHelper"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00005584a35440c7 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#2  0x00005584a2e44c3c in CSQLHelper::Do_Work() ()
#3  0x00005584a3573ea0 in execute_native_thread_routine ()
#4  0x00007f6f86457b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5  0x00007f6f864e9a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f6f8558c9c0 (LWP 410315) "domoticz"):
#0  0x00007f6f864ad49f in __GI___wait4 (pid=410323, stat_loc=0x7ffe1ddd1a64, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x00005584a2e238a9 in dumpstack_gdb(bool) ()
#2  0x00005584a2e23e01 in signal_handler(int, siginfo_t*, void*) ()
#3  <signal handler called>
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140116955285952) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140116955285952) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=140116955285952, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007f6f86405476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f6f863eb7f3 in __GI_abort () at ./stdlib/abort.c:79
#9  0x00005584a2d2f465 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] ()
#10 0x00005584a34fa3f6 in __cxxabiv1::__terminate(void (*)()) ()
#11 0x00005584a34fa461 in std::terminate() ()
#12 0x00005584a34fa5b5 in __cxa_throw ()
#13 0x00005584a2d30f37 in std::__throw_invalid_argument(char const*) ()
#14 0x00005584a2de14a8 in MainWorker::LoadSharedUsers() ()
#15 0x00005584a2eb062c in http::server::CWebServer::LoadUsers() ()
#16 0x00005584a2ef20b4 in http::server::CWebServer::StartServer(http::server::server_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()
#17 0x00005584a2f27a0a in http::server::CWebServerHelper::StartServers(http::server::server_settings&, http::server::ssl_server_settings&, iamserver::iam_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()
#18 0x00005584a2df2b04 in MainWorker::Start() ()
#19 0x00005584a2d32595 in main ()

Main thread:
#0  0x00007f6f864ad49f in __GI___wait4 (pid=410323, stat_loc=0x7ffe1ddd1a64, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x00005584a2e238a9 in dumpstack_gdb(bool) ()
#2  0x00005584a2e23e01 in signal_handler(int, siginfo_t*, void*) ()
#3  <signal handler called>
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140116955285952) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140116955285952) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=140116955285952, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007f6f86405476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f6f863eb7f3 in __GI_abort () at ./stdlib/abort.c:79
#9  0x00005584a2d2f465 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] ()
#10 0x00005584a34fa3f6 in __cxxabiv1::__terminate(void (*)()) ()
#11 0x00005584a34fa461 in std::terminate() ()
#12 0x00005584a34fa5b5 in __cxa_throw ()
#13 0x00005584a2d30f37 in std::__throw_invalid_argument(char const*) ()
#14 0x00005584a2de14a8 in MainWorker::LoadSharedUsers() ()
#15 0x00005584a2eb062c in http::server::CWebServer::LoadUsers() ()
#16 0x00005584a2ef20b4 in http::server::CWebServer::StartServer(http::server::server_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()
#17 0x00005584a2f27a0a in http::server::CWebServerHelper::StartServers(http::server::server_settings&, http::server::ssl_server_settings&, iamserver::iam_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()
#18 0x00005584a2df2b04 in MainWorker::Start() ()
#19 0x00005584a2d32595 in main ()
[Inferior 1 (process 410315) detached]

Re: [2023.2] Plantage au démarrage

Publié : 25 juil. 2023, 18:51
par Keros
Tu as des logs de DomoticZ ou pas du tout ? Tu peux les mettre dans un fichier de log.

Tu as fait une update vers la stable ou la béta ?

Tu as essayé de relancer la mise à jour en ligne de commande ?

Re: [2023.2] Plantage au démarrage

Publié : 25 juil. 2023, 20:10
par MichelFrance
Bonsoir,
Merci de te soucier de mon cas !..

J'ai fait un upgrade par la ligne de commande : ./updaterelease depuis le dossier de Domoticz.

Pour répondre à ta demande, j'ai lancé Domoticz avec le log :

Code : Tout sélectionner

./domoticz -www 8080 -sslwww 443 -log "/var/log/domoticz.log" -loglevel all -debuglevel normal,auth,hardware,received,webserver,eventsystem,python,thread_id
et voici le contenu du fichier /var/log/domoticz.log :

Code : Tout sélectionner

2023-07-25 19:58:39.495  [7f27456d19c0] Status: Domoticz V2023.2 (c)2012-2023 GizMoCuz
2023-07-25 19:58:39.495  [7f27456d19c0] Status: Build Hash: 19efd039c, Date: 2023-07-21 17:23:44
2023-07-25 19:58:39.495  [7f27456d19c0] Status: Startup Path: /home/michel/domoticz/
2023-07-25 19:58:39.499  [7f27456d19c0] Sunrise: 06:16:00 SunSet: 21:40:00
2023-07-25 19:58:39.500  [7f27456d19c0] Day length: 15:24:00 Sun at south: 13:58:00
2023-07-25 19:58:39.500  [7f27456d19c0] Civil twilight start: 05:38:00 Civil twilight end: 22:18:00
2023-07-25 19:58:39.500  [7f27456d19c0] Nautical twilight start: 04:47:00 Nautical twilight end: 23:09:00
2023-07-25 19:58:39.500  [7f27456d19c0] Astronomical twilight start: 03:39:00 Astronomical twilight end: 00:17:00
2023-07-25 19:58:39.529  [7f27456d19c0] Status: PluginSystem: Started, Python version '3.10.6', 1 plugin definitions loaded.
2023-07-25 19:58:39.530  [7f27456d19c0] Debug: : MQTT PublishSchema 0 (0), Retain 0
2023-07-25 19:58:39.532  [7f27456d19c0] Active notification Subsystems: pushsafer (1/13)
2023-07-25 19:58:39.532  [7f27456d19c0] Debug: CWebServer::StartServer() : settings : 'server_settings[is_secure_=false, www_root='/home/michel/domoticz/www', listening_address='::', listening_port='8080', vhostname='', php_cgi_path='']'
2023-07-25 19:58:39.532  [7f27456d19c0] Debug: CWebServer::StartServer() : IAM settings : 'iam_settings[is_enabled_=true, auth_url='/oauth2/v1/authorize', token_url='/oauth2/v1/token', discovery_url='/.well-known/openid-configuration', code_expire_seconds='60', token_expire_seconds='3600', refresh_expire_seconds='86400']'
2023-07-25 19:58:39.532  [7f27456d19c0] Status: WebServer(HTTP) started on address: :: with port 8080
terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoull
2023-07-25 19:58:39.533  [7f27456d19c0] Error: Domoticz(pid:165379, tid:165379('domoticz')) received fatal signal 6 (Aborted)
2023-07-25 19:58:39.533  [7f27456d19c0] Error: siginfo address=0x28603, address=0x7f274659ea7c
2023-07-25 19:58:40.030  [7f27456d19c0] Error: Did not find stack frame for thread (LWP 165379)), printing full gdb output:
                                                                                                                                                               
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > [New LWP 165381]
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > [New LWP 165382]
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > [New LWP 165383]
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > [New LWP 165384]
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > [Thread debugging using libthread_db enabled]
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > 0x00007f27465f249f in __GI___wait4 (pid=165385, stat_loc=0x7ffd98934864, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30                                                                                                                                      
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > 30     ../sysdeps/unix/sysv/linux/wait4.c: Aucun fichier ou dossier de ce type.
2023-07-25 19:58:40.030  [7f27456d19c0] Error: >   Id   Target Id                                            Frame 
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > * 1    Thread 0x7f27456d19c0 (LWP 165379) "domoticz"        0x00007f27465f249f in __GI___wait4 (pid=165385, stat_loc=0x7ffd98934864, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30                                                                          
2023-07-25 19:58:40.030  [7f27456d19c0] Error: >   2    Thread 0x7f27450c5640 (LWP 165381) "SQLHelper"       syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38                                                                                                                                                     
2023-07-25 19:58:40.030  [7f27456d19c0] Error: >   3    Thread 0x7f27448c4640 (LWP 165382) "PluginMgr"       syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38                                                                                                                                                     
2023-07-25 19:58:40.030  [7f27456d19c0] Error: >   4    Thread 0x7f274354c640 (LWP 165383) "InfluxPush"      syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38                                                                                                                                                     
2023-07-25 19:58:40.030  [7f27456d19c0] Error: >   5    Thread 0x7f2742d4b640 (LWP 165384) "Webem_ssncleane" 0x00007f274662dfde in epoll_wait (epfd=17, events=0x7f2742d4a410, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30                                                                       
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > 
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > Thread 5 (Thread 0x7f2742d4b640 (LWP 165384) "Webem_ssncleane"):
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #0  0x00007f274662dfde in epoll_wait (epfd=17, events=0x7f2742d4a410, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30                                                                                                                               
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #1  0x000055c235b33d45 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()                                                                                                                         
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #2  0x000055c235b3600e in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #3  0x000055c235efc342 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() ()                                                                                                                                                              
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #4  0x000055c236116ea0 in execute_native_thread_routine ()
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #5  0x00007f274659cb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #6  0x00007f274662ea00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > 
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > Thread 4 (Thread 0x7f274354c640 (LWP 165383) "InfluxPush"):
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #1  0x000055c2360e70c7 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()                                          
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #2  0x000055c235ae380e in CInfluxPush::Do_Work() ()
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #3  0x000055c236116ea0 in execute_native_thread_routine ()
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #4  0x00007f274659cb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #5  0x00007f274662ea00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > 
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > Thread 3 (Thread 0x7f27448c4640 (LWP 165382) "PluginMgr"):
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #1  0x000055c2360e70c7 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()                                          
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #2  0x000055c235e7431e in Plugins::CPluginSystem::Do_Work() ()
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #3  0x000055c236116ea0 in execute_native_thread_routine ()
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #4  0x00007f274659cb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #5  0x00007f274662ea00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > 
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > Thread 2 (Thread 0x7f27450c5640 (LWP 165381) "SQLHelper"):
2023-07-25 19:58:40.030  [7f27456d19c0] Error: > #0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #1  0x000055c2360e70c7 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()                                          
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #2  0x000055c2359e7c3c in CSQLHelper::Do_Work() ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #3  0x000055c236116ea0 in execute_native_thread_routine ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #4  0x00007f274659cb43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #5  0x00007f274662ea00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > 
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > Thread 1 (Thread 0x7f27456d19c0 (LWP 165379) "domoticz"):
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #0  0x00007f27465f249f in __GI___wait4 (pid=165385, stat_loc=0x7ffd98934864, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30                                                                                                                                  
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #1  0x000055c2359c68a9 in dumpstack_gdb(bool) ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #2  0x000055c2359c6e01 in signal_handler(int, siginfo_t*, void*) ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #3  <signal handler called>
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139806645230016) at ./nptl/pthread_kill.c:44
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #5  __pthread_kill_internal (signo=6, threadid=139806645230016) at ./nptl/pthread_kill.c:78
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #6  __GI___pthread_kill (threadid=139806645230016, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #7  0x00007f274654a476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #8  0x00007f27465307f3 in __GI_abort () at ./stdlib/abort.c:79
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #9  0x000055c2358d2465 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #10 0x000055c23609d3f6 in __cxxabiv1::__terminate(void (*)()) ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #11 0x000055c23609d461 in std::terminate() ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #12 0x000055c23609d5b5 in __cxa_throw ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #13 0x000055c2358d3f37 in std::__throw_invalid_argument(char const*) ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #14 0x000055c2359844a8 in MainWorker::LoadSharedUsers() ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #15 0x000055c235a5362c in http::server::CWebServer::LoadUsers() ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #16 0x000055c235a950b4 in http::server::CWebServer::StartServer(http::server::server_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()                                                                             
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #17 0x000055c235acaa0a in http::server::CWebServerHelper::StartServers(http::server::server_settings&, http::server::ssl_server_settings&, iamserver::iam_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()        
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #18 0x000055c235995b04 in MainWorker::Start() ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #19 0x000055c2358d5595 in main ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > 
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > Main thread:
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #0  0x00007f27465f249f in __GI___wait4 (pid=165385, stat_loc=0x7ffd98934864, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30                                                                                                                                  
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #1  0x000055c2359c68a9 in dumpstack_gdb(bool) ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #2  0x000055c2359c6e01 in signal_handler(int, siginfo_t*, void*) ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #3  <signal handler called>
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139806645230016) at ./nptl/pthread_kill.c:44
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #5  __pthread_kill_internal (signo=6, threadid=139806645230016) at ./nptl/pthread_kill.c:78
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #6  __GI___pthread_kill (threadid=139806645230016, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #7  0x00007f274654a476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #8  0x00007f27465307f3 in __GI_abort () at ./stdlib/abort.c:79
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #9  0x000055c2358d2465 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #10 0x000055c23609d3f6 in __cxxabiv1::__terminate(void (*)()) ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #11 0x000055c23609d461 in std::terminate() ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #12 0x000055c23609d5b5 in __cxa_throw ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #13 0x000055c2358d3f37 in std::__throw_invalid_argument(char const*) ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #14 0x000055c2359844a8 in MainWorker::LoadSharedUsers() ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #15 0x000055c235a5362c in http::server::CWebServer::LoadUsers() ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #16 0x000055c235a950b4 in http::server::CWebServer::StartServer(http::server::server_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()                                                                             
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #17 0x000055c235acaa0a in http::server::CWebServerHelper::StartServers(http::server::server_settings&, http::server::ssl_server_settings&, iamserver::iam_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()        
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #18 0x000055c235995b04 in MainWorker::Start() ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > #19 0x000055c2358d5595 in main ()
2023-07-25 19:58:40.031  [7f27456d19c0] Error: > [Inferior 1 (process 165379) detached]
Abandon

Re: [2023.2] Plantage au démarrage

Publié : 25 juil. 2023, 20:49
par Keros
L'update était allé jusqu'au bout sans erreurs ?

Tu as essayé de relancer l'update ?

Curieux que ça plante comme ça au démarrage. Désolé, je ne sais pas analyser ces logs.

Ton DomoticZ tourne sur quel type de serveur ?

Re: [2023.2] Plantage au démarrage

Publié : 26 juil. 2023, 15:32
par MichelFrance
Je me réponds à moi-même et pour les développeurs si ce bug les intéresse.

Dans le log, j'ai remarqué :

Code : Tout sélectionner

#13 0x00005584a2d30f37 in std::__throw_invalid_argument(char const*) ()
#14 0x00005584a2de14a8 in MainWorker::LoadSharedUsers() ()
#15 0x00005584a2eb062c in http::server::CWebServer::LoadUsers() ()
#16 0x00005584a2ef20b4 in http::server::CWebServer::StartServer(http::server::server_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()
et j'ai émis l'hypothèse qu'il y avait un problème au niveau des Users dans la base de données.

J'ai fait une install fraiche de Domoticz dans un autre dossier, j'ai ouvert les 2 bases de données (la fraiche et l'ancienne qui plante) et j'ai regardé le code source de mainworker.cpp à la définition de void MainWorker::LoadSharedUsers(). J'ai remarqué que le comportement dépend de la valeur de l'attibut RemoteSharing et que dans l'install fraiche cet attibut vaut 0 alors que dans ma base (celle qui fait planter Domoticz) la valeur est 1.
Au culot, j'ai forcé cette valeur à 0 et redémarré Domoticz...

CA MARCHE !...

Je ne comprends pas l'origine de l'anomalie ni si mon bidouillage à complètement résolu le truc, mais pour l'instant ça marche comme ça.

A+

Re: [2023.2] Plantage au démarrage

Publié : 26 juil. 2023, 20:50
par Neutrino
Bravo pour avoir trouvé ça !