Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh eats 100% CPU with completion in /
- X-seq: zsh-workers 27322
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: zsh eats 100% CPU with completion in /
- Date: Sat, 31 Oct 2009 00:01:33 +0100
- In-reply-to: <alpine.LNX.2.01.0910301724070.8074@xxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20091030161027.GL3082@xxxxxxxxxxxxxxx> <alpine.LNX.2.01.0910301724070.8074@xxxxxxxxxxx>
Benjamin R. Haskell <zsh@xxxxxxxxxx>:
> On Fri, 30 Oct 2009, Frank Terbeck wrote:
> > Zsh eats 100% CPU on a colleague's laptop if you do this:
> > % cd /
> > % cd ..
> > % ./<tab>
[...]
> As a potential source of differences, it might be interesting to see
> what's mounted in the root directory of each machine. This reminds me of
> Zsh scanning drives under /cygdrive/ when running under Cygwin.
>
> Though I'm not sure how the 'cd ..' plays into it... something relating to
> changes that dealt with current-directory tracking? (sorry, can't recall
> specifics -- it was on here or zsh-users within the past three months or
> so)
Ah, I just remembered something:
After doing:
% cd /
% cd ..
My colleague could hang the shell by doing this:
% cd ~
% ./<tab>
I don't know if he could reproduce that every time, but I saw him do
it at least once.
So, I'm not to sure if what's mounted to / comes into play...
For my machine, I can tell you that I got an encrypted partition
mounted at /mnt and non-encrypted partitions at /home, /var, /tmp and
/usr.
On my colleague's system, / homes everything with respect to his linux
system, except for /boot which is a separate partition at the start of
the hard drive. I think he had a cdrom mounted at /media/cdrom0 which
/cdrom was a symlink to, IIRC. He also had his NTFS windows partition
mounted read-only at /media/something (where something is the actual
directory name, which I cannot recall right now).
Too bad this doesn't happen on a system of mine... But the fact that
Mikael can reproduce it at least means I'm not seeing things. :)
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author