zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: [BUG] Segfault if zcompile followed by source, on large file
Date: Fri, 5 Jan 2018 14:40:17 -0800	[thread overview]
Message-ID: <CAH+w=7Zh7xXSF1XyR-a48P7Y+PYVQ_XVAY9LQXjiBbm8ocLm4Q@mail.gmail.com> (raw)
In-Reply-To: <20180105102318.492dfa5e@pwslap01u.europe.root.pri>

On Fri, Jan 5, 2018 at 2:23 AM, Peter Stephenson
<p.stephenson@samsung.com> wrote:
>
> I suspect it's simply that this file is too long for word code
> compilation, as word code has intrinisic limits on valid says based
> around 32-bit values, with some bits taken away for special encoding so
> you don't necessarily get the full range.

Hmm.  There's no way to execute a construct that can't be converted
into wordcode, is there?  E.g. a sufficiently long function body would
trigger this?

I'm not very familiar with the wordcode internals.  Are there internal
pointers that refer forward or backward to previous locations in the
wordcode, other than for caching of strings?


      reply	other threads:[~2018-01-05 22:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180102145007epcas2p35349fe256ab195853ed923c0f84f900b@epcas2p3.samsung.com>
2018-01-02 14:49 ` Sebastian Gniazdowski
2018-01-02 15:26   ` Daniel Shahaf
2018-01-03  6:40   ` Sebastian Gniazdowski
2018-01-05 10:23   ` Peter Stephenson
2018-01-05 22:40     ` Bart Schaefer [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='CAH+w=7Zh7xXSF1XyR-a48P7Y+PYVQ_XVAY9LQXjiBbm8ocLm4Q@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=p.stephenson@samsung.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).