segfault on initial word completion

2023-04-18 Thread Grisha Levit
$ bash --rcfile <(echo 'complete -C: -I') -i <<<$'; \cA\t' bash-5.2$ bash: xmalloc: cannot allocate 18446744073709551615 bytes $ bash --rcfile <(echo 'complete -C: -I') -i <<<$';\cA \t' bash-5.2$ Segmentation fault: 11

Re: Prompt save/restore for vi movement argument

2023-04-18 Thread Chet Ramey
On 4/15/23 11:42 PM, Grisha Levit wrote: Originally identified in [1] (FWIW, I only see the message in the archive, not in my inbox). [1]: https://lists.gnu.org/archive/html/bug-bash/2023-04/msg00043.html bash --norc -o vi -in <<<$'\ec1234567' (arg: 123456) Segmentation fault I think it's just