* 'zsh -ic exit' hangs
@ 2005-10-14 16:11 Mikael Magnusson
2005-10-14 16:50 ` Bart Schaefer
2005-10-14 16:54 ` Andrey Borzenkov
0 siblings, 2 replies; 6+ messages in thread
From: Mikael Magnusson @ 2005-10-14 16:11 UTC (permalink / raw)
To: zsh-workers
I was just testing around trying to find out which part of my startup
files take the longest when i stumbled upon this bug,
zsh -ic exit
this is the end of an strace run
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xa2438000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xa2434000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xa2430000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xa242c000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xa2428000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xa2424000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xa2420000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xa241c000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xa2418000
+++ killed by SIGKILL +++
--
Mikael Magnusson
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 'zsh -ic exit' hangs
2005-10-14 16:11 'zsh -ic exit' hangs Mikael Magnusson
@ 2005-10-14 16:50 ` Bart Schaefer
2005-10-14 18:17 ` Mikael Magnusson
2005-10-14 16:54 ` Andrey Borzenkov
1 sibling, 1 reply; 6+ messages in thread
From: Bart Schaefer @ 2005-10-14 16:50 UTC (permalink / raw)
To: Mikael Magnusson, zsh-workers
On Oct 14, 6:11pm, Mikael Magnusson wrote:
} Subject: 'zsh -ic exit' hangs
What version of zsh? I can't reproduce this with 4.0.6, 4.2.5, or
4.3.0-dev.
Can you reproduce it with "zsh -fic exit"? If not it probably results
from something in your startup files.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 'zsh -ic exit' hangs
2005-10-14 16:50 ` Bart Schaefer
@ 2005-10-14 18:17 ` Mikael Magnusson
2005-10-14 18:20 ` Mikael Magnusson
0 siblings, 1 reply; 6+ messages in thread
From: Mikael Magnusson @ 2005-10-14 18:17 UTC (permalink / raw)
To: zsh-workers
On 10/14/05, Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Oct 14, 6:11pm, Mikael Magnusson wrote:
> } Subject: 'zsh -ic exit' hangs
>
> What version of zsh? I can't reproduce this with 4.0.6, 4.2.5, or
> 4.3.0-dev.
>
> Can you reproduce it with "zsh -fic exit"? If not it probably results
> from something in your startup files.
Hmm, no, it only happens without -f. I'll experiment a bit with my
.zshrc and see if i can figure out what it is.
--
Mikael Magnusson
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 'zsh -ic exit' hangs
2005-10-14 18:17 ` Mikael Magnusson
@ 2005-10-14 18:20 ` Mikael Magnusson
2005-10-14 18:37 ` DervishD
0 siblings, 1 reply; 6+ messages in thread
From: Mikael Magnusson @ 2005-10-14 18:20 UTC (permalink / raw)
To: zsh-workers
On 10/14/05, Mikael Magnusson <mikachu@gmail.com> wrote:
> On 10/14/05, Bart Schaefer <schaefer@brasslantern.com> wrote:
> > On Oct 14, 6:11pm, Mikael Magnusson wrote:
> > } Subject: 'zsh -ic exit' hangs
> >
> > What version of zsh? I can't reproduce this with 4.0.6, 4.2.5, or
> > 4.3.0-dev.
> >
> > Can you reproduce it with "zsh -fic exit"? If not it probably results
> > from something in your startup files.
>
> Hmm, no, it only happens without -f. I'll experiment a bit with my
> .zshrc and see if i can figure out what it is.
apparently this is the culprit,
alias exit=' exit'
(i have that so exit doesn't get saved in the history)
--
Mikael Magnusson
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 'zsh -ic exit' hangs
2005-10-14 16:11 'zsh -ic exit' hangs Mikael Magnusson
2005-10-14 16:50 ` Bart Schaefer
@ 2005-10-14 16:54 ` Andrey Borzenkov
1 sibling, 0 replies; 6+ messages in thread
From: Andrey Borzenkov @ 2005-10-14 16:54 UTC (permalink / raw)
To: zsh-workers; +Cc: Mikael Magnusson
[-- Attachment #1: Type: text/plain, Size: 391 bytes --]
On Friday 14 October 2005 20:11, Mikael Magnusson wrote:
> I was just testing around trying to find out which part of my startup
> files take the longest when i stumbled upon this bug,
> zsh -ic exit
[...]
> +++ killed by SIGKILL +++
>
I can't reproduce it:
{pts/3}% zsh -ic exit
{pts/3}% echo $ZSH_VERSION
4.2.5
any special settings in zsh{env,rc}? Does it happen with zsh -ifc?
-andrey
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-14 18:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-14 16:11 'zsh -ic exit' hangs Mikael Magnusson
2005-10-14 16:50 ` Bart Schaefer
2005-10-14 18:17 ` Mikael Magnusson
2005-10-14 18:20 ` Mikael Magnusson
2005-10-14 18:37 ` DervishD
2005-10-14 16:54 ` Andrey Borzenkov
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).