From: Peter Stephenson <pws@hydra.ifh.de>
To: Eskandar Ensafi <esky@CS.UCLA.EDU>
Cc: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: UGLY CRASHES UNDER ZSH 2.6 BETA 12
Date: Fri, 01 Mar 1996 14:36:42 +0100 [thread overview]
Message-ID: <9603011336.AA12720@hydra.ifh.de> (raw)
In-Reply-To: "esky@cs.ucla.edu"'s message of "Wed, 28 Feb 1996 09:17:17 MET." <9602281717.AA06717@marathon.cs.ucla.edu>
esky@cs.ucla.edu wrote:
> Starting program: /usr/local/bin/zsh
> marathon% bvi foo
> zsh: correct `bvi' to `vi' [nyae]? n
> zsh: command not found: bvi
> marathon% !!
> Program generated(1): Memory access exception on address 0x10 (protection fai
> lure).
> 0x164c2 in clearalstack ()
I can't reproduce this either for some reason, but my guess is that
the alias stack has got a NULL on it, which signifies history
expansion, and the lexrestore() is assuming it's an alias and trying
to dereference it. Have a go at this (should be completely safe to
give to the kids at home):
*** Src/hist.c~ Mon Feb 19 10:09:38 1996
--- Src/hist.c Fri Mar 1 14:31:05 1996
***************
*** 440,447 ****
Alias ix;
while (alstackind) {
! ix = alstack[--alstackind];
! ix->inuse = 0;
}
}
--- 440,447 ----
Alias ix;
while (alstackind) {
! if ((ix = alstack[--alstackind]))
! ix->inuse = 0;
}
}
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
next prev parent reply other threads:[~1996-03-01 14:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-02-28 8:46 Eskandar Ensafi
1996-02-28 12:24 ` Zefram
1996-02-28 17:17 ` Eskandar Ensafi
1996-03-01 13:36 ` Peter Stephenson [this message]
1996-03-01 18:34 ` New hist.c patch (Was: Re: UGLY CRASHES UNDER ZSH 2.6 BETA 12) Eskandar Ensafi
1996-03-01 21:26 ` UGLY CRASHES UNDER ZSH 2.6 BETA 12 Zoltan Hidvegi
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=9603011336.AA12720@hydra.ifh.de \
--to=pws@hydra.ifh.de \
--cc=esky@CS.UCLA.EDU \
--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).