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


Groups > gnu.bash.bug > #15532

Re: Seg history

Path csiph.com!fu-berlin.de!usenet.stanford.edu!not-for-mail
From Dennis Williamson <dennistwilliamson@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Seg history
Date Tue, 22 Oct 2019 18:24:52 -0500
Lines 20
Approved bug-bash@gnu.org
Message-ID <mailman.1507.1571786709.9715.bug-bash@gnu.org> (permalink)
References <84EF0D3A-F26B-45B0-AF93-99B4C4784A0C@gmail.com> <CANaoh6KqkVcS3v79cwgq39vLe0Cg16xYdQ2jmo=g69YUiTyWgg@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1571786710 1219 209.51.188.17 (22 Oct 2019 23:25:10 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash <bug-bash@gnu.org>
To younes berramdane <younesberramdane1@gmail.com>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EnL5dfIClwtzoy0eXr054yHyx3fw/NMMUDUdOnoYm2s=; b=bJ+UXp5QuA4XOWKosRRp9xgFL08hpAH7jCzk3uZgu7uMdyEdlWMiCMflsFNHmhCNDi yTk9SIZHEFUlHmHJrayHdJyndKhW6rePYB9+Tx7dHDftW8gjnRVW5tkH3Yz3yHgoHZMw MC3RuMrxlrUr+3U8ferZksEEur5YOtr0rdsShHkqFq0ieVpT76d5DGMutobMp623F3fD wh4JTj4KXqmJ/rgfNWjNlhFxkOFLr2ON7a2EzoSoXn5XZMPsJN3iWJjfNoKQ6Ux4uI6W c4iPejGBp3m0kv9OH9AgdNpxePVvw3xOgxYASHE1iPkluHOmyNL2xk82kvriwvbTaPDq M7sA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EnL5dfIClwtzoy0eXr054yHyx3fw/NMMUDUdOnoYm2s=; b=f+w8Qwe/9tfbqxXavZez2j4jaoOvOlbGTB4tDA+A2tKh+2jDTORDq0n6lUn57hhWoS dCcqAZhyUaE34xnnZnsaWTyvoTobS5PAsFu6EvvkL4PB3429VaARnCskkS7EUFMNTlbz Wj/3xDqix2R3Yf0jMhGb86RL7wqw6g95WDs/CkfxpGI4N734w/CA7HopUOmY2TlS5CX9 larkqJbwIb6t71SubuIVjeqtvLg5pSh8ze64H1J9I8t1PJE7sVAJOaLGBlj8flZJcDb3 I0G9NwaRixzenfjW64XOTSocSy3aPMRzAdsoEWSeJvNpZcI/6L/bgTgdUYuWBWOsz6Ed +E5w==
X-Gm-Message-State APjAAAUoDEsXZijPnW5bb9J+P5WUrRPRJo8R8JX92cNdnXIbKXoE8+ON nNyapr39WMx74O/kLKc3RxmJIQajMAEsEnt9lw==
X-Google-Smtp-Source APXvYqzqQYzz/341oxxfK7/+2V82VUDGEg/5n1sj1aViq1E0CxnvVcYvRNfKaveFb+ORomxEOEr6fOxMFEo207Yz7QM=
X-Received by 2002:adf:fe81:: with SMTP id l1mr5383340wrr.165.1571786703853; Tue, 22 Oct 2019 16:25:03 -0700 (PDT)
In-Reply-To <84EF0D3A-F26B-45B0-AF93-99B4C4784A0C@gmail.com>
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2a00:1450:4864:20::435
X-Content-Filtered-By Mailman/MimeDel 2.1.23
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <CANaoh6KqkVcS3v79cwgq39vLe0Cg16xYdQ2jmo=g69YUiTyWgg@mail.gmail.com>
X-Mailman-Original-References <84EF0D3A-F26B-45B0-AF93-99B4C4784A0C@gmail.com>
Xref csiph.com gnu.bash.bug:15532

Show key headers only | View raw


On Tue, Oct 22, 2019, 8:10 AM younes berramdane <younesberramdane1@gmail.com>
wrote:

> Hello,
> I have found a seg in the history of bash while I was doing a project for
> my school,
> (Put fc -s at the last command of the history file [~/.sh_history] for
> bash posix or [~/.bash_history] for bash then launch bash and execute fc -s
> again)
>
> Best regards,
> Younes Berramdane.
>

This causes fc -s to re-execute itself in a tight loop repeatedly until a
seg fault occurs.

I don't know whether Bash should catch this but it definitely falls under
"doctor, it hurts when I do this" - IOW, don't do that. Especially since it
takes extra effort to set up the necessary conditions.

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Seg history Dennis Williamson <dennistwilliamson@gmail.com> - 2019-10-22 18:24 -0500

csiph-web