From owner-freebsd-arm@freebsd.org Sun Jul 2 04:31:57 2017 Return-Path: Delivered-To: freebsd-arm@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 A5785D9CF3D for ; Sun, 2 Jul 2017 04:31:57 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-15.reflexion.net [208.70.210.15]) (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 470177F8CC for ; Sun, 2 Jul 2017 04:31:56 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 29868 invoked from network); 2 Jul 2017 04:33:25 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 2 Jul 2017 04:33:25 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Sun, 02 Jul 2017 00:31:54 -0400 (EDT) Received: (qmail 23751 invoked from network); 2 Jul 2017 04:31:54 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 2 Jul 2017 04:31:54 -0000 Received: from [192.168.1.114] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id B899DEC894C; Sat, 1 Jul 2017 21:31:53 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Signal 11 on RPI2 running 12.0-CURRENT #6 r320526 From: Mark Millard In-Reply-To: <20170702015517.GA14839@www.zefox.net> Date: Sat, 1 Jul 2017 21:31:53 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20170702015517.GA14839@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2017 04:31:57 -0000 On 2017-Jul-1, at 6:55 PM, bob prohaska wrote: > After a source upgrade to 12.0-CURRENT #6 r320526 my RPI2 reported > > pid 514 (ntpdate), uid 0: exited on signal 11 (core dumped) > pid 554 (testparm), uid 0: exited on signal 11 (core dumped) > pid 555 (testparm), uid 0: exited on signal 11 (core dumped) > pid 556 (testparm), uid 0: exited on signal 11 (core dumped) > pid 557 (testparm), uid 0: exited on signal 11 (core dumped) > pid 630 (sshd), uid 0: exited on signal 11 > pid 1751 (svnlite), uid 0: exited on signal 11 (core dumped) > > The serial console still works and allows logins, but otherwise > it seems I'm locked out. > > Is there a way to unshoot my foot? I'm building and testing but it may be that the following powerpc64 example is the same basic issue (ntpd and sshd signal 11's being examples): https://lists.freebsd.org/pipermail/freebsd-current/2017-July/066469.html https://lists.freebsd.org/pipermail/freebsd-current/2017-July/066470.html https://lists.freebsd.org/pipermail/freebsd-current/2017-July/066471.html The last of those has a fix suggested by Konstantin Belousov. It is associated with his -r320509 changes for: > In the stdio cleanup push and pop wrappers, always call libc stubs for > __pthread_cleanup_push/pop_imp instead of symbols also exported from > libthr. > > This prevents calls into libthr if libthr is not yet initialized. The > situation occurs e.g. when an LD_PRELOADed object is not linked > against libthr, but the main binary is. But it turns out that -r320509 was incomplete. === Mark Millard markmi at dsl-only.net