Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2002 18:14:50 +1000
From:      Tim Robbins <tjr@FreeBSD.ORG>
To:        current@FreeBSD.ORG
Subject:   Job control & pipes
Message-ID:  <20020811181450.A63126@dilbert.robbins.dropbear.id.au>

next in thread | raw e-mail | index | archive | help
Hi,

Job control still does not work correctly on -CURRENT built on
Aug 11 13:52:57 EST 2002 (~4 hours ago):

$ su
Password:
cinq# suspend
Suspended (signal)
$ fg
su
cinq# suspend
Suspended (signal)
$ fg
su
cinq# Stopped (tty output)
(I get disconnected)

The problems with chpass getting suspended are still there, too.

There also seems to be something wrong with pipes: yes | more will fail
once in a while. 'more' dies like this:
(has just written the first screenful of y's to the screen)
 15142 more     RET   write 78/0x4e
 15142 more     CALL  read(0x4,0xbfbffbe3,0x1)
 15142 more     RET   read -1 errno 5 Input/output error
 15142 more     CALL  write(0x1,0x8061180,0x17)
 15142 more     GIO   fd 1 wrote 23 bytes
       "\^[[24;1H\0\0\0\0\^[[K\0\0\^[[?1l\^[>"
 15142 more     RET   write 23/0x17
 15142 more     CALL  fsync(0x2)
 15142 more     RET   fsync 0
 15142 more     CALL  ioctl(0x2,TIOCSETAW,0xbfbffb60)
 15142 more     RET   ioctl -1 errno 5 Input/output error
 15142 more     CALL  exit(0x1)

'yes' dies like this:
(has just written a big block of y's)
 14288 yes      RET   write 16384/0x4000
 14288 yes      CALL  write(0x1,0x804b000,0x4000)
 14288 yes      RET   write -1 errno 32 Broken pipe
 14288 yes      PSIG  SIGPIPE SIG_DFL

more is trying to read a character from the user's tty, but getting EIO
instead.


Tim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020811181450.A63126>