Subject: xntpd: Illegal instruction - core dumped
To: None <port-vax@netbsd.org>
From: Olaf Seibert <rhialto@polder.ubc.kun.nl>
List: port-vax
Date: 03/20/2000 02:39:24
If I try to run xntpd (the network time protocol daemon), it dumps core
due to an illegal instruction. This happens both with the snapshot from
november as the one I built myself. Does it work for anybody?

# /usr/sbin/xntpd -d -d -d
tick = 10000, tickadj = 40, hz = 100
kernel vars: tickadj = 40, tick = 10000
adj_precision = 40, tvu_maxslew = 3960, tsf_maxslew = 0.010385c6
create_sockets(123)
bind() fd 7, family 2, port 123, addr 00000000, flags=1
flags for fd 7: 0106
bind() fd 8, family 2, port 123, addr 0a000007, flags=1
flags for fd 8: 0106
bind() fd 9, family 2, port 123, addr 7f000001, flags=0
flags for fd 9: 0106
create_sockets: ninterfaces=3
interface 0:  fd=7,  bfd=0,  name=wildcard,  flags=0x1
              sin=0.0.0.0  bcast=0.0.0.0,  mask=255.255.255.255
interface 1:  fd=8,  bfd=0,  name=le0,  flags=0x1
              sin=10.0.0.7  bcast=10.0.0.255,  mask=255.255.255.0
interface 2:  fd=9,  bfd=0,  name=lo0,  flags=0x4
              sin=127.0.0.1  mask=255.0.0.0
init_io: maxactivefd 9
resolving ntp.falu.nl
loop_config 1 0.000
Illegal instruction - core dumped

According to gdb, it seems to have jumped to address 0x1, probably
through a bad function pointer.

# cat /etc/ntp.conf
server ntp.falu.nl
driftfile /etc/ntp.drift

On ntp.falu.nl (an Alpha), the xntpd works fine.

-Olaf.
--
___ Olaf 'Rhialto' Seibert - rhialto@polder.ubc.     -- If one tells the truth,
\X/ .kun.nl     -- one is sure, sooner or later, to be found out. (Oscar Wilde)