I sorry for delay to respond.

I do what you want to do:

janv. 10 06:44:50 centreon-01 sudo[15910]:   pvibet : TTY=pts/0 ;
PWD=/home/pvibet ; USER=root ; TSID=0000JX ; COMMAND=/usr/bin/systemctl
restart centengine.service
janv. 10 06:44:50 centreon-01 sudo[15910]: pam_unix(sudo:session): session
opened for user root by pvibet(uid=0)
janv. 10 06:44:50 centreon-01 systemd[1]: Started Centreon Engine.
janv. 10 06:44:50 centreon-01 sudo[15910]: pam_unix(sudo:session): session
closed for user root
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Reading main configuration file '/etc/centreon-engine/centengine.cfg'.
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/hostTemplates.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/hosts.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/serviceTemplates.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/services.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/commands.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/contactgroups.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/contacts.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/hostgroups.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/servicegroups.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/timeperiods.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/escalations.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/dependencies.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/connectors.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/meta_commands.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/meta_timeperiod.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/meta_host.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Processing object config file '/etc/centreon-engine/meta_services.cfg'
janv. 10 06:44:50 centreon-01 centengine[15914]: [1578635090] [15914]
Reading resource file '/etc/centreon-engine/resource.cfg'
janv. 10 06:44:50 centreon-01 centreon-engine[15914]: [1578635090] [15914]
Centreon Engine 18.10.0 starting ... (PID=15914)
janv. 10 06:44:50 centreon-01 centreon-engine[15914]: [1578635090] [15914]
Local time is Fri Jan 10 06:44:50 2020
                                                            LOG VERSION: 2.0
janv. 10 06:44:50 centreon-01 centreon-engine[15914]: [1578635090] [15914]
Event broker module '/usr/lib/centreon-broker/cbmod.so' initialized
successfully
janv. 10 06:44:50 centreon-01 centreon-engine[15914]: [1578635090] [15914]
Event broker module '/usr/lib/centreon-engine/externalcmd.so' initialized
successfully
janv. 10 06:44:50 centreon-01 centreon-engine[15914]: [1578635090] [15914]
INITIAL HOST STATE: srv.local.lan;UP;HARD;1;OK - 192.168.1.45: rta 0,592ms,
lost 0%

(...)

janv. 10 07:44:50 centreon-01 kernel: centengine[15914]: segfault at 0 ip
00005580663a0868 sp 00007ffdec3e5bb0 error 4 in
centengine[55806627d000+134000]
janv. 10 07:44:50 centreon-01 kernel: Code: 89 c2 4c 89 ee 4c 89 e7 e8 35
d0 ed ff ba 01 00 00 00 48 8d 35 03 94 01 00 4c 89 e7 e8 21 d0 ed ff 48 8b
5b 18 48 85 db 74 58 <48> 83 3b 00 74 f1 ba 01 00 00 00 48 8d 35 07 9a 01
00 48 89 ef e8
janv. 10 07:44:50 centreon-01 systemd[1]: Started Process Core Dump (PID
18427/UID 0).
janv. 10 07:44:50 centreon-01 systemd[1]: centengine.service: Main process
exited, code=dumped, status=11/SEGV
janv. 10 07:44:50 centreon-01 systemd[1]: centengine.service: Failed with
result 'core-dump'.
janv. 10 07:44:51 centreon-01 systemd-coredump[18428]: Process 15914
(centengine) of user 108 dumped core.

                                                             Stack trace of
thread 15914:
                                                             #0
 0x00005580663a0868
_ZN3com8centreon6engine9retention4dump15customvariablesERSoRK28customvariablesmember_struct
(centengine)
                                                             #1
 0x00005580663a329b
_ZN3com8centreon6engine9retention4dump7serviceERSoRK14service_struct
(centengine)
                                                             #2
 0x00005580663a3653 _ZN3com8centreon6engine9retention4dump8servicesERSo
(centengine)
                                                             #3
 0x000055806636a26b _exec_event_retention_save (centengine)
                                                             #4
 0x0000558066369b5d handle_timed_event (centengine)
                                                             #5
 0x0000558066364ecb _ZN3com8centreon6engine6events4loop12_dispatchingEv
(centengine)
                                                             #6
 0x00005580663659e9 _ZN3com8centreon6engine6events4loop3runEv (centengine)
                                                             #7
 0x000055806628d774 main (centengine)
                                                             #8
 0x00007fbc22e4d09b __libc_start_main (libc.so.6)
                                                             #9
 0x000055806628e2aa _start (centengine)

                                                             Stack trace of
thread 15915:
                                                             #0
 0x00007fbc22f17819 __poll (libc.so.6)
                                                             #1
 0x00007fbc23326778 _ZN3com8centreon15process_manager4_runEv
(libcentreon_clib.so)
                                                             #2
 0x00007fbc2332cfff _ZN3com8centreon11concurrency6thread8_executeEPv
(libcentreon_clib.so)
                                                             #3
 0x00007fbc23350fa3 start_thread (libpthread.so.0)
                                                             #4
 0x00007fbc22f224cf __clone (libc.so.6)

                                                             Stack trace of
thread 15917:
                                                             #0
 0x00007fbc22eef720 __nanosleep (libc.so.6)
                                                             #1
 0x00007fbc22f1a874 usleep (libc.so.6)
                                                             #2
 0x00007fbc2259a2d5 _ZN3com8centreon6broker10processing8failover3runEv
(cbmod.so)
                                                             #3
 0x00007fbc21da3726 n/a (libQtCore.so.4)
                                                             #4
 0x00007fbc23350fa3 start_thread (libpthread.so.0)
                                                             #5
 0x00007fbc22f224cf __clone (libc.so.6)

                                                             Stack trace of
thread 15916:
                                                             #0
 0x00007fbc22f17819 __poll (libc.so.6)
                                                             #1
 0x00007fbc1f9b24cb poll (externalcmd.so)
                                                             #2
 0x00007fbc23350fa3 start_thread (libpthread.so.0)
                                                             #3
 0x00007fbc22f224cf __clone (libc.so.6)
janv. 10 07:44:51 centreon-01 systemd[1]: systemd-coredump@1-18427-0.service:
Succeeded.

Regards

Le ven. 10 janv. 2020 à 01:40, Bernhard Übelacker <bernha...@mailbox.org> a
écrit :

>
> Am 09.01.20 um 22:18 schrieb Pascal Vibet - ADACIS:
> > @Bernhard : I install 'systemd-coredump' and 'centreon-engine-dbgsym'
> > packages. I restart centengine. What information do you need? When
> > centengine process crashes ? Or i run a program in same time ? What do
> > you want me to do?
>
> Great. Just wait for the next crash and then look at the end of
> the command "journalctl --no-pager".
> There should be a line with the known 'segfault at'.
> This line and the following at nearly the same time would be
> interesting, if you could forward them to this bug?
>
> Kind regards,
> Bernhard
>

Reply via email to