Using both 4.2 and 4.3, I can reproduce a segfault on completion (though
not using gdb)
This can happen very consistently using a time-consuming completion like
the one for `man`, eg:
$ man g<tab><tab>^C
Attached is the trace from a core-file using `man gpg-agent g<tab><tab>^C`
with bash 4.3.
Side note: as more and more completions take time to finish (think ssh,
dpkg, ...), having ^G to interrupt the completion process and not having
to use ^C which discard the whole line could be useful.
Core was generated by `comp/dev/bash/bash'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004a0b12 in rl_completion_matches (text=0x1d858d8 "g",
entry_function=0x468b60 <prog_complete_return>) at complete.c:2142
2142 match_list[++matches] = string;
#0 0x00000000004a0b12 in rl_completion_matches (text=0x1d858d8 "g",
entry_function=0x468b60 <prog_complete_return>) at complete.c:2142
i = <optimized out>
match_list_size = 0
match_list = 0x0
matches = 1
string = 0x1e452e8 "gnokii"
#1 0x000000000046eca0 in attempt_shell_completion (text=0x1d858d8 "g",
start=14, end=15) at bashline.c:1514
s = 0
e = 15
s1 = 0
e1 = 3
os = 14
foundcs = 1
n = <optimized out>
in_command_position = 0
ti = <optimized out>
saveti = <optimized out>
qc = -1
dflags = <optimized out>
matches = <optimized out>
command_separator_chars = 0x4be18b ";|&{(`"
#2 0x00000000004a0c18 in gen_completion_matches (text=0x1d858d8 "g",
start=<optimized out>, end=<optimized out>, our_func=0x49f5c0
<rl_filename_completion_function>,
found_quote=<optimized out>, quote_char=<optimized out>) at complete.c:1162
matches = <optimized out>
#3 0x00000000004a16cb in rl_complete_internal (what_to_do=63) at
complete.c:1955
matches = <optimized out>
our_func = 0x49f5c0 <rl_filename_completion_function>
start = 14
end = <optimized out>
delimiter = 0
found_quote = 0
i = <optimized out>
nontrivial_lcd = <optimized out>
text = 0x1d858d8 "g"
saved_line_buffer = 0x1b026a8 "man gpg-agent g"
quote_char = 0 '\000'
tlen = <optimized out>
mlen = <optimized out>
#4 0x0000000000498871 in _rl_dispatch_subseq (key=9, map=0x6f3920
<emacs_standard_keymap>, got_subseq=0) at readline.c:820
r = 0
newkey = <optimized out>
func = 0x4a1b60 <rl_complete>
cxt = <optimized out>
#5 0x000000000049901f in readline_internal_char () at readline.c:592
lastc = 9
eof_found = 0
c = <optimized out>
code = <optimized out>
lk = 0
#6 0x000000000049951d in readline_internal_charloop () at readline.c:619
eof = <optimized out>
#7 readline_internal () at readline.c:633
eof = 1
#8 readline (prompt=<optimized out>) at readline.c:364
value = 0x0
#9 0x00000000004250ac in yy_readline_get () at ./parse.y:1442
old_sigint = 0x45fce0 <sigint_sighandler>
line_len = <optimized out>
c = <optimized out>
#10 0x0000000000426eee in yy_getc () at ./parse.y:1376
No locals.
#11 shell_getc (remove_quoted_newline=1) at ./parse.y:2244
i = 0
c = <optimized out>
truncating = 0
uc = <optimized out>
#12 0x0000000000429c86 in read_token (command=0) at ./parse.y:2947
character = <optimized out>
peek_char = <optimized out>
result = <optimized out>
#13 0x000000000042c6db in yylex () at ./parse.y:2556
No locals.
#14 yyparse () at y.tab.c:2031
yystate = <optimized out>
yyerrstatus = <optimized out>
yyssa = {0, 66, 95, 0, 10696, 432, 0, 0, 0, 0, 304, 0, 17672, 477, 0,
0, -7233, 76, 0, 0, 17672, 477, 0, 0, -7233, 76, 291, 0, 17608, 477, 0, 0,
-28501, 75, 0,
0, 0, 0, 0, 0, 19272, 477, 0, 0, 0, 0, 0, 0, -28501, 75, 0, 0,
-21360, -4014, 32767, 0, 1, 0, 0, 0, -5230, 69, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
9, 0, 0, 0,
-17804, 75, 0, 0, 2437, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 24617, 71,
0, 0, -17277, 75, 603, 0, -17400, 268, 0, 0, 17544, 477, 0, 0, -11662, 75, 0,
0, 0, 0,
2554, 0, 9992, 432, 0, 0, 17544, 477, 0, 0, -17400, 268, 0, 0, 17384,
477, 0, 0, -11662, 75, 0, 0, -15480, 267, 2511, 0, 17544, 477, 0, 0, 1, 0, 0,
0, 17544,
477, 0, 0, 0, 0, 0, 0, 28488, 287, 0, 0, -28501, 75, 0, 0, 0, 0, 0,
0, 1, 0, 0, 0, -3524, 66, 0, 0, 0, 0, 0, 0, 17384, 477, 0, 0, 12296, 335, 0, 0,
5616, 0,
0, 0, 0, 0, 0, 0, -9792, 111, 0, 0}
yyss = 0x7ffff052abf0
yyssp = 0x7ffff052abf0
yyvsa = {{word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x482bb0 <return_builtin>},
pattern = 0x0},
{word = 0x10cda28, number = 17619496, word_list = 0x10cda28, command
= 0x10cda28, redirect = 0x10cda28, element = {word = 0x10cda28, redirect =
0x482bfd},
pattern = 0x10cda28}, {word = 0xffffffff, number = -1, word_list =
0xffffffff, command = 0xffffffff, redirect = 0xffffffff, element = {word =
0xffffffff,
redirect = 0x435726 <execute_builtin+182>}, pattern =
0xffffffff}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect
= 0x0, element = {
word = 0x0, redirect = 0x11185c8}, pattern = 0x0}, {word = 0x0,
number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0,
redirect = 0xffffffff}, pattern = 0x0}, {word = 0xffffffff,
number = -1, word_list = 0xffffffff, command = 0xffffffff, redirect =
0xffffffff, element = {
word = 0xffffffff, redirect = 0x10d9ce8}, pattern = 0xffffffff},
{word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {
word = 0x0, redirect = 0x439033
<execute_command_internal+10803>}, pattern = 0x0}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x4b8090
<internal_malloc+928>}, pattern = 0x0}, {word = 0x1, number = 1, word_list =
0x1, command = 0x1,
redirect = 0x1, element = {word = 0x1, redirect = 0x1}, pattern =
0x1}, {word = 0xf, number = 15, word_list = 0xf, command = 0xf, redirect = 0xf,
element = {word = 0xf, redirect = 0x110d008}, pattern = 0xf}, {word
= 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element = {
word = 0x0, redirect = 0x7fff00000000}, pattern = 0x0}, {word =
0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element =
{word = 0x0,
redirect = 0x0}, pattern = 0x0}, {word = 0x7ffff052a150, number =
-263020208, word_list = 0x7ffff052a150, command = 0x7ffff052a150,
redirect = 0x7ffff052a150, element = {word = 0x7ffff052a150,
redirect = 0x120b288}, pattern = 0x7ffff052a150}, {word = 0x0, number = 0,
word_list = 0x0,
command = 0x0, redirect = 0x0, element = {word = 0x0, redirect =
0x500000001}, pattern = 0x0}, {word = 0x0, number = 0, word_list = 0x0, command
= 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x7ffff052a148},
pattern = 0x0}, {word = 0x10cc570, number = 17614192, word_list = 0x10cc570,
command = 0x10cc570, redirect = 0x10cc570, element = {word =
0x10cc570, redirect = 0x7ffff052a138}, pattern = 0x10cc570}, {word =
0x7ffff052a080,
number = -263020416, word_list = 0x7ffff052a080, command =
0x7ffff052a080, redirect = 0x7ffff052a080, element = {word = 0x7ffff052a080,
redirect = 0x7ffff052a088}, pattern = 0x7ffff052a080}, {word =
0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element =
{word = 0x0,
redirect = 0x0}, pattern = 0x0}, {word = 0x9a00000000, number =
0, word_list = 0x9a00000000, command = 0x9a00000000, redirect = 0x9a00000000,
element = {
word = 0x9a00000000, redirect = 0x1118908}, pattern =
0x9a00000000}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {
word = 0x0, redirect = 0x7ffff052a150}, pattern = 0x0}, {word =
0x7f58fbebf160 <__gconv_transform_utf8_internal>, number = -68423328,
word_list = 0x7f58fbebf160 <__gconv_transform_utf8_internal>,
command = 0x7f58fbebf160 <__gconv_transform_utf8_internal>,
redirect = 0x7f58fbebf160 <__gconv_transform_utf8_internal>,
element = {word = 0x7f58fbebf160 <__gconv_transform_utf8_internal>, redirect =
0x10cc488},
pattern = 0x7f58fbebf160 <__gconv_transform_utf8_internal>}, {word
= 0x120b288, number = 18920072, word_list = 0x120b288, command = 0x120b288,
redirect = 0x120b288, element = {word = 0x120b288, redirect =
0x120b292}, pattern = 0x120b288}, {word = 0x0, number = 0, word_list = 0x0,
command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x7f58fbf354bb
<mbrtowc+251>}, pattern = 0x0}, {word = 0x0, number = 0, word_list = 0x0,
command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x1}, pattern =
0x0}, {word = 0xa500000000, number = 0, word_list = 0xa500000000, command =
0xa500000000,
redirect = 0xa500000000, element = {word = 0xa500000000, redirect =
0x1119808}, pattern = 0xa500000000}, {word = 0x7ffff052a154, number =
-263020204,
word_list = 0x7ffff052a154, command = 0x7ffff052a154, redirect =
0x7ffff052a154, element = {word = 0x7ffff052a154, redirect = 0x7ffff052a154},
pattern = 0x7ffff052a154}, {word = 0x100000001, number = 1,
word_list = 0x100000001, command = 0x100000001, redirect = 0x100000001, element
= {
word = 0x100000001, redirect = 0x1}, pattern = 0x100000001},
{word = 0x7ffff052a1a0, number = -263020128, word_list = 0x7ffff052a1a0,
command = 0x7ffff052a1a0, redirect = 0x7ffff052a1a0, element =
{word = 0x7ffff052a1a0, redirect = 0x1}, pattern = 0x7ffff052a1a0}, {word =
0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0, redirect = 0x4bcbc8}, pattern = 0x0}, {word = 0x120b289, number =
18920073,
word_list = 0x120b289, command = 0x120b289, redirect = 0x120b289,
element = {word = 0x120b289, redirect = 0x0}, pattern = 0x120b289}, {word =
0x1b,
number = 27, word_list = 0x1b, command = 0x1b, redirect = 0x1b,
element = {word = 0x1b, redirect = 0x476029 <sh_xmalloc+57>}, pattern = 0x1b}, {
word = 0x120b288, number = 18920072, word_list = 0x120b288, command
= 0x120b288, redirect = 0x120b288, element = {word = 0x120b288, redirect =
0x1b02ac8},
pattern = 0x120b288}, {word = 0x0, number = 0, word_list = 0x0,
command = 0x0, redirect = 0x0, element = {word = 0x0, redirect = 0x443915
<readtok+149>},
pattern = 0x0}, {word = 0x0, number = 0, word_list = 0x0, command =
0x0, redirect = 0x0, element = {word = 0x0, redirect = 0x4504db
<quote_escapes+379>},
pattern = 0x0}, {word = 0x120b292, number = 18920082, word_list =
0x120b292, command = 0x120b292, redirect = 0x120b292, element = {word =
0x120b292,
redirect = 0x1b02ac8}, pattern = 0x120b292}, {word =
0x1eb900000000, number = 0, word_list = 0x1eb900000000, command =
0x1eb900000000,
redirect = 0x1eb900000000, element = {word = 0x1eb900000000,
redirect = 0x1b02748}, pattern = 0x1eb900000000}, {word = 0x1151aa8, number =
18160296,
word_list = 0x1151aa8, command = 0x1151aa8, redirect = 0x1151aa8,
element = {word = 0x1151aa8, redirect = 0x7ffff052a38c}, pattern = 0x1151aa8}, {
word = 0x1b02748, number = 28321608, word_list = 0x1b02748, command
= 0x1b02748, redirect = 0x1b02748, element = {word = 0x1b02748, redirect =
0x1b02ac8},
pattern = 0x1b02748}, {word = 0x0, number = 0, word_list = 0x0,
command = 0x0, redirect = 0x0, element = {word = 0x0, redirect = 0x0}, pattern
= 0x0}, {
word = 0x6, number = 6, word_list = 0x6, command = 0x6, redirect =
0x6, element = {word = 0x6, redirect = 0x1b02748}, pattern = 0x6}, {word =
0x17,
number = 23, word_list = 0x17, command = 0x17, redirect = 0x17,
element = {word = 0x17, redirect = 0x1b02728}, pattern = 0x17}, {word =
0x8000000000000000,
number = 0, word_list = 0x8000000000000000, command =
0x8000000000000000, redirect = 0x8000000000000000, element = {word =
0x8000000000000000,
redirect = 0x4446df <exp1+223>}, pattern = 0x8000000000000000},
{word = 0x2, number = 2, word_list = 0x2, command = 0x2, redirect = 0x2,
element = {
word = 0x2, redirect = 0x4b8090 <internal_malloc+928>}, pattern =
0x2}, {word = 0x64, number = 100, word_list = 0x64, command = 0x64, redirect =
0x64,
element = {word = 0x64, redirect = 0x1}, pattern = 0x64}, {word =
0xb, number = 11, word_list = 0xb, command = 0xb, redirect = 0xb, element =
{word = 0xb,
redirect = 0x2}, pattern = 0xb}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0, redirect
= 0x1b02748},
pattern = 0x0}, {word = 0x17, number = 23, word_list = 0x17,
command = 0x17, redirect = 0x17, element = {word = 0x17, redirect = 0x1b02728},
pattern = 0x17}, {word = 0x8000000000000000, number = 0, word_list
= 0x8000000000000000, command = 0x8000000000000000, redirect =
0x8000000000000000,
element = {word = 0x8000000000000000, redirect = 0x44498b
<exppower+11>}, pattern = 0x8000000000000000}, {word = 0xa, number = 10,
word_list = 0xa,
command = 0xa, redirect = 0xa, element = {word = 0xa, redirect =
0x2}, pattern = 0xa}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x444a2d
<exp2+29>}, pattern = 0x0}, {word = 0x0, number = 0, word_list = 0x0, command =
0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x4503f4
<quote_escapes+148>}, pattern = 0x0}, {word = 0x11142c9, number = 17908425,
word_list = 0x11142c9, command = 0x11142c9, redirect = 0x11142c9,
element = {word = 0x11142c9, redirect = 0x4b8090 <internal_malloc+928>},
pattern = 0x11142c9}, {word = 0x1eb900000000, number = 0, word_list
= 0x1eb900000000, command = 0x1eb900000000, redirect = 0x1eb900000000, element
= {
word = 0x1eb900000000, redirect = 0x2}, pattern =
0x1eb900000000}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {
word = 0x0, redirect = 0x1b02748}, pattern = 0x0}, {word = 0x17,
number = 23, word_list = 0x17, command = 0x17, redirect = 0x17, element = {word
= 0x17,
redirect = 0x1b02728}, pattern = 0x17}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0,
redirect = 0x444b59 <exp3+9>}, pattern = 0x0}, {word = 0x2,
number = 2, word_list = 0x2, command = 0x2, redirect = 0x2, element = {word =
0x2,
redirect = 0x0}, pattern = 0x2}, {word = 0x1b02748, number =
28321608, word_list = 0x1b02748, command = 0x1b02748, redirect = 0x1b02748,
element = {
word = 0x1b02748, redirect = 0x444bbb <expshift+11>}, pattern =
0x1b02748}, {word = 0x6c, number = 108, word_list = 0x6c, command = 0x6c,
redirect = 0x6c, element = {word = 0x6c, redirect = 0x2}, pattern =
0x6c}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {word = 0x0, redirect = 0x444c09 <exp4+9>}, pattern =
0x0}, {word = 0x2, number = 2, word_list = 0x2, command = 0x2, redirect = 0x2,
element = {
word = 0x2, redirect = 0x0}, pattern = 0x2}, {word = 0x1b02748,
number = 28321608, word_list = 0x1b02748, command = 0x1b02748, redirect =
0x1b02748,
element = {word = 0x1b02748, redirect = 0x444cd6 <exp5+38>},
pattern = 0x1b02748}, {word = 0x64, number = 100, word_list = 0x64, command =
0x64,
redirect = 0x64, element = {word = 0x64, redirect = 0x1b02748},
pattern = 0x64}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0,
element = {word = 0x0, redirect = 0x444d26 <expband+6>}, pattern =
0x0}, {word = 0x1b02748, number = 28321608, word_list = 0x1b02748, command =
0x1b02748,
redirect = 0x1b02748, element = {word = 0x1b02748, redirect =
0x444d66 <expbxor+6>}, pattern = 0x1b02748}, {word = 0x1b02748, number =
28321608,
word_list = 0x1b02748, command = 0x1b02748, redirect = 0x1b02748,
element = {word = 0x1b02748, redirect = 0x444da6 <expbor+6>}, pattern =
0x1b02748}, {
word = 0x1b02748, number = 28321608, word_list = 0x1b02748, command
= 0x1b02748, redirect = 0x1b02748, element = {word = 0x1b02748,
redirect = 0x444de6 <expland+6>}, pattern = 0x1b02748}, {word =
0x1b02748, number = 28321608, word_list = 0x1b02748, command = 0x1b02748,
redirect = 0x1b02748, element = {word = 0x1b02748, redirect =
0x444e6b <expcond+11>}, pattern = 0x1b02748}, {word = 0x70, number = 112,
word_list = 0x70,
command = 0x70, redirect = 0x70, element = {word = 0x70, redirect =
0x1b02748}, pattern = 0x70}, {word = 0x0, number = 0, word_list = 0x0, command
= 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x444fe7
<expassign+39>}, pattern = 0x0}, {word = 0x1b02749, number = 28321609,
word_list = 0x1b02749,
command = 0x1b02749, redirect = 0x1b02749, element = {word =
0x1b02749, redirect = 0x10c5328}, pattern = 0x1b02749}, {word = 0x1107f08,
number = 17858312,
word_list = 0x1107f08, command = 0x1107f08, redirect = 0x1107f08,
element = {word = 0x1107f08, redirect = 0x4b7a87 <internal_free+359>},
pattern = 0x1107f08}, {word = 0x9, number = 9, word_list = 0x9,
command = 0x9, redirect = 0x9, element = {word = 0x9, redirect = 0x4bc148},
pattern = 0x9},
{word = 0x125000001a4, number = 420, word_list = 0x125000001a4,
command = 0x125000001a4, redirect = 0x125000001a4, element = {word =
0x125000001a4,
redirect = 0x1b02c08}, pattern = 0x125000001a4}, {word = 0x0,
number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0,
redirect = 0x1b02748}, pattern = 0x0}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0,
redirect = 0x1b02748}, pattern = 0x0}, {word = 0x17, number = 23,
word_list = 0x17, command = 0x17, redirect = 0x17, element = {word = 0x17,
redirect = 0x1b02728}, pattern = 0x17}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0,
redirect = 0x44458e <subexpr+766>}, pattern = 0x0}, {word =
0x7ffff052a518, number = -263019240, word_list = 0x7ffff052a518, command =
0x7ffff052a518,
redirect = 0x7ffff052a518, element = {word = 0x7ffff052a518,
redirect = 0x1b02248}, pattern = 0x7ffff052a518}, {word = 0x10c5328, number =
17584936,
word_list = 0x10c5328, command = 0x10c5328, redirect = 0x10c5328,
element = {word = 0x10c5328, redirect = 0x45b95f <hash_search+159>},
pattern = 0x10c5328}, {word = 0x7ffff052a61c, number = -263018980,
word_list = 0x7ffff052a61c, command = 0x7ffff052a61c, redirect =
0x7ffff052a61c,
element = {word = 0x7ffff052a61c, redirect = 0x1}, pattern =
0x7ffff052a61c}, {word = 0x2, number = 2, word_list = 0x2, command = 0x2,
redirect = 0x2,
element = {word = 0x2, redirect = 0x4d2d7e}, pattern = 0x2}, {word
= 0x32, number = 50, word_list = 0x32, command = 0x32, redirect = 0x32, element
= {
word = 0x32, redirect = 0x6f0ae4 <v.12136>}, pattern = 0x32},
{word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {
word = 0x0, redirect = 0x476029 <sh_xmalloc+57>}, pattern = 0x0},
{word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {
word = 0x0, redirect = 0x7ffff052a4f4}, pattern = 0x0}, {word =
0x10c5328, number = 17584936, word_list = 0x10c5328, command = 0x10c5328,
redirect = 0x10c5328, element = {word = 0x10c5328, redirect =
0x1217c88}, pattern = 0x10c5328}, {word = 0x1, number = 1, word_list = 0x1,
command = 0x1,
redirect = 0x1, element = {word = 0x1, redirect = 0x491ce3
<itos+67>}, pattern = 0x1}, {word = 0x10c5328, number = 17584936, word_list =
0x10c5328,
command = 0x10c5328, redirect = 0x10c5328, element = {word =
0x10c5328, redirect = 0x1217c88}, pattern = 0x10c5328}, {word = 0x3100000001,
number = 1,
word_list = 0x3100000001, command = 0x3100000001, redirect =
0x3100000001, element = {word = 0x3100000001, redirect = 0x6f0ae4 <v.12136>},
pattern = 0x3100000001}, {word = 0x11164c8, number = 17917128,
word_list = 0x11164c8, command = 0x11164c8, redirect = 0x11164c8, element = {
word = 0x11164c8, redirect = 0x4422bd
<set_pipestatus_array+461>}, pattern = 0x11164c8}, {word = 0x17, number = 23,
word_list = 0x17, command = 0x17,
redirect = 0x17, element = {word = 0x17, redirect = 0x0}, pattern =
0x17}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {word = 0x0, redirect = 0x1b02248}, pattern = 0x0}, {word
= 0x10c5328, number = 17584936, word_list = 0x10c5328, command = 0x10c5328,
redirect = 0x10c5328, element = {word = 0x10c5328, redirect =
0x1b02748}, pattern = 0x10c5328}, {word = 0x17, number = 23, word_list = 0x17,
command = 0x17, redirect = 0x17, element = {word = 0x17, redirect =
0x0}, pattern = 0x17}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x4369f8
<execute_command_internal+1016>}, pattern = 0x0}, {word = 0x7ffff052a978,
number = -263018120,
word_list = 0x7ffff052a978, command = 0x7ffff052a978, redirect =
0x7ffff052a978, element = {word = 0x7ffff052a978, redirect = 0x0},
pattern = 0x7ffff052a978}, {word = 0x0, number = 0, word_list =
0x0, command = 0x0, redirect = 0x0, element = {word = 0x0, redirect =
0x10d5ec8},
pattern = 0x0}, {word = 0x1dd4ec8, number = 31280840, word_list =
0x1dd4ec8, command = 0x1dd4ec8, redirect = 0x1dd4ec8, element = {word =
0x1dd4ec8,
redirect = 0x0}, pattern = 0x1dd4ec8}, {word = 0x1, number = 1,
word_list = 0x1, command = 0x1, redirect = 0x1, element = {word = 0x1, redirect
= 0x0},
pattern = 0x1}, {word = 0x0, number = 0, word_list = 0x0, command =
0x0, redirect = 0x0, element = {word = 0x0, redirect = 0x0}, pattern = 0x0}, {
word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect =
0x0, element = {word = 0x0, redirect = 0x1}, pattern = 0x0}, {word = 0x0,
number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0, redirect = 0x1b02748}, pattern = 0x0}, {word = 0x0, number = 0, word_list
= 0x0,
command = 0x0, redirect = 0x0, element = {word = 0x0, redirect =
0x0}, pattern = 0x0}, {word = 0x10100000000, number = 0, word_list =
0x10100000000,
command = 0x10100000000, redirect = 0x10100000000, element = {word
= 0x10100000000, redirect = 0x1}, pattern = 0x10100000000}, {word = 0x0, number
= 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0, redirect = 0x4bd6cd}, pattern = 0x0}, {word = 0x101000000c7, number = 199,
word_list = 0x101000000c7, command = 0x101000000c7, redirect =
0x101000000c7, element = {word = 0x101000000c7, redirect = 0x1b028c8},
pattern = 0x101000000c7}, {word = 0xffffffff, number = -1,
word_list = 0xffffffff, command = 0xffffffff, redirect = 0xffffffff, element = {
word = 0xffffffff, redirect = 0x1b028c8}, pattern = 0xffffffff},
{word = 0xfc004be319, number = 4973337, word_list = 0xfc004be319,
command = 0xfc004be319, redirect = 0xfc004be319, element = {word =
0xfc004be319, redirect = 0x1b02948}, pattern = 0xfc004be319}, {word =
0x1dd4b48,
number = 31279944, word_list = 0x1dd4b48, command = 0x1dd4b48,
redirect = 0x1dd4b48, element = {word = 0x1dd4b48, redirect = 0x0}, pattern =
0x1dd4b48}, {
word = 0x1, number = 1, word_list = 0x1, command = 0x1, redirect =
0x1, element = {word = 0x1, redirect = 0x0}, pattern = 0x1}, {word = 0x1dd4b48,
number = 31279944, word_list = 0x1dd4b48, command = 0x1dd4b48,
redirect = 0x1dd4b48, element = {word = 0x1dd4b48, redirect = 0xffffffff},
pattern = 0x1dd4b48}, {word = 0xffffffff, number = -1, word_list =
0xffffffff, command = 0xffffffff, redirect = 0xffffffff, element = {word =
0xffffffff,
redirect = 0x45eb62 <discard_unwind_frame+34>}, pattern =
0xffffffff}, {word = 0x1b02728, number = 28321576, word_list = 0x1b02728,
command = 0x1b02728,
redirect = 0x1b02728, element = {word = 0x1b02728, redirect =
0x43b0b2 <execute_command+98>}, pattern = 0x1b02728}, {word = 0x4be319, number
= 4973337,
word_list = 0x4be319, command = 0x4be319, redirect = 0x4be319,
element = {word = 0x4be319, redirect = 0x1dd4fc8}, pattern = 0x4be319}, {word =
0x0,
number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element
= {word = 0x0, redirect = 0x43bba4 <execute_connection+180>}, pattern = 0x0}, {
word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect =
0x0, element = {word = 0x0, redirect = 0x0}, pattern = 0x0}, {word = 0x10d6988,
number = 17656200, word_list = 0x10d6988, command = 0x10d6988,
redirect = 0x10d6988, element = {word = 0x10d6988, redirect = 0x1dd4e08},
pattern = 0x10d6988}, {word = 0x0, number = 0, word_list = 0x0,
command = 0x0, redirect = 0x0, element = {word = 0x0, redirect = 0xffffffff},
pattern = 0x0}, {word = 0xffffffff, number = -1, word_list =
0xffffffff, command = 0xffffffff, redirect = 0xffffffff, element = {word =
0xffffffff,
redirect = 0x1dd4fc8}, pattern = 0xffffffff}, {word = 0x0, number
= 0, word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0,
redirect = 0xffffffff}, pattern = 0x0}, {word = 0xffffffff,
number = -1, word_list = 0xffffffff, command = 0xffffffff, redirect =
0xffffffff, element = {
word = 0xffffffff, redirect = 0x1dd4b48}, pattern = 0xffffffff},
{word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {
word = 0x0, redirect = 0x4369f8 <execute_command_internal+1016>},
pattern = 0x0}, {word = 0x1, number = 1, word_list = 0x1, command = 0x1,
redirect = 0x1, element = {word = 0x1, redirect = 0x10c454b},
pattern = 0x1}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0,
element = {word = 0x0, redirect = 0x0}, pattern = 0x0}, {word =
0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element =
{word = 0x0,
redirect = 0x0}, pattern = 0x0}, {word = 0x1, number = 1,
word_list = 0x1, command = 0x1, redirect = 0x1, element = {word = 0x1, redirect
= 0x0},
pattern = 0x1}, {word = 0xffffffff, number = -1, word_list =
0xffffffff, command = 0xffffffff, redirect = 0xffffffff, element = {word =
0xffffffff,
redirect = 0x0}, pattern = 0xffffffff}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0, redirect
= 0x0},
pattern = 0x0}, {word = 0x4, number = 4, word_list = 0x4, command =
0x4, redirect = 0x4, element = {word = 0x4, redirect = 0x1}, pattern = 0x4}, {
word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect =
0x0, element = {word = 0x0, redirect = 0x4bd6cd}, pattern = 0x0}, {word =
0x101000000c7,
number = 199, word_list = 0x101000000c7, command = 0x101000000c7,
redirect = 0x101000000c7, element = {word = 0x101000000c7, redirect =
0x1b02948},
pattern = 0x101000000c7}, {word = 0x0, number = 0, word_list = 0x0,
command = 0x0, redirect = 0x0, element = {word = 0x0, redirect = 0x1b02948},
pattern = 0x0}, {word = 0xfc004be319, number = 4973337, word_list =
0xfc004be319, command = 0xfc004be319, redirect = 0xfc004be319, element = {
word = 0xfc004be319, redirect = 0x1b02908}, pattern =
0xfc004be319}, {word = 0x1dd4b48, number = 31279944, word_list = 0x1dd4b48,
command = 0x1dd4b48,
redirect = 0x1dd4b48, element = {word = 0x1dd4b48, redirect = 0x0},
pattern = 0x1dd4b48}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x1}, pattern =
0x0}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {
word = 0x0, redirect = 0xffffffff}, pattern = 0x0}, {word =
0xffffffff, number = -1, word_list = 0xffffffff, command = 0xffffffff, redirect
= 0xffffffff,
element = {word = 0xffffffff, redirect = 0x1dd4d88}, pattern =
0xffffffff}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect
= 0x0,
element = {word = 0x0, redirect = 0x0}, pattern = 0x0}, {word =
0x1dd4b48, number = 31279944, word_list = 0x1dd4b48, command = 0x1dd4b48,
redirect = 0x1dd4b48, element = {word = 0x1dd4b48, redirect =
0xffffffff}, pattern = 0x1dd4b48}, {word = 0xffffffff, number = -1, word_list =
0xffffffff,
command = 0xffffffff, redirect = 0xffffffff, element = {word =
0xffffffff, redirect = 0x43bc83 <execute_connection+403>}, pattern =
0xffffffff}, {
word = 0x1102a88, number = 17836680, word_list = 0x1102a88, command
= 0x1102a88, redirect = 0x1102a88, element = {word = 0x1102a88, redirect =
0x0},
pattern = 0x1102a88}, {word = 0x0, number = 0, word_list = 0x0,
command = 0x0, redirect = 0x0, element = {word = 0x0,
redirect = 0x435423 <execute_cond_node+387>}, pattern = 0x0},
{word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {
word = 0x0, redirect = 0x10d5fc8}, pattern = 0x0}, {word = 0x0,
number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0,
redirect = 0x1dd4d88}, pattern = 0x0}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0,
redirect = 0xffffffff}, pattern = 0x0}, {word = 0xffffffff,
number = -1, word_list = 0xffffffff, command = 0xffffffff, redirect =
0xffffffff, element = {
word = 0xffffffff, redirect = 0x1dd4b48}, pattern = 0xffffffff},
{word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {
word = 0x0, redirect = 0x4369f8 <execute_command_internal+1016>},
pattern = 0x0}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x4b81cf
<internal_malloc+1247>}, pattern = 0x0}, {word = 0x0, number = 0, word_list =
0x0,
command = 0x0, redirect = 0x0, element = {word = 0x0, redirect =
0x110d008}, pattern = 0x0}, {word = 0x0, number = 0, word_list = 0x0, command =
0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x10d8ba8},
pattern = 0x0}, {word = 0x1, number = 1, word_list = 0x1, command = 0x1,
redirect = 0x1,
element = {word = 0x1, redirect = 0x4b81cf <internal_malloc+1247>},
pattern = 0x1}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x0}, pattern =
0x0}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {
word = 0x0, redirect = 0x0}, pattern = 0x0}, {word = 0x484500
<export_builtin>, number = 4736256, word_list = 0x484500 <export_builtin>,
command = 0x484500 <export_builtin>, redirect = 0x484500
<export_builtin>, element = {word = 0x484500 <export_builtin>,
redirect = 0x4b81cf <internal_malloc+1247>}, pattern = 0x484500
<export_builtin>}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x1}, pattern =
0x0}, {word = 0x20, number = 32, word_list = 0x20, command = 0x20, redirect =
0x20,
element = {word = 0x20, redirect = 0x4bd6cd}, pattern = 0x20},
{word = 0x7ffff052aa50, number = -263017904, word_list = 0x7ffff052aa50,
command = 0x7ffff052aa50, redirect = 0x7ffff052aa50, element =
{word = 0x7ffff052aa50, redirect = 0x10c4458}, pattern = 0x7ffff052aa50}, {word
= 0x0,
number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element
= {word = 0x0, redirect = 0x5004bb068}, pattern = 0x0}, {word = 0x0, number =
0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0, redirect = 0x7ffff052aa48}, pattern = 0x0}, {word = 0x10cc570, number =
17614192,
word_list = 0x10cc570, command = 0x10cc570, redirect = 0x10cc570,
element = {word = 0x10cc570, redirect = 0x7ffff052aa38}, pattern = 0x10cc570}, {
word = 0x7ffff052a980, number = -263018112, word_list =
0x7ffff052a980, command = 0x7ffff052a980, redirect = 0x7ffff052a980, element = {
word = 0x7ffff052a980, redirect = 0x7ffff052a988}, pattern =
0x7ffff052a980}, {word = 0x64, number = 100, word_list = 0x64, command = 0x64,
redirect = 0x64, element = {word = 0x64, redirect = 0x0}, pattern =
0x64}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {word = 0x0, redirect = 0x0}, pattern = 0x0}, {word =
0x9a00000000, number = 0, word_list = 0x9a00000000, command = 0x9a00000000,
redirect = 0x9a00000000, element = {word = 0x9a00000000, redirect =
0x7ffff052aa50}, pattern = 0x9a00000000}, {
word = 0x7f58fbebf160 <__gconv_transform_utf8_internal>, number =
-68423328, word_list = 0x7f58fbebf160 <__gconv_transform_utf8_internal>,
command = 0x7f58fbebf160 <__gconv_transform_utf8_internal>,
redirect = 0x7f58fbebf160 <__gconv_transform_utf8_internal>, element = {
word = 0x7f58fbebf160 <__gconv_transform_utf8_internal>, redirect
= 0x10cc488}, pattern = 0x7f58fbebf160 <__gconv_transform_utf8_internal>}, {
word = 0x10c4458, number = 17581144, word_list = 0x10c4458, command
= 0x10c4458, redirect = 0x10c4458, element = {word = 0x10c4458, redirect =
0x10c445b},
pattern = 0x10c4458}, {word = 0x10cda28, number = 17619496,
word_list = 0x10cda28, command = 0x10cda28, redirect = 0x10cda28, element =
{word = 0x10cda28,
redirect = 0x7f58fbf354bb <mbrtowc+251>}, pattern = 0x10cda28},
{word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect = 0x0,
element = {
word = 0x0, redirect = 0x1}, pattern = 0x0}, {word = 0x1b02208,
number = 28320264, word_list = 0x1b02208, command = 0x1b02208, redirect =
0x1b02208,
element = {word = 0x1b02208, redirect = 0x45b95f
<hash_search+159>}, pattern = 0x1b02208}, {word = 0x7ffff052aa54, number =
-263017900,
word_list = 0x7ffff052aa54, command = 0x7ffff052aa54, redirect =
0x7ffff052aa54, element = {word = 0x7ffff052aa54, redirect = 0x7ffff052aa54},
pattern = 0x7ffff052aa54}, {word = 0x100000001, number = 1,
word_list = 0x100000001, command = 0x100000001, redirect = 0x100000001, element
= {
word = 0x100000001, redirect = 0x1}, pattern = 0x100000001},
{word = 0x7f58fc23a4f0 <state>, number = -64772880, word_list = 0x7f58fc23a4f0
<state>,
command = 0x7f58fc23a4f0 <state>, redirect = 0x7f58fc23a4f0
<state>, element = {word = 0x7f58fc23a4f0 <state>, redirect = 0x45b95f
<hash_search+159>},
pattern = 0x7f58fc23a4f0 <state>}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0,
redirect = 0x45b95f <hash_search+159>}, pattern = 0x0}, {word =
0x10c4459, number = 17581145, word_list = 0x10c4459, command = 0x10c4459,
redirect = 0x10c4459, element = {word = 0x10c4459, redirect =
0x10c3048}, pattern = 0x10c4459}, {word = 0x4b8a91, number = 4950673, word_list
= 0x4b8a91,
command = 0x4b8a91, redirect = 0x4b8a91, element = {word =
0x4b8a91, redirect = 0x0}, pattern = 0x4b8a91}, {word = 0x0, number = 0,
word_list = 0x0,
command = 0x0, redirect = 0x0, element = {word = 0x0, redirect =
0x45b95f <hash_search+159>}, pattern = 0x0}, {word = 0x10cda28, number =
17619496,
word_list = 0x10cda28, command = 0x10cda28, redirect = 0x10cda28,
element = {word = 0x10cda28, redirect = 0x1}, pattern = 0x10cda28}, {word =
0x14,
number = 20, word_list = 0x14, command = 0x14, redirect = 0x14,
element = {word = 0x14, redirect = 0x4bba74}, pattern = 0x14}, {word = 0x985,
number = 2437, word_list = 0x985, command = 0x985, redirect =
0x985, element = {word = 0x985, redirect = 0x0}, pattern = 0x985}, {word = 0x0,
number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0, redirect = 0x476029 <sh_xmalloc+57>}, pattern = 0x0}, {word = 0x0, number
= 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0, redirect = 0x10cbc08}, pattern = 0x0}, {word = 0x1dd4b68, number =
31279976,
word_list = 0x1dd4b68, command = 0x1dd4b68, redirect = 0x1dd4b68,
element = {word = 0x1dd4b68, redirect = 0x4bd272}, pattern = 0x1dd4b68}, {
word = 0x9fa00000000, number = 0, word_list = 0x9fa00000000,
command = 0x9fa00000000, redirect = 0x9fa00000000, element = {word =
0x9fa00000000,
redirect = 0x1d857d8}, pattern = 0x9fa00000000}, {word =
0x10101dd4b68, number = 31279976, word_list = 0x10101dd4b68, command =
0x10101dd4b68,
redirect = 0x10101dd4b68, element = {word = 0x10101dd4b68, redirect
= 0x1dd4d08}, pattern = 0x10101dd4b68}, {word = 0x1b02708, number = 28321544,
word_list = 0x1b02708, command = 0x1b02708, redirect = 0x1b02708,
element = {word = 0x1b02708, redirect = 0x1dd4d08}, pattern = 0x1b02708}, {
word = 0xfc004bb825, number = 4962341, word_list = 0xfc004bb825,
command = 0xfc004bb825, redirect = 0xfc004bb825, element = {word =
0xfc004bb825,
redirect = 0x1dd4cc8}, pattern = 0xfc004bb825}, {word =
0xffffffff, number = -1, word_list = 0xffffffff, command = 0xffffffff, redirect
= 0xffffffff,
element = {word = 0xffffffff, redirect = 0x0}, pattern =
0xffffffff}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0, redirect
= 0x0, element = {
word = 0x0, redirect = 0x1dd4ac8}, pattern = 0x0}, {word = 0x0,
number = 0, word_list = 0x0, command = 0x0, redirect = 0x0, element = {word =
0x0,
redirect = 0xffffff01}, pattern = 0x0}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0,
redirect = 0x1dd4b48}, pattern = 0x0}, {word = 0x0, number = 0,
word_list = 0x0, command = 0x0, redirect = 0x0, element = {word = 0x0,
redirect = 0x4369f8 <execute_command_internal+1016>}, pattern =
0x0}, {word = 0xc, number = 12, word_list = 0xc, command = 0xc, redirect = 0xc,
element = {word = 0xc, redirect = 0x4b81cf <internal_malloc+1247>},
pattern = 0xc}, {word = 0xffffffff, number = -1, word_list = 0xffffffff,
command = 0xffffffff, redirect = 0xffffffff, element = {word =
0xffffffff, redirect = 0x10}, pattern = 0xffffffff}, {word = 0x45fce0
<sigint_sighandler>,
number = 4586720, word_list = 0x45fce0 <sigint_sighandler>, command
= 0x45fce0 <sigint_sighandler>, redirect = 0x45fce0 <sigint_sighandler>,
element = {
word = 0x45fce0 <sigint_sighandler>, redirect = 0x110d008},
pattern = 0x45fce0 <sigint_sighandler>}, {word = 0x1, number = 1, word_list =
0x1,
command = 0x1, redirect = 0x1, element = {word = 0x1, redirect =
0x0}, pattern = 0x1}, {word = 0x0, number = 0, word_list = 0x0, command = 0x0,
redirect = 0x0, element = {word = 0x0, redirect = 0x1}, pattern =
0x0}, {word = 0xf, number = 15, word_list = 0xf, command = 0xf, redirect = 0xf,
element = {word = 0xf, redirect = 0x4b90d9}, pattern = 0xf}, {word
= 0x54a, number = 1354, word_list = 0x54a, command = 0x54a, redirect = 0x54a,
element = {
word = 0x54a, redirect = 0x7ffff052ac90}, pattern = 0x54a}, {word
= 0x1, number = 1, word_list = 0x1, command = 0x1, redirect = 0x1, element = {
word = 0x1, redirect = 0x476029 <sh_xmalloc+57>}, pattern = 0x1},
{word = 0x425020 <yy_readline_get>, number = 4345888,
word_list = 0x425020 <yy_readline_get>, command = 0x425020
<yy_readline_get>, redirect = 0x425020 <yy_readline_get>, element = {
word = 0x425020 <yy_readline_get>, redirect = 0x4b7a87
<internal_free+359>}, pattern = 0x425020 <yy_readline_get>}}
yyvs = 0x7ffff0529f70
yyvsp = 0x7ffff0529f70
yystacksize = <optimized out>
yyn = <optimized out>
yyresult = <optimized out>
yytoken = <optimized out>
yyval = {word = 0x10d8cc8, number = 17665224, word_list = 0x10d8cc8,
command = 0x10d8cc8, redirect = 0x10d8cc8, element = {word = 0x10d8cc8,
redirect = 0x482bb0 <return_builtin>}, pattern = 0x10d8cc8}
yylen = 0
#15 0x000000000042461b in parse_command () at eval.c:238
r = <optimized out>
command_to_execute = <optimized out>
#16 0x00000000004246f6 in read_command () at eval.c:282
tmout_var = <optimized out>
tmout_len = 0
result = <optimized out>
old_alrm = 0x0
#17 0x0000000000424931 in reader_loop () at eval.c:145
code = 0
our_indirection_level = 1
current_command = 0x0
#18 0x0000000000423bea in main (argc=1, argv=0x7ffff052b088,
env=0x7ffff052b098) at shell.c:755
i = <optimized out>
code = <optimized out>
old_errexit_flag = 0
saverst = <optimized out>
locally_skip_execution = 0
arg_index = 1
top_level_arg_index = 1