Xymon Mailing List Archive search

Program crashed Fatal signal caught!

2 messages in this thread

list Gustavo Guerra Veliz · Tue, 5 May 2015 11:22:14 -0300 ·

When I add this line to the hosts.cfg file a Iget a Fatal singnal caught 6

3.0.0.22        socaire.aguasantofagasta.cl # ftp

Tihs is debug log

 gdb bin/xymonnet tmp/core.3845
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>;...
Reading symbols from /home/xymon/server/bin/xymonnet...done.
[New LWP 3845]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `xymonnet --report --ping --checkresponse --debug --no-ares'.
Program terminated with signal 6, Aborted.
#0  0x00007f6c7ddce5d7 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-17.el7.x86_64 glibc-2.17-78.el7.x86_64 nspr-4.10.6-3.el7.x86_64 nss-3.16.2.3-5.el7.x86_64 nss-softokn-freebl-3.16.2.3-9.el7.x86_64 nss-util-3.16.2.3-2.el7.x86_64 openldap-2.4.39-6.el7.x86_64 pcre-8.32-14.el7.x86_64 sssd-client-1.12.2-58.el7_1.6.x86_64 zlib-1.2.7-13.el7.x86_64
(gdb) bt
#0  0x00007f6c7ddce5d7 in raise () from /lib64/libc.so.6
#1  0x00007f6c7ddcfcc8 in abort () from /lib64/libc.so.6
#2  0x00000000004240a3 in sigsegv_handler (signum=<optimized out>) at sig.c:57
#3  <signal handler called>
#4  0x000000000040a2e0 in add_tcp_test (ip=0x1c1fc08 "3.0.0.22", port=port at entry=21, service=<optimized out>, service at entry=0x7fffbf562070 "ftp", sslopt=sslopt at entry=0x0, srcip=srcip at entry=0x0, tspec=tspec at entry=0x0,
    silent=silent at entry=0, reqmsg=reqmsg at entry=0x0, priv=priv at entry=0x0, datacallback=datacallback at entry=0x0, finalcallback=finalcallback at entry=0x0) at contest.c:197
#5  0x0000000000403a19 in main (argc=6, argv=0x7fffbf563188) at xymonnet.c:2329
list Japheth Cleaver · Thu, 7 May 2015 00:13:56 -0700 ·
quoted from Gustavo Guerra Veliz

On Tue, May 5, 2015 7:22 am, Gustavo Guerra Veliz wrote:

When I add this line to the hosts.cfg file a Iget a Fatal singnal caught 6

3.0.0.22        socaire.aguasantofagasta.cl # ftp

Tihs is debug log

 gdb bin/xymonnet tmp/core.3845
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>;...
Reading symbols from /home/xymon/server/bin/xymonnet...done.
[New LWP 3845]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by
`xymonnet --report --ping --checkresponse --debug --no-ares'.
Program terminated with signal 6, Aborted.
#0  0x00007f6c7ddce5d7 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install
cyrus-sasl-lib-2.1.26-17.el7.x86_64 glibc-2.17-78.el7.x86_64
nspr-4.10.6-3.el7.x86_64 nss-3.16.2.3-5.el7.x86_64
nss-softokn-freebl-3.16.2.3-9.el7.x86_64 nss-util-3.16.2.3-2.el7.x86_64
openldap-2.4.39-6.el7.x86_64 pcre-8.32-14.el7.x86_64
sssd-client-1.12.2-58.el7_1.6.x86_64 zlib-1.2.7-13.el7.x86_64
(gdb) bt
#0  0x00007f6c7ddce5d7 in raise () from /lib64/libc.so.6
#1  0x00007f6c7ddcfcc8 in abort () from /lib64/libc.so.6
#2  0x00000000004240a3 in sigsegv_handler (signum=<optimized out>) at
sig.c:57
#3  <signal handler called>
#4  0x000000000040a2e0 in add_tcp_test (ip=0x1c1fc08 "3.0.0.22",
port=port at entry=21, service=<optimized out>, service at entry=0x7fffbf562070
"ftp", sslopt=sslopt at entry=0x0, srcip=srcip at entry=0x0,
tspec=tspec at entry=0x0,
    silent=silent at entry=0, reqmsg=reqmsg at entry=0x0, priv=priv at entry=0x0,
datacallback=datacallback at entry=0x0,
finalcallback=finalcallback at entry=0x0)
at contest.c:197
#5  0x0000000000403a19 in main (argc=6, argv=0x7fffbf563188) at
xymonnet.c:2329
Hi Gustavo,

Hmm... I'm unable to replicate this with a minimal config, although I can
see how a lookup could potentially fail here.

Was this compiled from 4.3.19? And also, is there anything unusual with
the protocols.cfg or /etc/services files on this system?


-jc