Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16373 > unrolled thread

core dump an alt. alt1 alt.

Started bybashbug@jonkmans.nl
First post2020-06-09 00:54 +0200
Last post2020-06-09 00:54 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  core dump an alt. alt1 alt. bashbug@jonkmans.nl - 2020-06-09 00:54 +0200

#16373 — core dump an alt. alt1 alt.

Frombashbug@jonkmans.nl
Date2020-06-09 00:54 +0200
Subjectcore dump an alt. alt1 alt.
Message-ID<mailman.1472.1591656936.2541.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web