Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2002 23:17:41 -0700
From:      Bakul Shah <bakul@bitblocks.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@FreeBSD.ORG, ache@FreeBSD.ORG
Subject:   Re: suspend bug 
Message-ID:  <200207210617.CAA27637@wellington.cnchost.com>
In-Reply-To: Your message of "Sun, 21 Jul 2002 14:54:00 %2B1000." <20020721145145.R19118-100000@gamplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Some more details:
> - this happens for csh but not for bash-1.
> - ktracing everything shows further strange behaviour.  ktrace causes a
>   kernel printf "Out of ktrace request objects.".  The login shell is
>   not lost immediately.  You get a shell prompt, but at least tty echo is
>   broken, and hitting return a few times causes all the shells to exit.

With zsh the login shell doesn't die but the suspended su
stays suspended after repeated fg attempts.

> The bug is actually in su.  It happens with a pre-KSEIII kernel.  Backing
> out rev.1.54 of su.c (which was apparently supposed to fix a related bug
> tcsh's fg command) fixes it.

Thanks very much for tracking this down!  Should've suspected su
first (sorry, Julian!).

It would be nice if we had a regression test for most
commands to prevent such breakage.  If there is a framework
in place people can add tests for individual commands.
Ideas, anyone?

-- bakul

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?200207210617.CAA27637>