bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash 4.0.0 crash on completion


From: André Johansen
Subject: Bash 4.0.0 crash on completion
Date: Mon, 30 Mar 2009 11:00:27 +0200

Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.10
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
-DCONF_OSTYPE='solaris2.10' -DCONF_MACHTYPE='sparc-sun-solaris2.10'
-DCONF_VENDOR='sun' -DLOCALEDIR='/usr/site/bash-4.0/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DSOLARIS   -I.  -I.
-I./include -I./lib -I./lib/intl
-I/apps/bash-4.0/src/bash-4.0/lib/intl  -g -O2
uname output: SunOS oss621 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V245
Machine Type: sparc-sun-solaris2.10

Bash Version: 4.0
Patch Level: 0
Release Status: release

Description:
When using tab-completion, Bash crashes.
I'm using the bash_completion package from
http://www.caliban.org/bash/index.shtml#completion.

=>[1] restore_token_state(ts = 0xee471), line 1631 in "parse.y"
  [2] restore_parser_state(ps = 0xffbfe588), line 5560 in "parse.y"
  [3] gen_compspec_completions(cs = 0x107548, cmd = 0x1cca88 "cd
natcon", word = 0x1cca68 "natcon", start = 0, end = 9), line 1043 in
"pcomplete.c"
  [4] programmable_completions(cmd = 0x1a5aa8 "cd", word = 0x1cca68
"natcon", start = 0, end = 9, foundp = 0xffbfe6a4), line 1444 in
"pcomplete.c"
  [5] attempt_shell_completion(text = 0x1cca68 "natcon", start = 3,
end = 9), line 1334 in "bashline.c"
  [6] gen_completion_matches(text = 0x1cca68 "natcon", start = 3, end
= 9, our_func = 0x9cf28 = &rl_filename_completion_function(register
const char *text, register int state), found_quote = 0, quote_char =
0), line 1023 in "complete.c"
  [7] rl_complete_internal(what_to_do = 9), line 1746 in "complete.c"
  [8] _rl_dispatch_subseq(key = 9, map = 0xeaf40, got_subseq = 0),
line 769 in "readline.c"
  [9] readline_internal_char(), line 548 in "readline.c"
  [10] readline(prompt = 0xed400 ""), line 575 in "readline.c"
  [11] yy_readline_get(), line 1314 in "parse.y"
  [12] yy_getc(), line 1247 in "parse.y"
  [13] shell_getc(remove_quoted_newline = 1), line 2094 in "parse.y"
  [14] read_token(command = 0), line 2727 in "parse.y"
  [15] yyparse(), line 2360 in "parse.y"
  [16] parse_command(), line 228 in "eval.c"
  [17] read_command(), line 272 in "eval.c"
  [18] reader_loop(), line 137 in "eval.c"
  [19] main(argc = 1, argv = 0xffbff7fc, env = 0xffbff804), line 741
in "shell.c"

Repeat-By:
Press tab to get a completion; if Bash enters a programmed completion
(i.e. not a simple file name or variable name expansion), Bash
crashes.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]