From: Clint Olsen <olsenc@ichips.intel.com>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Zsh 3.1.6 still hangs on for loops utilizing lots of stdout
Date: Wed, 16 Feb 2000 11:08:15 -0800 [thread overview]
Message-ID: <20000216110815.D36738@ichips.intel.com> (raw)
In-Reply-To: <000203162102.ZM8092@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Thu, Feb 03, 2000 at 04:21:02PM -0800
I went ahead and ran with set -x. It is failing in the middle of one of
the cats (no meow):
...
+/afs/pdx/proj/otools/bin/AIX/zsh:8> cat x_0m0fm00pm_d_m4_250.char_summary
+/afs/pdx/proj/otools/bin/AIX/zsh:6> read file
+/afs/pdx/proj/otools/bin/AIX/zsh:8> cat x_0m0fm00pm_d_m4_350.char_summary
+/afs/pdx/proj/otools/bin/AIX/zsh:6> read file
+/afs/pdx/proj/otools/bin/AIX/zsh:8> cat x_0m0fm01p1_d_m2_150.char_summary
+/afs/pdx/proj/otools/bin/AIX/zsh:6> read file
+/afs/pdx/proj/otools/bin/AIX/zsh:8> cat x_0m0fm01p1_d_m4_250.char_summary
The shell hangs. ^Z nor ^C cause it to return a prompt.
-Clint
On Feb 03, Bart Schaefer wrote:
> On Feb 3, 10:45am, Clint Olsen wrote:
> > Subject: Zsh 3.1.6 still hangs on for loops utilizing lots of stdout
> >
> > for file in *.something
> > do
> > cat $file
> > done > /tmp/concat
>
> Have you tried doing this with "set -x" (aka "setopt xtrace") in effect?
> You should then get one line written to standard error for each "cat"
> that executes. This may help narrow down where the failure is.
>
> You're certain that none of the *.something files is a named pipe or
> other device special file? What does "ps" say the state of the process
> is at the time that it hangs? (I.e., you're sure the process isn't in
> state D, disk wait?)
next prev parent reply other threads:[~2000-02-16 19:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-03 18:45 Clint Olsen
2000-02-04 9:24 ` Alexandre Duret-Lutz
[not found] ` <000203162102.ZM8092@candle.brasslantern.com>
2000-02-16 19:08 ` Clint Olsen [this message]
2000-02-04 12:30 Sven Wischnowsky
2000-02-04 16:11 ` Alexandre Duret-Lutz
2000-02-07 10:15 Sven Wischnowsky
2000-02-17 9:20 Sven Wischnowsky
2000-02-17 17:18 ` Bart Schaefer
2000-02-18 9:44 Sven Wischnowsky
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=20000216110815.D36738@ichips.intel.com \
--to=olsenc@ichips.intel.com \
--cc=zsh-workers@sunsite.auc.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).