Subject: Re: Strange problem (tcsetpgrp)
To: NetBSD-current users list <current-users@netbsd.org>
From: Julio Merino <slink@unixbsd.org>
List: current-users
Date: 04/10/2002 15:52:34
--6zdv2QT/q3FMhpsV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 10, 2002 at 03:38:15PM +0300, Mihai Chelaru wrote:
> I encountered this problem too but only in this case: being root and usin=
g sh
> shell.

Ok, so it is a problem of the sh shell (I'm using it too). But it happened
to me also beeing a normal user, not root.

I'll fill a PR after checking the mailing lists (as said in another message=
).

Thanks.

>=20
> Mihai
>=20
> Julio Merino wrote:
>=20
> > 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...
> >
> > Thanks.
> >
> > --
> > Of course it runs NetBSD - http://www.netbsd.org
> > Julio Merino <jmmv@hispabsd.org>
> >
> >   ---------------------------------------------------------------------=
---
> >    Part 1.2Type: application/pgp-signature

--=20
Of course it runs NetBSD - http://www.netbsd.org
Julio Merino <jmmv@hispabsd.org>

--6zdv2QT/q3FMhpsV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8tEOizz00ZOPKycwRAkqUAKCco5+CWUlpDWHhvO8/Uo937LxYpACeJ9pK
HrWJsc2jFyv12KCPAiDKo90=
=SXx9
-----END PGP SIGNATURE-----

--6zdv2QT/q3FMhpsV--