From owner-svn-src-head@FreeBSD.ORG Thu Apr 30 09:00:04 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12D3D106564A; Thu, 30 Apr 2009 09:00:04 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail08.syd.optusnet.com.au (mail08.syd.optusnet.com.au [211.29.132.189]) by mx1.freebsd.org (Postfix) with ESMTP id 7DCB28FC12; Thu, 30 Apr 2009 09:00:03 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c122-107-120-227.carlnfd1.nsw.optusnet.com.au [122.107.120.227]) by mail08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n3U8xsII021378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Apr 2009 18:59:56 +1000 Date: Thu, 30 Apr 2009 18:59:49 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Bruce Evans In-Reply-To: <20090430172939.M1225@besplex.bde.org> Message-ID: <20090430184028.N1605@besplex.bde.org> References: <200904300124.n3U1Or1w097927@svn.freebsd.org> <20090430162311.T2904@delplex.bde.org> <20090430110739.682cc989.stas@FreeBSD.org> <20090430.011913.-1023162474.imp@bsdimp.com> <20090430172939.M1225@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stas@FreeBSD.org, svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, "M. Warner Losh" Subject: Re: svn commit: r191677 - head/usr.bin/du X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2009 09:00:04 -0000 On Thu, 30 Apr 2009, Bruce Evans wrote: > Testing processes blocked in sleep(100) shows some bugs in truss(1): > ... > - under -current, truss with -p is broken. It now aborts the nanosleep() > immediately with EINTR. ktrace with -p still works correctly. This seems to be because truss now uses ptrace() instead of procfs, and ptrace() (PT_ATTACH?) generally aborts sleeps so that debuggers can get control. Another bug is that gdb -p is now broken on ref8-{amd64,i386}.freebsd.org: % GNU gdb 6.1.1 [FreeBSD] % ... % Attaching to process 19123 % /scratch/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. % A problem internal to GDB has been detected, % further debugging may prove unreliable. % Quit this debugging session? (y or n) [y] [kills process 19123?] % /scratch/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. % A problem internal to GDB has been detected, % further debugging may prove unreliable. % Create a core file of GDB? (y or n) [n] Bruce