Subject: Re: Strange problem (tcsetpgrp)
To: Julio Merino <slink@unixbsd.org>
From: Steven M. Bellovin <smb@research.att.com>
List: current-users
Date: 04/10/2002 09:42:52
In message <20020410111619.GA25277@darkstar.local>, Julio Merino writes:
>
>--x+6KMIRAuhnl3hBn
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>Hi all
>
>I'm having some strange problems; this is NetBSD-1.5ZC on i386, from
>about one week old (I'm just recompiling new sources).
>
>The problem is the following: after doing some work, like executing
>programs, compiling things etc, I reach a point where I can't exec
>nothing else, getting the errors I paste below.
>
>For example, this is a session I did opening a xterm:
>
>/home/juli$ vim .Xresources
>/home/juli$ xrdb .Xresources
>/home/juli$ vim .Xresources
>tcsetpgrp failed, errno=3D25
>tcsetpgrp failed, errno=3D25
>
>/home/juli$ cp
>tcsetpgrp failed, errno=3D25
>tcsetpgrp failed, errno=3D25
>
>Although, if I close the xterm (or the console session) and I reopen
>it, the problem disapperes. I'm thinking that this is a bug, no idea
>where (maybe kernel? the shell?)... If you think it is, I'll fill
>a bug-report...


This is an old problem that has been discussed on the mailing list.  
I'm surprised I can't find a PR on it -- but of course, I've never 
filed one on it, either.

		--Steve Bellovin, http://www.research.att.com/~smb
		Full text of "Firewalls" book now at http://www.wilyhacker.com