zsh-workers
 help / color / mirror / code / Atom feed
From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers <zsh-workers@sunsite.auc.dk>
Subject: BUG: parameter not created
Date: Sun, 2 Jul 2000 00:38:35 -0700 (PDT)	[thread overview]
Message-ID: <20000702073835.14099.qmail@web1303.mail.yahoo.com> (raw)

I'm able to generate a BUG message and stack trace with the following command:
zsh -f
% (( aarray[abc]++ ))
% (( aarray[abc]++ ))
BUG: parameter not created
zsh: segmentation fault (core dumped)

Here's the stack trace.
#0  0x85c54 in setnparam (s=0x187e8e "[abc]", val={u = {
        l = 0x0000000000000001, d = 4.9406564584124654e-324}, type = 1})
    at params.c:1946
#1  0x70330 in setvar (s=0x187e88 "aarray[abc]", v={u = {
        l = 0x0000000000000001, d = 4.9406564584124654e-324}, type = 1})
    at math.c:505
#2  0x718c0 in op (what=4) at math.c:802
#3  0x72ba8 in mathparse (pc=17) at math.c:1088
#4  0x72054 in mathevall (s=0x187e74 " aarray[abc]++ ", prek=17, ep=0xefffe94c)
    at math.c:920
#5  0x7220c in matheval (s=0x187e74 " aarray[abc]++ ") at math.c:956
#6  0x7229c in mathevali (s=0x187e74 " aarray[abc]++ ") at math.c:967
#7  0x42ab4 in execarith (state=0xefffebd8, do_exec=0) at exec.c:3010
#8  0x38dfc in execsimple (state=0xefffebd8) at exec.c:757
#9  0x38f98 in execlist (state=0xefffebd8, dont_change_job=0, exiting=0)
    at exec.c:801
#10 0x38c44 in execode (p=0x187e40, dont_change_job=0, exiting=0) at exec.c:727
#11 0x5a94c in loop (toplevel=1, justonce=0) at init.c:150
#12 0x2406c in main (argc=2, argv=0xefffed64) at ./main.c:98


-FR


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/


             reply	other threads:[~2000-07-02  7:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-02  7:38 Felix Rosencrantz [this message]
2000-07-03  9:55 ` PATCH " 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=20000702073835.14099.qmail@web1303.mail.yahoo.com \
    --to=f_rosencrantz@yahoo.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).