I still get this error on Ubuntu 10.04 LTS (latest updates), under 'cold
start' conditions.

For example: (new host), install ntp (sudo apt-get install ntp)

~$  ntpq -c rl     (on a different host)
associd=0 status=c011 leap_alarm, sync_unspec, 1 event, freq_not_set,
version="ntpd 4.2.6p2@1.2194 Fri Sep  2 18:37:15 UTC 2011 (1)",
processor="i686", system="Linux/3.0.0-12-generic-pae", leap=11,
stratum=16, precision=-20, rootdelay=0.000, rootdisp=0.420, refid=INIT,
reftime=00000000.00000000  Thu, Feb  7 2036 19:28:16.000,
clock=d26c2106.4ae705a8  Tue, Nov 15 2011 12:21:42.292, peer=0, tc=3,
mintc=3, offset=0.000, frequency=0.000, sys_jitter=0.000,
clk_jitter=0.001, clk_wander=0.000


sometime after install, BUT before it is properly synced, I may get:

~$ ntpq -c rl
assID=0 status=c644 sync_alarm, sync_ntp, 4 events, event_peer/strat_chg,
version="ntpd 4.2.4p8@1.1612-o Tue Apr 19 07:08:29 UTC 2011 (1)",
processor="i686", system="Linux/2.6.32-34-generic", leap=11, stratum=16,
Segmentation fault


later still, when properly synced, it returns valid data:

~$ ntpq -c rl
assID=0 status=0664 leap_none, sync_ntp, 6 events, event_peer/strat_chg,
version="ntpd 4.2.4p8@1.1612-o Tue Apr 19 07:08:29 UTC 2011 (1)",
processor="i686", system="Linux/2.6.32-34-generic", leap=00, stratum=3,
precision=-20, rootdelay=303.768, rootdispersion=75.598, peer=65450,
refid=91.189.94.4,
reftime=d26c181d.ef314855  Tue, Nov 15 2011 11:43:41.934, poll=6,
clock=d26c187f.d8e7310b  Tue, Nov 15 2011 11:45:19.847, state=4,
offset=21.891, frequency=86.577, jitter=24.303, noise=46.878,
stability=25.729, tai=0


This must relate to string-space, a negative value (unexpected), or similar for 
nonsense data.

Does not ALWAYS occur, and HARD to reproduce ..

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/254375

Title:
  SIGSEGV in ntpq

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/254375/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to