From owner-freebsd-stable@FreeBSD.ORG Wed Dec 3 22:55:45 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CE92106564A for ; Wed, 3 Dec 2008 22:55:45 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id DE3478FC1B for ; Wed, 3 Dec 2008 22:55:44 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id mB3MtipS090944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 3 Dec 2008 16:55:44 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id mB3Mtgb6090929; Wed, 3 Dec 2008 16:55:42 -0600 (CST) (envelope-from dan) Date: Wed, 3 Dec 2008 16:55:42 -0600 From: Dan Nelson To: Vlad GALU Message-ID: <20081203225542.GG22076@dan.emsphone.com> References: <20081203152330.GD22076@dan.emsphone.com> <20081203170857.GE22076@dan.emsphone.com> <20081203185622.GF22076@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: Weird truss output X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 22:55:45 -0000 In the last episode (Dec 03), Vlad GALU said: > On Wed, Dec 3, 2008 at 8:56 PM, Dan Nelson wrote: > [...] > > Am I doing something wrong? I've applied the full diff, rebuilt > truss, now I get this: > -- cut here -- > root@goofy / # truss -p 52731 > SIGNAL 17 (SIGSTOP) > > -- UNKNOWN SYSCALL 1048535 -- > -- UNKNOWN SYSCALL 1048496 -- > -- UNKNOWN SYSCALL 1048559 -- > -- UNKNOWN SYSCALL 1048559 -- > -- UNKNOWN SYSCALL -8464 -- > -- UNKNOWN SYSCALL -8464 -- > -- UNKNOWN SYSCALL 527 -- > -- UNKNOWN SYSCALL 527 -- > /100084: read(1074283119,"\M-|\M^WP\^A",7356800) = 4 (0x4) > -- UNKNOWN SYSCALL 527 -- > -- UNKNOWN SYSCALL 7385248 -- > -- and here -- > > Perhaps I should mention that I block all signals from all threads, > except for one, where I do all the handling/cleanup. So you're back to your original behaviour basically? Not sure what's wrong; it all works great on my machine... Are you on a 64-bit system? I only have a Pentium-III here, so the big patch isn't guaranteed to work on anything except i386. The little patch inlined in my previous email is for i386-fbsd.c, but you should be able to make similar changes to amd64-fbsd.c (most of the diff just replaces "fsc." with "fsc->" ). -- Dan Nelson dnelson@allantgroup.com