From owner-freebsd-stable@FreeBSD.ORG Fri Oct 14 12:03:38 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A5E6106564A for ; Fri, 14 Oct 2011 12:03:38 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id E57C88FC13 for ; Fri, 14 Oct 2011 12:03:37 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 461ED358C4E; Fri, 14 Oct 2011 14:03:37 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 2DFE828468; Fri, 14 Oct 2011 14:03:37 +0200 (CEST) Date: Fri, 14 Oct 2011 14:03:37 +0200 From: Jilles Tjoelker To: Adrian Wontroba , "freebsd-stable@freebsd.org" , Mikolaj Golub Message-ID: <20111014120336.GB31718@stack.nl> References: <20110918045413.GA63773@DataIX.net> <20110918053901.GA31617@icarus.home.lan> <86d3eydsmf.fsf@kopusha.home.net> <20111008002707.GA76128@swelter.hanley.stade.co.uk> <20111012222535.GB79291@swelter.hanley.stade.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111012222535.GB79291@swelter.hanley.stade.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: /usr/bin/script eating 100% cpu with portupgrade and xargs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 12:03:38 -0000 On Wed, Oct 12, 2011 at 11:25:35PM +0100, Adrian Wontroba wrote: > On Sat, Oct 08, 2011 at 01:27:07AM +0100, Adrian Wontroba wrote: > > I won't be in a position to create a simpler test case, raise a PR or > > try patches till Tuesday evening (UK) at the earliest. > So far I have been unable to reproduce the problem with portupgrade (and > will probably move to portmaster). > I have however found a different but possibly related problem with the > new version of script in RELENG_8, for which I have raised this PR: > misc/161526: script outputs corrupt if input is not from a terminal > Blast, should of course been bin/ The extra ^D\b\b are the EOF character being echoed. These EOF characters are being generated by the new script(1) to pass through the EOF condition on stdin. One fix would be to change the termios settings temporarily to disable the echoing but this may cause problems if the application is changing termios settings concurrently and generally feels bad. It may be best to remove writing EOF characters, perhaps adding an option to enable it again if there is a concrete use case for it. -- Jilles Tjoelker