[Top][All Lists]

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

bash completion crash

From: Justin Pryzby
Subject: bash completion crash
Date: Tue, 20 Feb 2018 14:15:41 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic
uname output: Linux appserver 2.6.32-696.18.7.el6.x86_64 #1 SMP Thu Jan 4 
17:31:22 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu

Bash Version: 4.1
Patch Level: 2
Release Status: release

        SIGABRT during readline completion.

        Unable to reproduce

I couldn't see that this had been reported/fixed
..but did find this:

address@hidden ~]$ rpm -q bash

address@hidden ~]$ cat /etc/*release
CentOS release 6.9 (Final)

Program terminated with signal 6, Aborted.
#0  0x00000033fbe32495 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install 
glibc-2.12-1.209.el6_9.2.x86_64 libgcc-4.4.7-18.el6.x86_64 
(gdb) bt
#0  0x00000033fbe32495 in raise () from /lib64/libc.so.6
#1  0x00000033fbe33bfd in abort () from /lib64/libc.so.6
#2  0x00000033fbe703a7 in __libc_message () from /lib64/libc.so.6
#3  0x00000033fbe75dee in malloc_printerr () from /lib64/libc.so.6
#4  0x00000033fbe78f66 in _int_free () from /lib64/libc.so.6
#5  0x000000000045c34d in command_word_completion_function (hint_text=0x1cdb290 
"sup", state=0) at bashline.c:1598
#6  0x000000000048b4b9 in rl_completion_matches (text=0x1cdb290 "sup", 
entry_function=0x45c050 <command_word_completion_function>) at complete.c:1924
#7  0x000000000045cc36 in bash_default_completion (text=0x1cdb290 "sup", 
start=0, end=<value optimized out>, qc=<value optimized out>, compflags=<value 
optimized out>) at bashline.c:1425
#8  0x000000000045df6c in attempt_shell_completion (text=0x1cdb290 "sup", 
start=0, end=3) at bashline.c:1374
#9  0x000000000048b55f in gen_completion_matches (text=0x1cdb290 "sup", 
start=<value optimized out>, end=<value optimized out>, our_func=0x48a120 
<rl_filename_completion_function>, found_quote=<value optimized out>,
    quote_char=<value optimized out>) at complete.c:1040
#10 0x000000000048c9f8 in rl_complete_internal (what_to_do=9) at complete.c:1783
#11 0x0000000000484c55 in _rl_dispatch_subseq (key=9, map=0x6d7ba0, 
got_subseq=0) at readline.c:825
#12 0x0000000000485426 in readline_internal_char () at readline.c:603
#13 0x0000000000485835 in readline_internal_charloop (prompt=<value optimized 
out>) at readline.c:630
#14 readline_internal (prompt=<value optimized out>) at readline.c:644
#15 e (prompt=<value optimized out>) at readline.c:388
#16 0x000000000041e8a3 in yy_readline_get () at ./parse.y:1444
#17 0x000000000041fcae in yy_getc (remove_quoted_newline=1) at ./parse.y:1378
#18 shell_getc (remove_quoted_newline=1) at ./parse.y:2224
#19 0x000000000042258a in read_token (command=0) at ./parse.y:2892
#20 0x0000000000425347 in yylex () at ./parse.y:2512
#21 yyparse () at y.tab.c:2048
#22 0x000000000041d48a in parse_command () at eval.c:229
#23 0x000000000041d556 in read_command () at eval.c:273
#24 0x000000000041d7a8 in reader_loop () at eval.c:138
#25 0x000000000041cebc in main (argc=<value optimized out>, 
argv=0x7fff69bd1408, env=0x7fff69bd1418) at shell.c:759

reply via email to

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