Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Crash on jobstates since workers/49783 (commit 6a8aa2a)



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