zsh-workers
 help / color / mirror / code / Atom feed
From: yac yac <yac@blesmrt.net>
To: zsh-workers@zsh.org
Subject: Re: segfault
Date: Sun, 4 Jun 2017 05:00:23 +0200	[thread overview]
Message-ID: <CANwdF+48yf1sqKpZEpLP1vegcSNMFA_Lo_N=gcrKn0ZefBYxhA@mail.gmail.com> (raw)
In-Reply-To: <CANwdF+5id5qtSwQouXjnWN65krCLDOo6Kn2xcFxpNCsbTSahzw@mail.gmail.com>

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

Oh, and

% zsh --version
zsh 5.3.1 (x86_64-unknown-linux-gnu)

2017-06-04 4:59 GMT+02:00 yac yac <yac@blesmrt.net>:

> 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
>

  reply	other threads:[~2017-06-04  3:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-04  2:59 segfault yac yac
2017-06-04  3:00 ` yac yac [this message]
2017-06-04  6:38 ` segfault Bart Schaefer
2017-06-05  4:00   ` segfault Bart Schaefer
2017-06-05  8:35     ` segfault Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANwdF+48yf1sqKpZEpLP1vegcSNMFA_Lo_N=gcrKn0ZefBYxhA@mail.gmail.com' \
    --to=yac@blesmrt.net \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).