[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: segf ..
From: |
Chet Ramey |
Subject: |
Re: segf .. |
Date: |
Tue, 12 Mar 2024 09:58:59 -0400 |
User-agent: |
Mozilla Thunderbird |
On 3/8/24 3:15 PM, alex xmb sw ratchev wrote:
i made changes to my benchmark script
and sometimes bash segfaulted
like in this case
Basically you're creating one huge list command, separating simple
commands with `;'. This causes bash to eventually exceed the stack size
resource limit and crash, since it executes the command list recursively.
The second paragraph in
https://lists.gnu.org/archive/html/bug-bash/2017-02/msg00022.html
has the explanation.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- segf .., alex xmb sw ratchev, 2024/03/08
Re: segf ..,
Chet Ramey <=