Package: chrony
Version: 1.21z-5
Severity: grave

Hi,

sometimes when I start chrony it goes into an endless loop. It uses
100% cpu but according to starce it does no system calls. gdb shows
the following:

#0  UTI_NormaliseTimeval (x=0x62a060) at util.c:91
#1  0x0000000000401e4e in UTI_AdjustTimeval (old_tv=0x62a060, 
    when=<value optimized out>, new_tv=0x62a060, dfreq=-0, 
    doffset=0.0011572581504409466) at util.c:305
#2  0x0000000000407348 in slew_sources (raw=<value optimized out>, 
    cooked=0x7fff58f89830, dfreq=0, afreq=<value optimized out>, 
    doffset=0.0011572581504409466, is_step_change=0, anything=0x0)
    at ntp_sources.c:302
#3  0x0000000000403de1 in LCL_AccumulateOffset (offset=0.0011572581504409466)
    at local.c:446
#4  0x000000000040a3e4 in REF_SetReference (stratum=<value optimized out>, 
    leap=<value optimized out>, ref_id=<value optimized out>, 
    ref_time=0x7fff58f89930, offset=<value optimized out>, 
    frequency=0.035666054729876183, skew=2.8672211700493531, 
    root_delay=<value optimized out>, root_dispersion=<value optimized out>)
    at reference.c:408
#5  0x0000000000407dd0 in SRC_SelectSource (match_addr=2168783257)
    at sources.c:693
#6  0x000000000040637f in receive_packet (message=0x7fff58f89ba0, 
    now=<value optimized out>, inst=0x627190, do_auth=0) at ntp_core.c:1048
#7  0x000000000040706e in NSR_ProcessReceive (message=0x7fff58f89ba0, 
    now=0x7fff58f89db0, remote_addr=0x7fff58f89da0) at ntp_sources.c:258
#8  0x0000000000404da3 in read_from_socket (anything=<value optimized out>)
    at ntp_io.c:215
#9  0x00000000004026fb in SCH_MainLoop () at sched.c:470
#10 0x000000000040461a in main (argc=<value optimized out>, 
    argv=<value optimized out>) at main.c:304

And syslog shows this:

Apr  4 21:35:58 frosties chronyd[6108]: chronyd version 1.21 starting
Apr  4 21:35:58 frosties chronyd[6108]: Initial txc.tick=10002 
txc.freq=-3250288 (-49.59545898) txc.offset=0 => hz=100 shift_hz=7
Apr  4 21:35:58 frosties chronyd[6108]: set_config_hz=0 hz=100 shift_hz=7 
basic_freq_scale=1.28000000 nominal_tick=10000 slew_delta_tick=833 
max_tick_bias=1000
Apr  4 21:35:58 frosties chronyd[6108]: Linux kernel major=2 minor=6 patch=22
Apr  4 21:35:58 frosties chronyd[6108]: calculated_freq_scale=0.99902439 
freq_scale=0.99902439
Apr  4 21:35:58 frosties chronyd[6108]: Could not open /dev/rtc, No such file 
or directory
Apr  4 21:35:58 frosties chronyd[6108]: Real time clock not supported on this 
operating system
Apr  4 21:35:59 frosties chronyd[6108]: System's initial offset : 0.000126 
seconds fast of true (slew)
Apr  4 21:35:59 frosties chronyd[6108]: Selected source 129.69.1.153

Removing /var/lib/chrony does does not help. As soon as chrony picks a
source it loops.

MfG
        Goswin

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.2-mrvn
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages chrony depends on:
ii  libc6                     2.7-6          GNU C Library: Shared libraries
ii  libncurses5               5.6+20080308-1 Shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  ucf                       3.005          Update Configuration File: preserv

chrony recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to