Re: Reproducible sig 11 with bash2

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Wed, 6 Apr 2005 12:32:54 -0700
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.
> 
> #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 ()
> 
> 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

Received on Wed Apr 06 2005 - 17:32:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:31 UTC