From owner-freebsd-amd64@FreeBSD.ORG Tue Oct 21 04:40:03 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5249106569D for ; Tue, 21 Oct 2008 04:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D48158FC13 for ; Tue, 21 Oct 2008 04:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9L4e3ZA074249 for ; Tue, 21 Oct 2008 04:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9L4e3Y1074248; Tue, 21 Oct 2008 04:40:03 GMT (envelope-from gnats) Date: Tue, 21 Oct 2008 04:40:03 GMT Message-Id: <200810210440.m9L4e3Y1074248@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Nate Eldredge Cc: Subject: Re: amd64/128259: "`" crashes csh X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nate Eldredge List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 04:40:04 -0000 The following reply was made to PR amd64/128259; it has been noted by GNATS. From: Nate Eldredge To: Jack Low Cc: freebsd-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: amd64/128259: "`" crashes csh Date: Mon, 20 Oct 2008 21:16:09 -0700 (PDT) On Tue, 21 Oct 2008, Jack Low wrote: >> Description: > If you type "`" in the csh shell, the shell crashes >> How-To-Repeat: > Type "`" and hit enter. >> Fix: Thanks for the report, Jack. I suspect this is related to bin/125185, which involved csh improperly messing with global state in a vfork'ed subshell. Note that for both the present bug and 125185, the crash does not occur if csh is run with -F to use fork() instead of vfork(). nate@vulcan:/usr/home/nate$ csh %"`" Unmatched `. Segmentation fault: 11 (core dumped) nate@vulcan:/usr/home/nate$ csh -F %"`" Unmatched `. % I'll repeat my recommendation from 125185 that -F be made the default, so that vfork() is not used. I doubt that this bug is amd64 specific but don't have another machine to make sure at the moment. Probably it should be reclassified as "bin". It's also present in 7.0-RELEASE, by the way. -- Nate Eldredge neldredge@math.ucsd.edu