[Top][All Lists]

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

Segmentation fault from running fc on empty history list

From: Flyingpig
Subject: Segmentation fault from running fc on empty history list
Date: Tue, 15 Jun 2021 17:06:12 -0400
User-agent: Evolution 3.40.2

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -
DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' -
DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash.bashrc' -
uname output: Linux flyingpig 5.12.10-arch1-1 #1 SMP PREEMPT Thu, 10
Jun 2021 16:34:50 +0000 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 5.1
Patch Level: 8
Release Status: release

        Running the fc builtin on an empty history list results in a
        segmentation fault from bash.

        Run the following commands and observe the output:
         $ bash --noprofile --norc
         $ HISTCONTROL=ignorespace
         $ history -c
         $  fc
         Segmentation fault (core dumped)

reply via email to

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