Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] Segfault when referencing $WIDGET in TRAPWINCH
- X-seq: zsh-workers 38627
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Paul M <tallus@xxxxxxxxx>
- Subject: Re: [BUG] Segfault when referencing $WIDGET in TRAPWINCH
- Date: Tue, 07 Jun 2016 09:29:25 +0100
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <1465281760.11740.13.camel@localhost>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <1465281760.11740.13.camel@localhost>
On Mon, 06 Jun 2016 23:42:40 -0700
Paul M <tallus@xxxxxxxxx> wrote:
> Steps to reproduce:
>
> 1. add a TRAPWINCH something like this:
>
> TRAPWINCH(){echo $WIDGET}
>
> 2. Open a terminal
> 3. Resize
>
> zsh will segfault. GDB reports something like this
>
> Program received signal SIGSERV, Segmentation fault.
> 0xXXXXX.. in ?? () from /usr/lib/x86_64-linux-gnu/zsh/5.0.2/zsh/zle.so
I think that's been fixed --- I got it to happen easily with 5.0.2 but
it didn't with the latest version. 5.0.2 is a few years old.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author