bug-bash
[Top][All Lists]
Advanced

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

core dump an alt. alt1 alt.


From: bashbug
Subject: core dump an alt. alt1 alt.
Date: Tue, 9 Jun 2020 00:54:28 +0200 (CEST)

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-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../. -I.././include -I.././lib  -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/bash-N2nMjo/bash-4.4.18=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall 
-Wno-parentheses -Wno-format-security
uname output: Linux sint 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 
UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.4
Patch Level: 20
Release Status: release

Description:
        Got a core dump (segmentation fault) when i type: Alt-. Alt-1 Alt-.

        A gdb backtrace shows:
        
#0  0x000055985da6413e in xrealloc (pointer=0x55985f041180, bytes=104688)
    at .././xmalloc.c:133
#1  0x000055985da8a024 in _rl_dispatch_subseq (key=46,
    map=0x55985dce8240 <vi_movement_keymap>, got_subseq=0)
    at ../../.././lib/readline/readline.c:853
#2  0x000055985da8a10e in _rl_dispatch (key=<optimized out>, map=<optimized 
out>)
    at ../../.././lib/readline/readline.c:802
#3  0x000055985da8b680 in rl_vi_redo (count=1, c=<optimized out>)
    at ../../.././lib/readline/vi_mode.c:290
#4  0x000055985da89ce1 in _rl_dispatch_subseq (key=46,
    map=0x55985dce8240 <vi_movement_keymap>, got_subseq=0)
    at ../../.././lib/readline/readline.c:859
#5  0x000055985da8a10e in _rl_dispatch (key=<optimized out>, map=<optimized 
out>)
    at ../../.././lib/readline/readline.c:802
#6  0x000055985da8b680 in rl_vi_redo (count=1, c=<optimized out>)
    at ../../.././lib/readline/vi_mode.c:290
This trace repeats from #4.

Repeat-By:

        cat > inputrc <<-'EOF'
                set editing-mode vi
                "\e.": yank-last-arg
        EOF
        INPUTRC=./inputrc bash --noprofile --norc
        
        # now type: Alt-. Alt-1 Alt-.

Regards, Mike



reply via email to

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