From owner-freebsd-ports@FreeBSD.ORG Wed Apr 6 19:32:55 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 62C5516A4CE; Wed, 6 Apr 2005 19:32:55 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0947E43D3F; Wed, 6 Apr 2005 19:32:55 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 40BDF53369; Wed, 6 Apr 2005 12:32:54 -0700 (PDT) Date: Wed, 6 Apr 2005 12:32:54 -0700 From: Kris Kennaway To: Mike Jakubik Message-ID: <20050406193254.GA26965@xor.obsecurity.org> References: <1724.172.16.0.199.1112814116.squirrel@wettoast.dyndns.org> <20050406191652.GA26737@xor.obsecurity.org> <1805.172.16.0.199.1112815734.squirrel@wettoast.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <1805.172.16.0.199.1112815734.squirrel@wettoast.dyndns.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org cc: freebsd-ports@freebsd.org cc: Kris Kennaway Subject: Re: 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:32:55 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 06, 2005 at 03:28:54PM -0400, Mike Jakubik wrote: > On Wed, April 6, 2005 3:16 pm, Kris Kennaway said: > > On Wed, Apr 06, 2005 at 03:01:56PM -0400, Mike Jakubik wrote: > > > >> 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. > > > > Try to at least obtain a backtrace. >=20 > #0 0x280f57bb in rl_do_undo () from /lib/libreadline.so.5 > (gdb) bt 50 > #0 0x280f57bb in rl_do_undo () from /lib/libreadline.so.5 > #1 0x280f5aa5 in rl_revert_line () from /lib/libreadline.so.5 > #2 0x2810be93 in readline_internal_teardown () from /lib/libreadline.so.5 > #3 0x2810cb13 in readline () from /lib/libreadline.so.5 > #4 0x0805882a in yy_input_name () > #5 0x080dc4d0 in ?? () > #6 0x0807fd00 in termination_unwind_protect () > #7 0x0805a49a in yyerror () > #8 0x0805b46f in yyerror () > #9 0x0805dcb5 in yyparse () > #10 0x080582ef in parse_command () > #11 0x080583a2 in read_command () > #12 0x0805850c in reader_loop () > #13 0x0805795b in main () >=20 > Im a newbie to gdb, so if any other steps are required, please let me know > what they are, and i will gladly perform. You need to recompile with -ggdb to get line numbers. Please see the developers' handbook. You may also want to raise it with the bash developers, since it may be a bash bug and not a freebsd bug. Kris --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCVDllWry0BWjoQKURAgULAJ9I/SwsjPJ/4Z4V/GljDF/SqyXCswCg2PUI UgWkhs/evUgU98T1cEzPrMQ= =VJ2E -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--