Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: unbounded recursive call in a shell script crashes zsh
- X-seq: zsh-workers 40988
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Kamil Dudka <kdudka@xxxxxxxxxx>
- Subject: Re: unbounded recursive call in a shell script crashes zsh
- Date: Wed, 19 Apr 2017 14:01:19 -0700
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject:cc :mime-version; bh=vr7G6JsKq2udolyQT8Qvl2VGMsXXcrmdG3j0GxSjEok=; b=WGqmapd9dbUugaL9F0u/bfGMW3Zcor3c69Xj9dvnYo1Uf/xgCADwsVtK7PT4h9+U7z B8a/amPdniU3kngoVe0wz6hdsE0PAp4R92ZOa0fWRS6PHF20DGywQQamYQXTRPLVWLkN LqitaJJCzm+XzeppKpbJgrqMP0mHkULIIcZnloGd+7upnMFXm0Z3vHygf8s/m3yoJKfd mJkhksVFiu/LLLedZxcvg5x5WRgFYRsVB3+9Tfl6FDhnIWuqLMfdH0JF87rNzy5Xz2Mh tneGKl+jnSlQwpkmKZNBxPUGGsRmmqZ5G16/fwGhLf/hzi1sPNuVx8/z8P9BSG/XyJjb jn4g==
- In-reply-to: <3185849.ijjV0Re2JH@kdudka-nb>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <2960832.nVDpiBkaWZ@kdudka-nb> <CAFOazAO2jcj+zPpJuHXtykUE4yGR0FnYA5+-xHgH4nu_gDZgbw@mail.gmail.com> <CAFOazAM8N5ZQEv_HtQwt-18M6aNOTEMhGAmYxO0De1cjpjnjXA@mail.gmail.com> <3185849.ijjV0Re2JH@kdudka-nb>
On Apr 18, 3:54pm, Kamil Dudka wrote:
}
} What helped significantly to make the default shell call nesting limit
} reachable again was the -fconserve-stack option of GCC.
If you're going to change the configure-time options to make the stack
compact, you could also/instead change them to reduce the nesting limit.
I suppose it depends on whether your primary goal is to make the call
depth consistent, or is to avoid the shell crashing.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author