Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: A repeating core, just sharing backtrace
- X-seq: zsh-workers 43143
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: A repeating core, just sharing backtrace
- Date: Thu, 5 Jul 2018 15:40:30 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=txi5zwaiAV18R6LqAaIif0e1s7kUqXbL9UZxG5LIrnQ=; b=hTa7C0AvGsruGCXKr7DmTiiVs3muivcKIdADjYG+s8hhmslj3yz9cIxwuSPuDVKMiE WtO8COarmkoUEy9J+dJD1T20WGHlkQPm2TYrejFjIq8K2BOylOcIXA5xTcfiwWipYWBy /OBFY6mdwl6+wC7Y8RZSRzAs3c+TrZ9rT8UmGf7iafqVLFiAtY2aebH4b7M8fKsJtrnH u2pr2s2F8ifrorAn1oUodoMI32e102pMjorb880sSJmbixcSKqMqEyi3qxSlLNUQho4P FyDvKkdUL5gPxZhEaNwBkxHbrv7aoRAABf5kQNgj9xMiRb+NA+pRL/MZUA4+hmpNcEzN ZAXw==
- In-reply-to: <CAKc7PVDcW6SRsk7XtjvNkj49C2-o-_BmQywYizh=QOvu5z16iw@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVDcW6SRsk7XtjvNkj49C2-o-_BmQywYizh=QOvu5z16iw@mail.gmail.com>
I bisected from 5.4.2 to HEAD. The core is fully repeatable. It's a
larger script (zplugin) operation that causes the core, so currently
this is kind of a black box.
f7519811e1bbe990ff1c3d499ffb70cfc2d034f8 is the first bad commit
commit f7519811e1bbe990ff1c3d499ffb70cfc2d034f8
Author: Ricardo Giorni <ricardo@xxxxxxxxx>
Date: Sun Apr 29 12:05:39 2018 -0700
47201: fix 42355 for multiple backslashes
I think this is a well pointed commit, because any backtrace I
occurred was going through zshlex:
...
frame #5: 0x00007fff5766b256 libsystem_malloc.dylib`free_tiny + 628
frame #6: 0x0000000100e076e8 zsh`zfree + 24
frame #7: 0x0000000100dc4c3c zsh`gethere + 780
frame #8: 0x0000000100dfafc1 zsh`zshlex + 369
frame #9: 0x0000000100e26c6f zsh`par_redir + 655
frame #10: 0x0000000100e29b5f zsh`par_simple + 2063
...
On 2 July 2018 at 12:09, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> Hello,
> I've triggered loading a snippet with Zplugin, and core happened.
> Tried again and it repeats. Zsh-5.5.1-dev-0, HEAD. Don't have energy
> currently to track this, maybe someone has idea for a "economical"
> debug print or other thing to reveal the cause?
>
> frame #0: 0x00000001092f7e1f
> zsh-5.5.1-dev-0`scanmatchtable(ht=<unavailable>,
> pprog=0x0000000000000000, sorted=446721, flags1=0, flags2=0,
> scanfunc=(zsh-5.5.1-dev-0`scanendscope at params.c:5570), scanflags=0)
> at hashtable.c:424 [opt]
> 421 for (i = 0; i < hsize; i++)
> 422 for (st.u.u = nodes[i]; st.u.u; ) {
> 423 HashNode hn = st.u.u;
> -> 424 st.u.u = st.u.u->next;
> 425 if ((!flags1 || (hn->flags & flags1)) &&
> !(hn->flags & flags2)
> 426 && (!pprog || pattry(pprog, hn->nam))) {
> 427 match++;
>
> --
> Sebastian Gniazdowski
> News: https://twitter.com/ZdharmaI
> IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author