From owner-freebsd-bugs Sun Mar 24 1:16:46 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id E989C37B404 for ; Sun, 24 Mar 2002 01:16:41 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 24 Mar 2002 09:16:41 +0000 (GMT) Date: Sun, 24 Mar 2002 09:16:40 +0000 From: David Malone To: Eugene Grosbein Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV Message-ID: <20020324091640.GA54099@walton.maths.tcd.ie> References: <200203240340.g2O3e3458611@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200203240340.g2O3e3458611@freefall.freebsd.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Mar 23, 2002 at 07:40:03PM -0800, Eugene Grosbein wrote: > I tried just now. This script makes shell segfault in the same place: I just tried the script and wasn't able to get it to segfault. This is on a version of -STABLE from about the end of Feburary, but there have been no changes to sh since. How did you invoke the script? David. > cat /tmp/boom.sh #!/bin/sh v1=no if test $v1 = yes; then else if test $var; then echo OK fi fi > /tmp/boom.sh > sh /tmp/boom.sh > uname -a FreeBSD yipyip.home 4.5-STABLE FreeBSD 4.5-STABLE #22: Sat Mar 9 12:16:42 GMT 2 002 dwmalone@yipyip.home:/usr/src/sys/compile/YIPYIP i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message