From: "Mikael Magnusson" <mikachu@gmail.com>
To: "Peter Stephenson" <pws@csr.com>
Cc: "Zsh hackers list" <zsh-workers@sunsite.dk>
Subject: Re: zsh 4.3.4 released
Date: Mon, 23 Apr 2007 19:18:40 +0200 [thread overview]
Message-ID: <237967ef0704231018j988a959xbe86c041d1d576fb@mail.gmail.com> (raw)
In-Reply-To: <20070423174029.1e8293a9.pws@csr.com>
On 23/04/07, Peter Stephenson <pws@csr.com> wrote:
> "Mikael Magnusson" <mikachu@gmail.com> wrote:
> > > Is it possibly you have old wordcode for the dot file that might define
> > > svmode? (Obviously the shell should be robust even if this is the case;
> > > since the wordcode has a version stamp this shouldn't happen with a
> > > released version of the shell.)
> >
> > Aha, this seems to have been the problem. I renamed my .zshurxvt.zwc
> > and it doesn't crash anymore. I always run zrecompile -p on all my .z*
> > files after upgrading zsh but apparently it only takes effect if the
> > .file is newer than the .file.zwc, maybe it should also take effect if
> > $SHELL is newer than the .zwc?
>
> I think I've found the problem: parse.c doesn't get recompiled when
> version.h changes, so zcompile might output the wrong version, so the shell
> can't check properly when the ZWC file is loaded.
>
> Luckily, this won't happen if the shell is built from scratch, so it
> doesn't affect the fast majority of installed versions.
>
> I think the fix is as simple as changing the dependency, though I decided I
> felt happier if the header for the ZWC file had uninitialised bits set to
> null bytes rather than (say) the password that was lying around in
> memory.
>
> Thanks for your help.
No problem, and thank you too.
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.2-dev-1):
/root/.zshrc.zwc
re-compiling /root/.zshrc.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.2.0-dev-1):
/root/.zlogout.zwc
re-compiling /root/.zlogout.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.3):
/root/.zcompdump.zwc
re-compiling /root/.zcompdump.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.3): /etc/profile.zwc
re-compiling /etc/profile.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.2-dev-1):
/etc/zprofile.zwc
re-compiling /etc/zprofile.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.2-dev-1):
/usr/local/share/zsh/site-functions.zwc
re-compiling /usr/local/share/zsh/site-functions.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.2-dev-1):
/home/mikaelh/.zshrc.zwc
re-compiling /home/mikaelh/.zshrc.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.3):
/home/mikaelh/.zshenv.zwc
re-compiling /home/mikaelh/.zshenv.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.3):
/home/mikaelh/.zcompdump.zwc
re-compiling /home/mikaelh/.zcompdump.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.2.0-dev-1):
/home/mikaelh/.zlogin.zwc
re-compiling /home/mikaelh/.zlogin.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.2.0-dev-1):
/home/mikaelh/.zlogout.zwc
re-compiling /home/mikaelh/.zlogout.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.2-dev-1):
/home/mikaelh/.delete-to.zwc
re-compiling /home/mikaelh/.delete-to.zwc: succeeded
zrecompile:zcompile:1: zwc file has wrong version (zsh-4.3.0-dev-1):
/home/mikaelh/.zshurxvt.zwc
re-compiling /home/mikaelh/.zshurxvt.zwc: succeeded
:)
--
Mikael Magnusson
next prev parent reply other threads:[~2007-04-23 17:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200704161647.l3GGl2FE027950@news01.csr.com>
[not found] ` <20070419120758.e9774528.pws@csr.com>
2007-04-19 19:44 ` Paul Ackersviller
[not found] ` <237967ef0704201440g1c072ca8l451439d2ec8578bf@mail.gmail.com>
[not found] ` <20070423104151.1f5f368e.pws@csr.com>
[not found] ` <237967ef0704230550k41ddb13fy60deebd526ecc5ec@mail.gmail.com>
2007-04-23 13:18 ` Peter Stephenson
2007-04-23 14:22 ` Mikael Magnusson
2007-04-23 15:06 ` Peter Stephenson
2007-04-23 16:00 ` Mikael Magnusson
2007-04-23 16:40 ` Peter Stephenson
2007-04-23 17:07 ` Peter Stephenson
2007-04-23 17:18 ` Mikael Magnusson [this message]
2007-04-23 16:07 ` Mikael Magnusson
[not found] ` <BB046CA812535C45BD0029AA9D04BA79C66F39@KL-SRV57.lmsintl.com>
2007-04-23 14:01 ` Peter Stephenson
[not found] ` <BB046CA812535C45BD0029AA9D04BA79C66F72@KL-SRV57.lmsintl.com>
2007-04-23 15:14 ` 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=237967ef0704231018j988a959xbe86c041d1d576fb@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=pws@csr.com \
--cc=zsh-workers@sunsite.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).