zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <Peter.Stephenson@csr.com>
To: zsh-workers@zsh.org
Subject: Re: zsh froze under Mac OS X
Date: Tue, 23 Nov 2010 11:08:54 +0000	[thread overview]
Message-ID: <20101123110854.45b62645@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <101122073902.ZM13038@torch.brasslantern.com>

On Mon, 22 Nov 2010 07:39:00 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Nov 22,  3:49pm, Vincent Lefevre wrote:
> }
> } Call graph:
> }             993 zexit
> }               993 sourcehome
> }                 993 source
> }                   993 loop
> 
> This indicates that it's reading your .zlogout file.  Anything there
> that could account for the behavior?

Obviously we need to see what it's executing to get further.  The
information in the static points in input.c, inbuf and inbufptr, ought
to have been revealing.  Could there be .zwc files involved?

Strange things can happen if the file the shell is executing changes
under it, but the implication here is it started looking at the logout
file and immediately ran into problems, which sounds different.

> This ...
> 
> }                                     2 exalias
> }                                       1 exalias
> }                                       1 gethashnode
> }                                         1 gethashnode
> 
> ... makes me suspect you've got a recursively-expanding alias
> involved, but that's much less certain than that it's .zlogout
> related.

I don't know exactly what the numbers mean, but they're probably
something like the number of times this was called.  This suggests to me
it's only got here once, so it's unlikely to be a key part of the
problem.

-- 
Peter Stephenson <pws@csr.com>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom


  reply	other threads:[~2010-11-23 11:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 14:49 Vincent Lefevre
2010-11-22 15:39 ` Bart Schaefer
2010-11-23 11:08   ` Peter Stephenson [this message]
2010-11-23 13:40     ` Vincent Lefevre
2010-11-23 12:03   ` Vincent Lefevre

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=20101123110854.45b62645@pwslap01u.europe.root.pri \
    --to=peter.stephenson@csr.com \
    --cc=zsh-workers@zsh.org \
    /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).