From owner-freebsd-ports@FreeBSD.ORG Wed Apr 6 19:02:05 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D262916A4CE for ; Wed, 6 Apr 2005 19:02:05 +0000 (GMT) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 4B54D43D53 for ; Wed, 6 Apr 2005 19:02:05 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from unknown (HELO 172.16.0.1) (mikej@69.193.222.195 with login) by smtp104.rog.mail.re2.yahoo.com with SMTP; 6 Apr 2005 19:02:03 -0000 Received: from 172.16.0.199 (SquirrelMail authenticated user mikej) by wettoast.dyndns.org with HTTP; Wed, 6 Apr 2005 15:01:56 -0400 (EDT) Message-ID: <1724.172.16.0.199.1112814116.squirrel@wettoast.dyndns.org> Date: Wed, 6 Apr 2005 15:01:56 -0400 (EDT) From: "Mike Jakubik" To: freebsd-current@freebsd.org, freebsd-ports@freebsd.org User-Agent: SquirrelMail/1.5.1 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Reproducible sig 11 with bash2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2005 19:02:05 -0000 Hello, I ran in to this odd problem by making a typo. By following the below steps, bash2 will exit with signal 11 and dump core. The user will get booted out of the system if it is their primary shell. 1) Type in "blah`" and press enter 4 times. --- # blah` > > > > --- 2) Hit Ctrl-D. --- > -bash: unexpected EOF while looking for matching ``' -bash: syntax error: unexpected end of file --- 3) Hit the arrow up key, to repeat the last command. --- # blah` --- 4) Hit the backspace key 4 times, to return to the value "blah`" --- # blah` --- 5) Hit enter. Bash will now exit with sig 11. Dmesg will show the following pid 83287 (bash), uid 0: exited on signal 11 (core dumped) This only happens on -CURRENT, 5.4 is ok. I am running FreeBSD 6.0-CURRENT #0: Wed Mar 30 20:17:38 EST 2005. Thanks.