From owner-freebsd-current Wed Aug 7 4:30:59 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 580D737B401 for ; Wed, 7 Aug 2002 04:30:54 -0700 (PDT) Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9EFF43E72 for ; Wed, 7 Aug 2002 04:30:52 -0700 (PDT) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 17cP1g-0003O3-00; Wed, 7 Aug 2002 13:30:52 +0200 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.5/8.12.5) with ESMTP id g77AcSMI022820 for ; Wed, 7 Aug 2002 12:38:28 +0200 (CEST) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.5/8.12.5/Submit) id g77AcS1X022819 for freebsd-current@freebsd.org; Wed, 7 Aug 2002 12:38:28 +0200 (CEST) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: Signals/jobs weirdness? Date: Wed, 7 Aug 2002 10:38:27 +0000 (UTC) Message-ID: References: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-current@freebsd.org 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 Julian Elischer wrote: > > ktracing bash shows that no SIGCONT is ever sent to the foreground > > job. > > are you tracing the shell or the child? Both, i.e. ktrace -i. It's a bash problem. $ less IrcLog ... ^Z [1]+ Stopped less IrcLog $ jobs [1]+ Running less IrcLog & Somehow, stopped jobs are marked as running in bash's bookkeeping. I'm currently digging around in bash (jobs.c) to figure out where and why this happens. It doesn't happen on ref5 with a bash built there. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message