Date: Mon, 20 Oct 2008 21:16:09 -0700 (PDT) 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 Message-ID: <Pine.GSO.4.64.0810202105550.16737@zeno.ucsd.edu> In-Reply-To: <200810210222.m9L2MrN0078706@www.freebsd.org> References: <200810210222.m9L2MrN0078706@www.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0810202105550.16737>