From: Alexandre Duret-Lutz <duret_g@epita.fr>
To: zsh-workers@math.gatech.edu
Subject: `foo=foo; (( foo ))' => infinite recursion
Date: 09 Mar 2000 21:10:19 +0100 [thread overview]
Message-ID: <mvbln3rucpg.fsf@phobos.lrde.epita.fr> (raw)
An easy way to die.
~ % zsh -f
phobos% foo=foo; (( foo ))
zsh: segmentation fault zsh -f
#0 0x8080add in mathevall (s=0x80e5890 "foo", prek=17, ep=0xbf800308)
at ../../latest/Src/math.c:855
855 {
(gdb) bt
#0 0x8080add in mathevall (s=0x80e5890 "foo", prek=17, ep=0xbf800308)
at ../../latest/Src/math.c:855
#1 0x8080d13 in matheval (s=0x80e5890 "foo") at ../../latest/Src/math.c:923
#2 0x808bc5b in getnumvalue (v=0xbf800384) at ../../latest/Src/params.c:1423
#3 0x808c81d in getnparam (s=0x401e09bb "") at ../../latest/Src/params.c:1655
#4 0x808100a in mathparse (pc=17) at ../../latest/Src/math.c:1011
#5 0x8080be2 in mathevall (s=0x80e5890 "foo", prek=17, ep=0xbf800ad8)
at ../../latest/Src/math.c:888
#6 0x8080d13 in matheval (s=0x80e5890 "foo") at ../../latest/Src/math.c:923
#7 0x808bc5b in getnumvalue (v=0xbf800b54) at ../../latest/Src/params.c:1423
#8 0x808c81d in getnparam (s=0x401e09b3 "") at ../../latest/Src/params.c:1655
#9 0x808100a in mathparse (pc=17) at ../../latest/Src/math.c:1011
#10 0x8080be2 in mathevall (s=0x80e5890 "foo", prek=17, ep=0xbf8012a8)
at ../../latest/Src/math.c:888
#11 0x8080d13 in matheval (s=0x80e5890 "foo") at ../../latest/Src/math.c:923
#12 0x808bc5b in getnumvalue (v=0xbf801324) at ../../latest/Src/params.c:1423
#13 0x808c81d in getnparam (s=0x401e09ab "") at ../../latest/Src/params.c:1655
#14 0x808100a in mathparse (pc=17) at ../../latest/Src/math.c:1011
#15 0x8080be2 in mathevall (s=0x80e5890 "foo", prek=17, ep=0xbf801a78)
at ../../latest/Src/math.c:888
... and so on ...
--
Alexandre Duret-Lutz
next reply other threads:[~2000-03-09 20:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-09 20:10 Alexandre Duret-Lutz [this message]
2000-03-13 9:34 Sven Wischnowsky
2000-03-13 16:05 ` Bart Schaefer
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=mvbln3rucpg.fsf@phobos.lrde.epita.fr \
--to=duret_g@epita.fr \
--cc=zsh-workers@math.gatech.edu \
/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).