Subject: Re: [BUG] Segfault when referencing $WIDGET in TRAPWINCH
From: Peter Stephenson <[email-masked]>
To: Paul M <[email-masked]>
Cc: [email-masked]
Date: Tue, 07 Jun 2016 09:29:25 +0100
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Mon, 06 Jun 2016 23:42:40 -0700
Paul M <[email-masked]> 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