[ntp:questions] ntpd wedged again

A C agcarver+ntp at acarver.net
Tue Feb 7 17:37:31 UTC 2012

It appears that ntpd is wedged again in libc.  I'm not sure (but it's 
likely) if this is the source of the random behavior lately with ntpd 
spinning offsets out of control but I've ruled out the GPS by 
noselecting the PPS signal, turning off kernel PPS and monitored the PPS 
signal externally.  There were no missing pulses or drastic phase shifts 
but ntpd spun out of control oscillating throug multisecond offsets 
across all sources.

Right now ntpd is using 80% CPU but not responding to anything.  This 
copy is compiled with the C99 flag (from a previous thread with the 
broken dtoa issue).

Looks like I'll have to take this over to NetBSD's list for now.

#0  0x103d38c8 in __pow5mult_D2A () from /usr/lib/libc.so.12
#1  0x103d3ac4 in __muldi3 () from /usr/lib/libc.so.12
#2  0x103d34dc in __mult_D2A () from /usr/lib/libc.so.12
#3  0x103d3728 in __pow5mult_D2A () from /usr/lib/libc.so.12
#4  0x103c61d4 in __dtoa () from /usr/lib/libc.so.12
#5  0x103c315c in __vfprintf_unlocked () from /usr/lib/libc.so.12
#6  0x103330c4 in snprintf () from /usr/lib/libc.so.12
#7  0x000256f4 in ctl_putdblf (tag=0x87d79 "", fmt=0x88458 "%.3f", 
     at ntp_control.c:1431
#8  0x00025ed0 in ctl_putpeer (id=14, p=0xb1bc0) at ntp_control.c:2459
#9  0x0002adbc in read_variables (rbufp=0x10522000, restrict_mask=0) at 
#10 0x00028798 in process_control (rbufp=0x10522000, restrict_mask=0) at 
#11 0x00038150 in receive (rbufp=0x10522000) at ntp_proto.c:417
#12 0x0002323c in ntpdmain (argc=0, argv=0xefffe8a8) at ntpd.c:1069
#13 0x000138bc in ___start ()
#14 0x000137f4 in _start ()

More information about the questions mailing list