zsh-workers
 help / color / mirror / code / Atom feed
From: Timothy Miller <tsm@cs.brown.edu>
Cc: zsh-workers@sunsite.dk
Subject: Re: fatal flaw zsh 4.0.1 on irix 6.3 & 6.5: suspend "ls -l|less" then resume hangs
Date: 11 Jul 2001 14:59:43 -0400	[thread overview]
Message-ID: <yehg0c3jnq8.fsf@water.cs.brown.edu> (raw)
In-Reply-To: "Bart Schaefer"'s message of "Tue, 10 Jul 2001 16:27:00 -0700"

On Tue, 10 Jul 2001 16:27:00 -0700, "Bart Schaefer" <schaefer@candle.brasslantern.com> wrote:
> On Jul 10,  5:26pm, Timothy Miller wrote:
> > 
> > Ok: zsh-3_1_6-pws-2 works; zsh-3_1_6-pws-3 fails.
> 
> One of these must be the culprit, then:
> 
> 	* Sven: 7605: Src/exec.c, Src/jobs.c: use killpg instead of
> 	  altering process group when leader exits, fix fg test to use
> 	  killpg.
> 
> 	* Sven: 7573: Src/signals.c, Src/exec.c, Src/utils.c: fix return
> 	  value of killjb(); pipelines which lose their leader get a new
> 	  one.
> 
> Can you send us some output of `ps' that shows the process groups of the
> processes involved, from both -pws-2 and anything after that?

Output is that of "ps -fljt ttyq4" with irrelevant (preexisting) processes
on that tty removed; zsh started as "./Src/zsh +Z -f".

-pws-2:
Initial prompt:
  F S      UID   PID  PPID  PGID   SID  C PRI NI  P    SZ:RSS      WCHAN    STIME TTY     TIME CMD
 b0 S      tsm  9487  1092  9487  1092  0  28 20  *   564:164   8039df60 14:46:22 ttyq4   0:00 ./Src/zsh +Z -f 

while "ls -lR /|cat" is running:
  F S      UID   PID  PPID  PGID   SID  C PRI NI  P    SZ:RSS      WCHAN    STIME TTY     TIME CMD
 b0 R      tsm  9489  9487  9489  1092 15  67 20  *   394:94           - 14:47:03 ttyq4   0:00 ls -lR / 
 b0 S      tsm  9487  1092  9487  1092  0  39 20  *   582:193   8039d510 14:46:22 ttyq4   0:00 ./Src/zsh +Z -f 
 b0 S      tsm  9490  9487  9489  1092  0  60 20  *    45:25    c04cd91c 14:47:03 ttyq4   0:00 cat 

after ^Z:
  F S      UID   PID  PPID  PGID   SID  C PRI NI  P    SZ:RSS      WCHAN    STIME TTY     TIME CMD
 b0 T      tsm  9489  9487  9489  1092  0  60 20  *   394:94           - 14:47:03 ttyq4   0:01 ls -lR / 
 b0 S      tsm  9487  1092  9487  1092  0  28 20  *   582:196   8039df60 14:46:22 ttyq4   0:00 ./Src/zsh +Z -f 
 b0 S      tsm  9490  9487  9489  1092  0  60 20  *    45:25    c04cd91c 14:47:03 ttyq4   0:00 cat 

after fg:
  F S      UID   PID  PPID  PGID   SID  C PRI NI  P    SZ:RSS      WCHAN    STIME TTY     TIME CMD
 b0 S      tsm  9489  9487  9489  1092  7  63 20  *   394:94    c27ae1d8 14:47:03 ttyq4   0:01 ls -lR / 
 b0 S      tsm  9487  1092  9487  1092  0  39 20  *   582:211   8039d510 14:46:22 ttyq4   0:00 ./Src/zsh +Z -f 
 b0 S      tsm  9490  9487  9489  1092  0  60 20  *    45:25    c04cd91c 14:47:03 ttyq4   0:00 cat 

********

-pws-3:
initial prompt:
  F S      UID   PID  PPID  PGID   SID  C PRI NI  P    SZ:RSS      WCHAN    STIME TTY     TIME CMD
 b0 S      tsm 13718  1092 13718  1092  0  28 20  *   563:163   8039df60 14:55:38 ttyq4   0:00 ./Src/zsh +Z -f 

while "ls -lR /|cat" is running:
  F S      UID   PID  PPID  PGID   SID  C PRI NI  P    SZ:RSS      WCHAN    STIME TTY     TIME CMD
 b0 R      tsm 13720 13718 13720  1092 29  74 20  *   394:94           - 14:56:08 ttyq4   0:00 ls -lR / 
 b0 S      tsm 13721 13718 13721  1092  0  60 20  *    45:25    c0c5131c 14:56:08 ttyq4   0:00 cat 
 b0 S      tsm 13718  1092 13718  1092  0  39 20  *   581:191   8039d510 14:55:38 ttyq4   0:00 ./Src/zsh +Z -f 

after ^Z:
  F S      UID   PID  PPID  PGID   SID  C PRI NI  P    SZ:RSS      WCHAN    STIME TTY     TIME CMD
 b0 S      tsm 13720 13718 13720  1092  0  60 20  *   394:94    c0c51320 14:56:08 ttyq4   0:01 ls -lR / 
 b0 T      tsm 13721 13718 13721  1092  0  60 20  *    45:25           - 14:56:08 ttyq4   0:00 cat 
 b0 S      tsm 13718  1092 13718  1092  0  39 20  *   581:192   8039d510 14:55:38 ttyq4   0:00 ./Src/zsh +Z -f 

This version of zsh has different behavior than the current one, it turns
out now I see it interactively: it just hangs uninterruptibly (except by
SIGKILL) after the ^Z, with no prompt and no additional printout of any
kind. My expect script was supposed to have caught that and flagged it as a
problem; I'm not sure what happened there.
   Tim


  parent reply	other threads:[~2001-07-11 19:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11 15:11 Timothy Miller
2001-06-12  8:15 ` Sven Wischnowsky
2001-06-12 15:00   ` Timothy Miller
     [not found]     ` <1010612154026.ZM24394@candle.brasslantern.com>
2001-06-12 16:13       ` Timothy Miller
2001-06-13  3:55         ` Bart Schaefer
2001-07-06 22:40           ` Timothy Miller
2001-06-14  7:32     ` Sven Wischnowsky
2001-07-06 22:52       ` Timothy Miller
2001-07-10 15:22       ` Timothy Miller
2001-07-10 16:25         ` Bart Schaefer
2001-07-10 21:26           ` Timothy Miller
2001-07-10 23:27             ` Bart Schaefer
2001-07-11  8:33               ` Sven Wischnowsky
2001-07-11  9:51                 ` Sven Wischnowsky
2001-07-11 18:59               ` Timothy Miller [this message]
2001-07-12  3:39                 ` Bart Schaefer
2001-07-30 20:18                   ` Timothy Miller
2001-07-30 21:24                     ` Bart Schaefer
2001-07-30 22:08                       ` Timothy Miller
2001-07-31  8:20                         ` Sven Wischnowsky
2001-07-31  8:30                           ` Borsenkow Andrej
2001-07-31 14:35                           ` Timothy Miller
2001-07-31 20:50                           ` Timothy Miller
2001-08-01  8:35                             ` Sven Wischnowsky
2002-02-25  9:31                               ` 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=yehg0c3jnq8.fsf@water.cs.brown.edu \
    --to=tsm@cs.brown.edu \
    --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).