Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [BUG] Segfault if zcompile followed by source, on large file



On Fri, Jan 5, 2018 at 2:23 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> 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?



Messages sorted by: Reverse Date, Date, Thread, Author