From owner-freebsd-current@FreeBSD.ORG Mon Sep 19 12:58:07 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D15141065672 for ; Mon, 19 Sep 2011 12:58:07 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5B72D8FC13 for ; Mon, 19 Sep 2011 12:58:06 +0000 (UTC) Received: by fxg9 with SMTP id 9so5256518fxg.13 for ; Mon, 19 Sep 2011 05:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=tTqDhM04pjFcLgw4VvJ5K/NQldPHKL3OmOWwsvR6eNQ=; b=jGKk1K6ICudBeEBWtc19zMWHKvUgTa4GKBKWYywEnRgEFJ/ZqP3rXty730qzf3OF4k XlzR9MMW9rF6Y7VjZXm/L4+PDrte6AqhATxnmUZZaynIPmncFdaVdIDF10qEn62UuKnD FakaD/D4S48avU7ceSDAJOPYsL7DLV7tynx28= Received: by 10.223.37.26 with SMTP id v26mr5120543fad.100.1316437086151; Mon, 19 Sep 2011 05:58:06 -0700 (PDT) Received: from localhost ([94.27.39.186]) by mx.google.com with ESMTPS id f25sm21715944faf.7.2011.09.19.05.58.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Sep 2011 05:58:04 -0700 (PDT) From: Mikolaj Golub To: Anton Yuzhaninov Organization: TOA Ukraine References: <4E5E46A4.3060705@citrin.ru> <4E6A99A9.1000204@delphij.net> <864o0adkva.fsf@kopusha.home.net> Sender: Mikolaj Golub Date: Mon, 19 Sep 2011 15:58:02 +0300 In-Reply-To: (Anton Yuzhaninov's message of "Mon, 19 Sep 2011 12:13:56 +0000 (UTC)") Message-ID: <86mxe0r8o5.fsf@in138.ua3> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@freebsd.org Subject: Re: truss X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 19 Sep 2011 12:58:07 -0000 On Mon, 19 Sep 2011 12:13:56 +0000 (UTC) Anton Yuzhaninov wrote to Mikolaj Golub: AY> On Sun, 18 Sep 2011 16:46:01 +0300, Mikolaj Golub wrote: MG>> Could you please run ktrace with -i option? The behavior is like if MG>> ptrace(PT_TRACE_ME) failed in the child by some reason. Unfortunately, truss MG>> does not check this. AY> ktrace -i for truss sleep 5 AY> http://dl.dropbox.com/u/8798217/tmp/truss_ktrace2.txt Although ptrace(PT_TRACE_ME,0,0,0) returned 0 the process did not stop after execve() and wait4() in parent (which was actually waiting for this stop) returned only after the child exit. No I idea why so far :-). -- Mikolaj Golub