Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug with long multiline strings?
On Wed, 24 Oct 2012 17:21:05 +0200
Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi workers!
>
> I've tried to reproduce
>
> <https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1070820>
>
>
> Turns out, I can:
>
> [snip]
> i-(6000)-~% echo "asdf
> dquote> asdf
> dquote> asdf
> dquote> asdf
> dquote> asdf
> dquote> asfd
> dquote> asdf
> dquote> asdf
> dquote> asdf
> dquote> asdf
> dquote> asdf
> dquote> asdf
> dquote> asdf
> mem.c:604: BUG: hrealloc() called for non-heap memory.
> [1] 2554 segmentation fault (core dumped) zsh
> [snap]
Something very funny is going on here. That's basic shell allocation
stuff that's failing, which gets used all the time. Also, it shouldn't
need to reallocate at all until there are 256 characters in the input
token, which you haven't got close to. There are no interrupts or
recursion involved.
Looks like there's a Mystery Ingredient.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author