https://bugzilla.novell.com/show_bug.cgi?id=481883
Summary: bash segfaults on tab-completion
Classification: openSUSE
Product: openSUSE 11.2
Version: Factory
Platform: Other
OS/Version: Other
Status: NEW
Severity: Blocker
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: seife@novell.com
QAContact: qa@suse.de
CC: werner@novell.com
Found By: Development
After today's update to FACTORY:
cd /et[TAB] => segfault.
seife@stoetzler:~> gdb bash
GNU gdb (GDB; SUSE:Factory:Head) 6.8.50.20090216-cvs
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
http://bugs.opensuse.org/...
(gdb) run
Starting program: /bin/bash
seife@stoetzler:~> cd /et
Program received signal SIGSEGV, Segmentation fault.
restore_parser_state (ps=0x7fffffffc910) at ./parse.y:5560
5560 ./parse.y: No such file or directory.
in ./parse.y
(gdb) bt
#0 restore_parser_state (ps=0x7fffffffc910) at ./parse.y:5560
#1 0x000000000046b31d in gen_shell_function_matches (cw=<value optimized out>,
nw=<value optimized out>, lwords=<value optimized out>,
ind=<value optimized out>, line=<value optimized out>, text=<value
optimized out>, cs=<value optimized out>) at pcomplete.c:1043
#2 gen_compspec_completions (cs=0x783060, cmd=<value optimized out>,
word=0x6e1e10 "/et", start=0, end=6) at pcomplete.c:1286
#3 0x000000000046baef in programmable_completions (cmd=0x6e1eb0 "cd",
word=0x6e1e10 "/et", start=0, end=6, foundp=0x7fffffffca04) at pcomplete.c:1444
#4 0x0000000000463ff5 in attempt_shell_completion (text=0x6e1e10 "/et",
start=3, end=6) at bashline.c:1334
#5 0x00007ffff7bb9448 in gen_completion_matches (text=0x6e1e10 "/et",
start=-143257536, end=49,
our_func=0x418140