[ntp:questions] refclock use causes core dump of ntpd

Ronan Flood usenet at umbral.org.uk
Thu Feb 22 18:05:59 UTC 2007

"wa6zvp" <wa6zvp at gmail.com> wrote:

> > matching cases in the switch.  What was the value of up->type when
> > it got to line 788?  And up->state?
> * My recollection is that up->type actually had t_unknown in it,
> making it even more puzzling.  Don't remember state.

Hmm, I'm wondering if the fact that there's no "break" after the
call to msyslog at line 784 could be significant?  Surely not.

> If I start ntpd with gdb, it just says 'normal completion', meanwhile
> the forked process crashes.  Is there a way to get gdb to follow into
> the forked process?  If not, I have to get it running without the data
> and attach to the running process. This will have to wait till tonight.

The -n option to ntpd will keep it in the foreground, not sure how
you pass that to it from gdb, um

 gdb ntpd
 run -n


Ronan Flood <usenet at umbral.org.uk>

More information about the questions mailing list