On Sa Mai 3 2008, John Hasler wrote: > Please test this patch to ntp_core.c on a pristine upstream 1.23: I'm not quite sure what you mean with 'pristine upstream'. I applied the patch to the 1.23-3 sources from Debian unstable.
> --- ../pristine/chrony-1.23/ntp_core.c 2008-05-02 22:14:21.000000000 -0500 > +++ ntp_core.c 2008-05-02 22:14:56.000000000 -0500 > @@ -320,6 +320,8 @@ > > result->local_rx.tv_sec = 0; > result->local_rx.tv_usec = 0; > + result->local_tx.tv_sec = 0; > + result->local_tx.tv_usec = 0; > > return result; The watchpoint with sources[0]->stats.offset_time.tv_sec>0xffffffff now triggers at main () at main.c:304 SCH_MainLoop () at sched.c:470 read_from_socket () at ntp_io.c:215 NSR_ProcessReceive () at ntp_sources.c:258 receive_packet () at ntp_core.c:1064 SRC_SelectSource () sources.c:695 REF_SetReference () at reference.c:408 LCL_AccumulateOffset () at local.c:446 slew_sources () at sources.c:763 SST_SlewSamples () at sourcestats.c:698 UTI_NormaliseTimeval () at util.c:93 I had to apply this patch --- sources.c.orig Thu May 01 10:38:40 2008 +0200 +++ sources.c Sun May 04 21:27:10 2008 +0200 @@ -136,9 +136,11 @@ max_n_sources = 0; selected_source_index = INVALID_SOURCE; initialised = 1; + static volatile int dbg_is_connected = 0; LCL_AddParameterChangeHandler(slew_sources, NULL); + while (!dbg_is_connected) ; return; } to reproduce the bug. It disappears when I start 'chronyd -d' from within the debugger. Best regards, Peter Pöschl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]