zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@zsh.org
Subject: Re: Segfault in paramsubst() from completion (regression from 5.3.1)
Date: Mon, 28 Aug 2017 18:57:09 +0100	[thread overview]
Message-ID: <20170828185709.59d2f58a@ntlworld.com> (raw)
In-Reply-To: <20170828005055.ije2rr4d7ovbmfr4@tarpaulin.shahaf.local2>

On Mon, 28 Aug 2017 00:50:55 +0000
Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> In 5.3.1 (Debian package) I just get:
> 
>     _tags:comptags:36: nesting level too deep
>     _tags:comptags:60: nesting level too deep
>     _tags:comptags:67: nesting level too deep

That's the same problem.  We have no control over whether the system has
enough resources that we hit an arbitrary recursion limit before
there's a crash.

See many, many discussions over the years, including one quite recently,
and another not so many months ago.

Calling _normal recursively is in some cases sensible, in particular
if you've pruned the command line since the first call
(c.f. _precommand), so trying to check for a real problem isn't that easy.

pws


      parent reply	other threads:[~2017-08-28 17:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28  0:50 Daniel Shahaf
2017-08-28  0:55 ` Daniel Shahaf
2017-08-28 17:57 ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170828185709.59d2f58a@ntlworld.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).