[ntp:questions] ntpd crashing early in startup (memory corruption?)

Garrett Wollman wollman at bimajority.org
Thu May 9 06:08:41 UTC 2013

Has anyone else experienced a problem with ntpd crashing very early in
startup?  It looks like a memory corruption issue, or at least the
stack is usually corrupt by the time the core file gets written.

Frustratingly, I cannot reproduce the problem when the "-n" flag is
given to ntpd.  Setting MALLOC_OPTIONS to "ADJ" also seems to have a
beneficial effect, although not for long, but enabling ElectricFence
does not make any difference nor does it report any errors.

The platform here is FreeBSD/amd64 9.1 with both net/ntp (4.2.6p5) and
net/ntp-devel (4.2.7p364) ports.

Garrett A. Wollman    | What intellectual phenomenon can be older, or more oft
wollman at bimajority.org| repeated, than the story of a large research program
Opinions not shared by| that impaled itself upon a false central assumption
my employers.         | accepted by all practitioners? - S.J. Gould, 1993

More information about the questions mailing list