From owner-freebsd-current@FreeBSD.ORG Fri May 30 13:11:00 2003 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 3A52637B401 for ; Fri, 30 May 2003 13:11:00 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 972B543F3F for ; Fri, 30 May 2003 13:10:59 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4UKAwRq081995; Fri, 30 May 2003 15:10:58 -0500 (CDT) (envelope-from dan) Date: Fri, 30 May 2003 15:10:58 -0500 From: Dan Nelson To: Christopher Nehren Message-ID: <20030530201058.GA56916@dan.emsphone.com> References: <1054321418.46113.9.camel@prophecy.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1054321418.46113.9.camel@prophecy.dyndns.org> X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: programs not running under strace 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: Fri, 30 May 2003 20:11:00 -0000 In the last episode (May 30), Christopher Nehren said: > I've been having problems recently with strace. Here's example output > (no, nothing is left out): > > % strace /bin/ls > > And it doesn't print anything. I've tried building it without my CPUTYPE > /etc/make.conf variable (set to athlon-tbird; no other variables are > defined in make.conf except for the BDECFLAGS and some Perl stuff), > and I still get the same results. I'd like to be able to provide more > information, but I would probably use strace to do this in a normal > circumstance. :-) If someone can direct me to how I can retrieve more > information on the issue, I would be more than happy to employ it. If you hit ^T, does it print [iowait]? If so, I'm seeing the same thing :) It's intermittent, though. If I ru "ps axl | grep strace", I get: 75838 v5 S+ 0:00.01 strace ls 75839 v5 TL+ 0:00.00 strace ls It looks like strace forked a child, and it's hanging before it's able to run ls. If I kill -CONT 75839, the child exec's ls and strace traces it just fine. -- Dan Nelson dnelson@allantgroup.com