[Pkg-nagios-devel] Bug#379788: nagios-plugins-standard: check_radius segfaults on AMD64

root waldner+bug at waldner.priv.at
Tue Jul 25 18:00:35 UTC 2006

Package: nagios-plugins-standard
Severity: normal


I think the strace output says it all:

strace -v -f -F -s 20000 /usr/lib/nagios/plugins/check_radius -P 1812 \
 -u user -p pass -F /etc/radiusclient/radiusclient.conf -H <host>
open("/etc/radiusclient/dictionary", O_RDONLY) = 3
fstat(3, {st_dev=makedev(104, 3), st_ino=258325, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=14, st_size=6502, st_atime=2006/07/25-19:56:25, st_mtime=2006/05/19-14:54:25, st_ctime=2006/06/21-15:56:54}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4203b2c000
read(3, "#\n# Updated 97/06/13 to livingston-radius-2.01
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2af0fcbc1000, 4096)            = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Note that this works perfectly fine on ia32.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages nagios-plugins-standard depends on:
ii  bind9-host [host]       1:9.3.2-2        Version of 'host' bundled with BIN
ii  dnsutils                1:9.3.2-2        Clients provided with BIND
ii  fping                   2.4b2-to-ipv6-14 sends ICMP ECHO_REQUEST packets to
ii  libc6                   2.3.6-15         GNU C Library: Shared libraries
ii  libldap2                2.1.30-13+b1     OpenLDAP libraries
ii  libmysqlclient15off     5.0.22-3         mysql database client library
ii  libnet-snmp-perl        5.2.0-1          Script SNMP connections
ii  libpq4                  8.1.4-4          PostgreSQL C client library
ii  libssl0.9.8             0.9.8b-2         SSL shared libraries
ii  qstat                   2.10-1           Command-line tool for querying qua
ii  radiusclient1           0.3.2-9          /bin/login replacement which uses 
ii  smbclient               3.0.22-1         a LanManager-like simple client fo
ii  snmp                    5.2.2-4          NET SNMP (Simple Network Managemen
ii  zlib1g                  1:1.2.3-13       compression library - runtime

nagios-plugins-standard recommends no packages.

-- no debconf information

More information about the Pkg-nagios-devel mailing list