Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: segfault
- X-seq: zsh-workers 41214
- From: yac yac <yac@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: segfault
- Date: Sun, 4 Jun 2017 05:00:23 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blesmrt-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=rSW3UtcmTLYxCOqA8cxGnnmfvfkUCN/75CDQ6FKu6Y4=; b=AzOmzIp8haQY4+B9oBCzkj8b0m7Z3xhQa7BET8aGHQMiAzmh1NUCT731/H2OiDeGgO AQw0K2loNVd5tckqjKJiR5W6+nUJORjpPS2jLFhRtot/GIOdQ08pPBXMQRXaJgzLjHwH 1cEIafv3vew4eWPvghKKuQLzl0a7TmvgiMoV5tGFLemWt4k2UBfcItnTKEFykcaam6G4 sibeiSkyNaJCJw31iqsdY0XKvz9hSGaz8w1BSp9vimwf5k7W52z1W1G3ztMh4yQQOANm rSNjEpDWIanbWTy3JKv5jqbBQLVcLdVwiGGjlaBR+/55N5VwDTD17n+HqOrTpmdjhhfd EbpA==
- In-reply-to: <CANwdF+5id5qtSwQouXjnWN65krCLDOo6Kn2xcFxpNCsbTSahzw@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>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CANwdF+5id5qtSwQouXjnWN65krCLDOo6Kn2xcFxpNCsbTSahzw@mail.gmail.com>
Oh, and
% zsh --version
zsh 5.3.1 (x86_64-unknown-linux-gnu)
2017-06-04 4:59 GMT+02:00 yac yac <yac@xxxxxxxxxxx>:
> Hi, I managed to segfault zsh:
>
> yac@remy % zsh a.sh
> b d
>
>
> zsh: segmentation fault (core dumped) zsh a.sh
>
> using:
>
> #! /usr/bin/env zsh
>
> #declare -A foo=( a b c d )
> function foo {
> local -A foo=( a b c d )
> echo "${(@)foo[@]}"
>
> bar
> }
>
> function bar {
> echo "${(P)1[@]}"
> echo "${(kP)1[@]}"
> ${(AA)1=bar=foo}
> }
>
> foo
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author