[ntp:questions] ntpd 4.2.4 crash on NetBSD/i386

Pierre Dubuc pldubuc at yahoo.ca
Sun Feb 25 12:21:30 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Replying to message <ywn9wt26k68s.fsf at ntp1.isc.org>

> Date: Sun, 25 Feb 2007 08:10:11 +0000
> From: Harlan Stenn <stenn at ntp.isc.org>
> Newsgroups: comp.protocols.time.ntp
> Subject: Re: ntpd 4.2.4 crash on NetBSD/i386
> 
> Pierre,
>
> Please see http://bugs.ntp.isc.org/387 .  There is a link on that bug to a
> couple of pages at http://ntp.isc.org that may also help.
>
> H
>

That's an interesting idea. Turning on debug messages on the stock 4.2.0 
gives me the following output.

Debug1: 2 -> 2 = 2
ntpd 4.2.0-r Tue Oct 31 03:50:01 UTC 2006 (1)
Debug1: 2 -> 2 = 2
addto_syslog: ntpd 4.2.0-r Tue Oct 31 03:50:01 UTC 2006 (1)
addto_syslog: set_process_priority: Leave priority alone: priority_done is 
<2>
addto_syslog: precision = 1260.000 usec
create_sockets(123)
addto_syslog: no IPv6 interfaces found
bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=8
flags for fd 4: 0106
bind() fd 5, family 2, port 123, addr 192.168.3.41, flags=8
flags for fd 5: 0106
bind() fd 6, family 2, port 123, addr 127.0.0.1, flags=0
flags for fd 6: 0106
create_sockets: ninterfaces=3
interface 0:  fd=4,  bfd=-1,  name=wildcard,  flags=0x8
                sin=0.0.0.0  bcast=0.0.0.0,  mask=255.255.255.255
interface 1:  fd=5,  bfd=-1,  name=we1,  flags=0x9
                sin=192.168.3.41  bcast=192.168.3.255,  mask=255.255.255.0
interface 2:  fd=6,  bfd=-1,  name=lo0,  flags=0x5
                sin=127.0.0.1  mask=255.0.0.0
init_io: maxactivefd 6
local_clock: time 0 offset 0.000000 state 0
Debug2: 2 -> 2 = 2
addto_syslog: frequency initialized 0.000 PPM from /etc/ntp.drift
local_clock: time 0 offset 0.000000 state 1
getnetnum given 192.168.3.14, got 192.168.3.14
key_expire: at 0
peer_clear: at 0 assoc ID 44148 refid INIT
newpeer: 192.168.3.41->192.168.3.14 mode 3 vers 4 poll 6 10 flags 0x201 
0x1 ttl 0 key 00000000
getnetnum given localhost, got ::1
getnetnum given 192.168.3.0, got 192.168.3.0
getnetnum given 255.255.255.0, got 255.255.255.0
report_event: system event 'event_restart' (0x01) status 'sync_alarm, 
sync_unspec, 1 event, event_unspec' (0xc010)
          MCAST   *****sendpkt(fd=5 dst=192.168.3.14, src=192.168.3.41, 
ttl=0, len=48)
transmit: at 1 192.168.3.41->192.168.3.14 mode 3
poll_update: at 1 192.168.3.14 flags 0201 poll 6 burst 8 last 1 next 3
auth_agekeys: at 1 keys 1 expired 0
timer: refresh ts 0
receive: at 1 192.168.3.41<-192.168.3.14 restrict 000
receive: at 1 192.168.3.41<-192.168.3.14 mode 4 code 1
peer 192.168.3.14 event 'event_reach' (0x84) status 'unreach, conf, 1 
event, event_reach' (0xa014)
math_emulate: 0xd9fa not implemented
[1]   Illegal instruction (core dumped) /usr/sbin/ntpd -...


Thie problem your link was about seemed more about interface binding, but 
what I get instead from running -D2 is exactly the same error message that 
I get when running ping. I guess floating point emulation is not completely
implemented in NetBSD/i386. I'll follow-up with those guys.

Thanks.

- -- 
Pierre Dubuc
pldubuc at yahoo.ca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iEYEARECAAYFAkXhf1IACgkQaMA1iJ2qYmJDsACgr9QQ7oijHn8CuNZvaIWsNuxN
7agAn3E01NkNtLCrz5AiA/eaXNa+oXWa
=3Ylh
-----END PGP SIGNATURE-----




More information about the questions mailing list