From owner-freebsd-bugs Sun Aug 6 14:49:22 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by hub.freebsd.org (Postfix) with ESMTP id 05DE837B917; Sun, 6 Aug 2000 14:49:14 -0700 (PDT) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from [128.130.111.2] (deneb [128.130.111.2]) by vexpert.dbai.tuwien.ac.at (8.9.3/8.9.3) with ESMTP id XAA27582; Sun, 6 Aug 2000 23:48:55 +0200 (MET DST) Date: Sun, 6 Aug 2000 23:48:55 +0200 (CEST) From: Gerald Pfeifer To: Tor.Egge@fast.no Cc: sheldonh@freebsd.org, freebsd-bugs@freebsd.org, cracauer@freebsd.org Subject: Re: bin/19983: sh dumps core reproducibly In-Reply-To: <200007200034.CAA37265@midten.fast.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 20 Jul 2000 Tor.Egge@fast.no wrote: > The patch changes the semantics of popstackmark() somewhat. It can > only be called once after a call to setstackmark(), thus cmdloop() in > main.c needs an extra call to setstackmark(). Tor, sorry for not responding earlier, but I had to set up a new system to be able to fully evaluate your patch; here are the results: /bin/sh in FreeBSD 4.1-RELEASE and even 4.1-STABLE exhibits the bug; 4.1-STABLE with your patch does not crash any longer. Thanks! Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message