From owner-freebsd-current@freebsd.org Fri Oct 30 11:35:01 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBD66A20B5B for ; Fri, 30 Oct 2015 11:35:01 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AFF8F12ED for ; Fri, 30 Oct 2015 11:35:01 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id ACA9BA20B59; Fri, 30 Oct 2015 11:35:01 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92CCBA20B58 for ; Fri, 30 Oct 2015 11:35:01 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5795812EC for ; Fri, 30 Oct 2015 11:35:00 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id t9UBYov8071312; Fri, 30 Oct 2015 04:34:50 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id t9UBYnVt071311; Fri, 30 Oct 2015 04:34:49 -0700 (PDT) (envelope-from david) Date: Fri, 30 Oct 2015 04:34:49 -0700 From: David Wolfskill To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Cc: current@freebsd.org Subject: Re: Segmentation fault running ntpd Message-ID: <20151030113449.GF13438@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , current@freebsd.org References: <20150718120956.GC1155@albert.catwhisker.org> <86pozwbvds.fsf@desk.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oZv4yqUxWy6Z3hn+" Content-Disposition: inline In-Reply-To: <86pozwbvds.fsf@desk.des.no> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 11:35:01 -0000 --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 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+--