From nobody@FreeBSD.org  Tue Oct 21 02:22:54 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 01BE0106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 21 Oct 2008 02:22:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id CBFA08FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 21 Oct 2008 02:22:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m9L2MrtU078707
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 21 Oct 2008 02:22:53 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id m9L2MrN0078706;
	Tue, 21 Oct 2008 02:22:53 GMT
	(envelope-from nobody)
Message-Id: <200810210222.m9L2MrN0078706@www.freebsd.org>
Date: Tue, 21 Oct 2008 02:22:53 GMT
From: Jack Low <xxjack12xx@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: "`" crashes csh
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         128259
>Category:       amd64
>Synopsis:       csh(1): "`" crashes csh
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 21 02:30:00 UTC 2008
>Closed-Date:    Thu Sep 02 15:06:35 UTC 2010
>Last-Modified:  Thu Sep 02 15:06:35 UTC 2010
>Originator:     Jack Low
>Release:        FreeBSD 7.1-PRERELEASE
>Organization:
>Environment:
FreeBSD jackcomp.campusbug.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Oct 14 04:14:09 PDT 2008     root@jackcomp.campusbug.com:/usr/obj/usr/src/sys/JACK  amd64

>Description:
If you type "`" in the csh shell, the shell crashes
>How-To-Repeat:
Type "`" and hit enter.
>Fix:


>Release-Note:
>Audit-Trail:

From: Nate Eldredge <neldredge@math.ucsd.edu>
To: Jack Low <xxjack12xx@gmail.com>
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

From: Peter Jeremy <peterjeremy@optushome.com.au>
To: Nate Eldredge <neldredge@math.ucsd.edu>
Cc: Jack Low <xxjack12xx@gmail.com>, freebsd-gnats-submit@freebsd.org,
        freebsd-amd64@freebsd.org
Subject: Re: amd64/128259: "`" crashes csh
Date: Tue, 21 Oct 2008 19:42:35 +1100

 --LG0Ll82vYr46+VA1
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2008-Oct-20 21:16:09 -0700, Nate Eldredge <neldredge@math.ucsd.edu> wrot=
 e:
 >I doubt that this bug is amd64 specific but don't have another machine to=
 =20
 >make sure at the moment.  Probably it should be reclassified as "bin".=20
 >It's also present in 7.0-RELEASE, by the way.
 
 It's also present in 7.1-PRERELEASE/i386 but not in 6.3/i386
 
 --=20
 Peter Jeremy
 Please excuse any delays as the result of my ISP's inability to implement
 an MTA that is either RFC2821-compliant or matches their claimed behaviour.
 
 --LG0Ll82vYr46+VA1
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (FreeBSD)
 
 iEYEARECAAYFAkj9lfsACgkQ/opHv/APuIcuuwCggh3O9M/Hom8um4xydXZjWOPz
 TBsAoIVlKsCqUhUHKmLfrK3tfPPty/DN
 =Ctf/
 -----END PGP SIGNATURE-----
 
 --LG0Ll82vYr46+VA1--

From: Nate Eldredge <neldredge@math.ucsd.edu>
To: bug-followup@FreeBSD.org, xxjack12xx@gmail.com
Cc:  
Subject: Re: amd64/128259: csh(1): "`" crashes csh
Date: Wed, 3 Dec 2008 16:42:09 -0800 (PST)

 This is incorporated into bin/129405.
 
 -- 
 
 Nate Eldredge
 neldredge@math.ucsd.edu
State-Changed-From-To: open->closed 
State-Changed-By: jh 
State-Changed-When: Thu Sep 2 15:06:34 UTC 2010 
State-Changed-Why:  
Duplicate of bin/129405. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128259 
>Unformatted:
