From: Andre Pang <ozone@algorithm.com.au>
To: zsh-workers@sunsite.auc.dk
Subject: zsh segfaults on $(( [#2] 0xDEADBEEF ))
Date: Sat, 28 Apr 2001 18:15:41 +1000 [thread overview]
Message-ID: <20010428181541.A5537@exodus> (raw)
using zsh as a calculator:
18:00 ~% zsh
18:00 ~% echo $(( [#16] 0xDEADBEEF ))
16#DEADBEEF
18:00 ~% echo $(( [#8] 0xDEADBEEF ))
8#33653337357
18:00 ~% echo $(( [#4] 0xDEADBEEF ))
4#3132223123323233
18:00 ~% echo $(( [#3] 0xDEADBEEF ))
3#100122100210211112102
18:00 ~% echo $(( [#2] 0xDEADBEEF ))
zsh: 6139 segmentation fault zsh
18:00 ~%
after a few more seconds of playing around (i am now friends
with Esc A):
18:02 ~% echo $(( [#2] 0x1FFFFF ))
2#111111111111111111111
18:02 ~% echo $(( [#2] 0x200000 ))
zsh: 6192 segmentation fault zsh
and
18:07 ~% echo $(( [#3] 0x26F7C528F ))
3#222222222222222221200
18:07 ~% echo $(( [#3] 0x26F7C5300 ))
zsh: 6370 segmentation fault zsh
this has happened to two machines i've tried it on:
18:10 wagner:~% uname -a
Linux wagner 2.4.3 #2 SMP Sat Apr 7 04:28:16 EST 2001 i686 unknown
18:10 wagner:~% echo $ZSH_VERSION
3.1.9-dev-6
18:07 ~% uname -a
Linux exodus 2.4.2-exodus #31 Fri Mar 16 09:22:38 EST 2001 i686 unknown
18:08 ~% echo $ZSH_VERSION
4.0.1-debian0420
wow. after >1 year of not finding a single bug in zsh, i
suddenly find two major-ish ones in the same day :)
please cc replies to me (or zsh-users) -- i'm not on zsh-workers.
--
#ozone/algorithm <ozone@algorithm.com.au> - trust.in.love.to.save
next reply other threads:[~2001-04-28 8:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-28 8:15 Andre Pang [this message]
2001-04-28 9:11 ` Andrej Borsenkow
2001-04-28 17:27 ` PATCH: " Bart Schaefer
2001-04-28 17:38 ` Bart Schaefer
2001-05-01 9:33 ` 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=20010428181541.A5537@exodus \
--to=ozone@algorithm.com.au \
--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).