From owner-freebsd-current Sat Jul 20 23:17:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77D8D37B400; Sat, 20 Jul 2002 23:17:45 -0700 (PDT) Received: from wellington.cnchost.com (wellington.concentric.net [207.155.252.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27A7743E42; Sat, 20 Jul 2002 23:17:45 -0700 (PDT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by wellington.cnchost.com id CAA27637; Sun, 21 Jul 2002 02:17:43 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] Message-ID: <200207210617.CAA27637@wellington.cnchost.com> To: Bruce Evans Cc: current@FreeBSD.ORG, ache@FreeBSD.ORG Subject: Re: suspend bug In-reply-to: Your message of "Sun, 21 Jul 2002 14:54:00 +1000." <20020721145145.R19118-100000@gamplex.bde.org> Date: Sat, 20 Jul 2002 23:17:41 -0700 From: Bakul Shah Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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