Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
segfault
- X-seq: zsh-workers 41213
- From: yac yac <yac@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: segfault
- Date: Sun, 4 Jun 2017 04:59:33 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blesmrt-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=HhnZAyZ7jCgD08ecxtVI1skt22wyvRzrX6rodhqaGKg=; b=P8IbUErb2GFQZRdqvEgW3GzC/Jax7tEHAdAIDsa8tJ/MHj+GyLwmBqRejYbW2wDKHq t2b1d2fyvczKoeVwsLyFJHjYjHd6YS+oDR0wgbXG8ACCP08zaop3C/WOjaD3ofvSZJEa s5FJGQD43ycEgm+hlJbJRC/q3vn7FuTskazqsYm3T7UIG4ZWHcikbSK8Jw+jsZ1OhuLr WlcSOeO+fOXy1lwmS6yIMRp0WBnHwmQRoVBMo9Y1/QJ1BgaImdCa2CBUisBlGKNmf6KY KIze1tkZT5BO9tZxZhmefn7Wjv5jpFn8S0UJeOJdQLx9/ETed9O0SHhTKbkvpShCyn/I a+Mw==
- 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
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