Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2005 12:32:54 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Mike Jakubik <mikej@rogers.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Reproducible sig 11 with bash2
Message-ID:  <20050406193254.GA26965@xor.obsecurity.org>
In-Reply-To: <1805.172.16.0.199.1112815734.squirrel@wettoast.dyndns.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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050406193254.GA26965>