Re: Segfault with set -o emacs in -c

2022-12-19 Thread Chet Ramey
On 12/18/22 1:35 AM, Harald van Dijk wrote: Bash Version: 5.2 Patch Level: 12 Release Status: release Description: bash segfaults if 'set -o emacs' is run when it is executing a command string. You might win the prize for oldest bug reported. This is easily over 30 years old. I suppose

Re: Segfault with set -o emacs in -c

2022-12-18 Thread Emanuele Torre
On Sun, Dec 18, 2022 at 06:35:45AM +, Harald van Dijk wrote: > The assumption here, that if (interactive), input is coming from > stdin, does not hold when running bash -ic. > > Repeat-By: > bash -ic 'set -o emacs' Wow, this is a very old bug. I think this 2.04 bug report

Segfault with set -o emacs in -c

2022-12-17 Thread Harald van Dijk
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnux32 Compiler: clang -mx32 Compilation CFLAGS: -O2 uname output: Linux framework 6.0.12 #1 SMP PREEMPT_DYNAMIC @1664744947 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnux32 Bash Version: 5.2