[Bug 481883] New: bash segfaults on tab-completion
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 <rl_filename_completion_function@plt>, found_quote=48, quote_char=1280197119) at ../complete.c:1023 #6 0x00007ffff7bba96d in rl_complete_internal (what_to_do=9) at ./complete.c:1746 #7 0x00007ffff7bb2106 in _rl_dispatch_subseq (key=9, map=0x6aa9c0, got_subseq=0) at ../readline.c:780 #8 0x00007ffff7bb2958 in readline_internal_char () at ../readline.c:555 #9 0x00007ffff7bb2e75 in readline_internal_charloop () at ../readline.c:582 #10 readline_internal () at ../readline.c:596 #11 readline (prompt=<value optimized out>) at ../readline.c:338 #12 0x000000000041d033 in yy_readline_get () at ./parse.y:1314 #13 0x000000000041e02a in yy_getc () at ./parse.y:1247 #14 shell_getc (remove_quoted_newline=1) at ./parse.y:2094 #15 0x0000000000420fb7 in read_token (command=<value optimized out>) at /parse.y:2727 #16 0x0000000000423fe0 in yylex () at ./parse.y:2360 #17 yyparse () at y.tab.c:1996 #18 0x000000000041b419 in parse_command () at eval.c:228 #19 0x000000000041b5a6 in read_command () at eval.c:272 #20 0x000000000041b69f in reader_loop () at eval.c:137 #21 0x0000000000419cd1 in main (argc=1, argv=0x7fffffffdc98, env=0x7fffffffdca8) at shell.c:741 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=481883 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481883#c1 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |werner@novell.com |ovo.novell.com | --- Comment #1 from Stephan Kulow <coolo@novell.com> 2009-03-04 06:23:47 MST --- sorry, but SUSE:Factory:Head is not FACTORY. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=481883 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481883#c2 --- Comment #2 from Stefan Seyfried <seife@novell.com> 2009-03-04 06:38:08 MST --- Downgrading to FACTORY right now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=481883 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481883#c3 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Dr. Werner Fink <werner@novell.com> 2009-03-04 07:03:30 MST --- already fixed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=481883 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=481883#c4 --- Comment #4 from Stefan Seyfried <seife@novell.com> 2009-03-04 07:05:44 MST --- Ok. And the "real" FACTORY has bash 3.2.48 which also still works -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com