From owner-freebsd-bugs Sat Mar 23 19:40:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2F02437B41B for ; Sat, 23 Mar 2002 19:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2O3e3458611; Sat, 23 Mar 2002 19:40:03 -0800 (PST) (envelope-from gnats) Date: Sat, 23 Mar 2002 19:40:03 -0800 (PST) Message-Id: <200203240340.g2O3e3458611@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Eugene Grosbein Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV Reply-To: Eugene Grosbein 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 The following reply was made to PR bin/36232; it has been noted by GNATS. From: Eugene Grosbein To: David Malone Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV Date: Sun, 24 Mar 2002 10:29:24 +0700 On Sun, Mar 24, 2002 at 12:09:39AM +0000, David Malone wrote: > > System: FreeBSD D00015.dialonly.kemerovo.su 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Mar 20 08:57:16 KRAT 2002 eu@D00015.dialonly.kemerovo.su:/usr/local/obj/usr/local/src/sys/DADV i386 > > CPUTYPE=i686 and no other optimizations > > Have you tested this by rebuilding sh without i686 optimisations? I tried just now. This script makes shell segfault in the same place: #!/bin/sh v1=no if test $v1 = yes; then else if test $var; then echo OK fi fi Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message