Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2002 19:40:03 -0800 (PST)
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV
Message-ID:  <200203240340.g2O3e3458611@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/36232; it has been noted by GNATS.

From: Eugene Grosbein <eugen@grosbein.pp.ru>
To: David Malone <dwmalone@maths.tcd.ie>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203240340.g2O3e3458611>