Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2015 04:34:49 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>
Cc:        current@freebsd.org
Subject:   Re: Segmentation fault running ntpd
Message-ID:  <20151030113449.GF13438@albert.catwhisker.org>
In-Reply-To: <86pozwbvds.fsf@desk.des.no>
References:  <20150718120956.GC1155@albert.catwhisker.org> <86pozwbvds.fsf@desk.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--oZv4yqUxWy6Z3hn+
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 30, 2015 at 09:42:07AM +0100, Dag-Erling Sm=F8rgrav wrote:
> David Wolfskill <david@catwhisker.org> writes:
> > ...
> > bound to 172.17.1.245 -- renewal in 43200 seconds.
> > pid 544 (ntpd), uid 0: exited on signal 11 (core dumped)
> > Starting Network: lo0 em0 iwn0 lagg0.
> > ...
>=20
> Did you find a solution?  I'm wondering if the ntpd problems people are
> reporting on freebsd-security@ are related.  I vaguely recall hearing
> that this had been traced to a pthread bug, but can't find anything
> about it in commit logs or mailing list archives.
> ....

I don't recall finding "a solution" per se; that said, I also don't
recall seeing an occurrence of the above for enough time that I'm not
sure when I sent that message. :-}

As a reality check:

g1-252(11.0-C)[1] ls -lT /*.core
-rw-r--r--  1 root  wheel  13783040 Aug 18 04:19:03 2015 /ntpd.core
g1-252(11.0-C)[2]=20

So -- among other points -- my last sighting of whatever was causing
that was the day I built:

FreeBSD 11.0-CURRENT #157  r286880M/286880:1100079: Tue Aug 18 04:45:25 PDT=
 2015     root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  amd=
64

Note that the machines where I run head get updated daily (unless
there's enough of a problem with head that I can't build it or can't
boot it (and I'm unable to circumvent the issue within a reasonable
time)) -- and while I do attempt to run ntpd on the machines, the above
failure is more "annoying" than "crippling" in my particular case.

And I'm presently running:

FreeBSD 11.0-CURRENT #227  r290138M/290138:1100084: Thu Oct 29 05:12:58 PDT=
 2015     root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  amd=
64

and building head @r290190 as I type.

And FWIW, I *suspect* that one of the issues involved (in my case)
was a ... lack of determinism ... in events involving getting the
(wireless) network connectivity into a usable state as part of the
initial transition to multi-user mode.  (I only have evidence at
the moment of the issue on my laptop; my build machine, which only
uses a wired NIC, has no /ntpd.core file.  It and my laptop are updated
pretty much in lock-step; it runs a completely GENERIC kernel, while
the laptop runs a modestly customized one based on GENERIC.)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous coward=
s.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--oZv4yqUxWy6Z3hn+
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJWM1XZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk70gQQAIDqscWwlqwRE/aQO2WXIWFz
XwFD4OgHGqE2AW7tOO8tbNHsNBSeJ7Ml7pcuqopNHOZHqLKD2xqLa+wgQEX8rFC2
KHOXW+VjMYT/mZ6BeZRNH/3lzwAO+v4vGP6JNejcI/HKto9Zuu50/tjgqJZ5xvzU
++tktooQ81aaCTZQnksVY2CLp11kXmQRoBhD+ttLcM723I4isQ726waCWWQF7ggg
VCwmai+twAKZ43zmLuGBfdPF5AqwDk29DKY1scFZL3tXmIdp9QBoZoFxxcsCBqyG
v6J50ou8VDjBV/KIsABw7GFtBUSxqIKxpEGFwfpWRnMN9zAEebZQXaPbWPyhXoj/
M8YFqkhfy3t/Uz9ONflcLHBVsYE7RdOXi84ROgGShGs7ON9HISJuhbMWz/7pJTOc
VKh3unZz7KxaWMUDIP4pTuNb5ZrV3YH5N3UPwTicG3G/bqNa4UuW5FxAfIMD5b+Z
p3T6Kt97UQWfxiSV4DhJBoI5TWwgLZ35aRruvn/I/DDpSm31MCHYvdrmMjQZmTeA
iCYLKofxFwRfltK1DXAf48svpd/K63TZizcJ0BCQN3BmySfb1P58Wg83sOqBndXR
K/VpDqj3IrMcNbp9DJbqR+TW+GYPBDBSTDmnBBVcXAFFux/7UgJPwyizO3kyGDP2
0lgTqsdOI8Gk0hXcNIg5
=55Cg
-----END PGP SIGNATURE-----

--oZv4yqUxWy6Z3hn+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151030113449.GF13438>