From owner-freebsd-current@FreeBSD.ORG Tue Aug 31 15:14:50 2004 Return-Path: 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 2425316A4CE for ; Tue, 31 Aug 2004 15:14:50 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8D1543D2D for ; Tue, 31 Aug 2004 15:14:49 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i7VFEbW1013401; Tue, 31 Aug 2004 10:14:37 -0500 (CDT) (envelope-from dan) Date: Tue, 31 Aug 2004 10:14:37 -0500 From: Dan Nelson To: Vladimir Grebenschikov Message-ID: <20040831151437.GE33896@dan.emsphone.com> References: <1093948080.29903.14.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1093948080.29903.14.camel@localhost> X-OS: FreeBSD 5.3-BETA2 X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: "current@freebsd.org" Subject: Re: sysutils/strace wilderness on 6-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 15:14:50 -0000 In the last episode (Aug 31), Vladimir Grebenschikov said: > (fresh -CURREMT and fresh strace from ports, UP machine) > > It silmple does nothing - sleeps foreaver in suspended: > > # strace /bin/ls > ^T > load: 0.14 cmd: strace 98957 [suspended] 0.00u 0.00s 0% 760k > ^C > # This has happened on 5.x for ages. The quick fix is to ^Z, then fg, or kill -CONT the hung strace process from another vty. I don't know what strace does different from truss that makes it hang. Nowadays, truss does almost as good a job as strace, so I don't use it as often as I used to. The only thing I miss is strace's ability to print the name of blocking syscalls (read or sleep for example) as it waits. -- Dan Nelson dnelson@allantgroup.com