zsh-workers
 help / color / mirror / code / Atom feed
* segfault
@ 2017-06-04  2:59 yac yac
  2017-06-04  3:00 ` segfault yac yac
  2017-06-04  6:38 ` segfault Bart Schaefer
  0 siblings, 2 replies; 5+ messages in thread
From: yac yac @ 2017-06-04  2:59 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-05  8:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-04  2:59 segfault yac yac
2017-06-04  3:00 ` segfault yac yac
2017-06-04  6:38 ` segfault Bart Schaefer
2017-06-05  4:00   ` segfault Bart Schaefer
2017-06-05  8:35     ` segfault Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).