Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Crash on jobstates since workers/49783 (commit 6a8aa2a)
- X-seq: zsh-workers 49895
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Crash on jobstates since workers/49783 (commit 6a8aa2a)
- Date: Sat, 26 Mar 2022 22:34:41 -0700
- Archived-at: <https://zsh.org/workers/49895>
- In-reply-to: <CAH+w=7ZFV8t756mbOa2agfy_RK9WOF9vk+tsRt+Fgy+sd4_+7Q@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ZFV8t756mbOa2agfy_RK9WOF9vk+tsRt+Fgy+sd4_+7Q@mail.gmail.com>
On Fri, Mar 25, 2022 at 3:32 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> The nested calls to zargs from runN all die with a SEGV on when running:
>
> wait ${${jobstates[(R)running:*]/#*:/}/%=*/}
Minimal reproducer:
% sleep 5 &
[1] 171363
% ( wait ${${jobstates[(R)running:*]/#*:/}/%=*/} )
zsh: segmentation fault (core dumped) ( wait
${${jobstates[(R)running:*]/#*:/}/%=*/}; )
%
Messages sorted by:
Reverse Date,
Date,
Thread,
Author