From owner-freebsd-current@FreeBSD.ORG Sun Sep 18 14:12:36 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 4CEAB106566B for ; Sun, 18 Sep 2011 14:12:36 +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 CE4BD8FC08 for ; Sun, 18 Sep 2011 14:12:35 +0000 (UTC) Received: by fxg9 with SMTP id 9so4233640fxg.13 for ; Sun, 18 Sep 2011 07:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=Gc2K1oW0qSiLMPIWqCoDveD1odAk9hrqNKfPcF5g0lY=; b=fSuzY/tDACrFkgEAtoXnWGV6KNDkRoxegBdlVI3jFYi93Vo3uVsrWphqYUheoVnmmf 8B/2EGCQrRvWQKOHxIvIgs0leNmTh2tmuXN52UFZ5yqeFKxaDJn640kkkNY5tcaQrxKa wkGHb+Ivo9bfwPoVcjIpBA0v2nxSJpkHOe2sA= Received: by 10.223.98.146 with SMTP id q18mr3355714fan.57.1316353566454; Sun, 18 Sep 2011 06:46:06 -0700 (PDT) Received: from localhost ([95.69.173.122]) by mx.google.com with ESMTPS id f25sm18344218faf.7.2011.09.18.06.46.03 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Sep 2011 06:46:03 -0700 (PDT) From: Mikolaj Golub To: Anton Yuzhaninov References: <4E5E46A4.3060705@citrin.ru> <4E6A99A9.1000204@delphij.net> X-Comment-To: Anton Yuzhaninov Sender: Mikolaj Golub Date: Sun, 18 Sep 2011 16:46:01 +0300 In-Reply-To: (Anton Yuzhaninov's message of "Wed, 14 Sep 2011 06:17:45 +0000 (UTC)") Message-ID: <864o0adkva.fsf@kopusha.home.net> 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: Sun, 18 Sep 2011 14:12:36 -0000 On Wed, 14 Sep 2011 06:17:45 +0000 (UTC) Anton Yuzhaninov wrote to Xin LI: AY> On Fri, 09 Sep 2011 15:56:41 -0700, Xin LI wrote: XL>> -----BEGIN PGP SIGNED MESSAGE----- XL>> Hash: SHA256 XL>> XL>> On 08/31/11 07:35, Anton Yuzhaninov wrote: >>> It seems to be truss(1) is broken on current >>> >>> :~> truss /bin/echo x x truss: can not get etype: No such process >>> >>> FreeBSD 9.0-BETA1 #0 r224884M i386 >>> >>> from ktrace of turss >>> >>> 3162 truss CALL >>> __sysctl(0xbfbfea00,0x4,0xbfbfe9e0,0xbfbfea10,0,0) 3162 truss >>> SCTL "kern.proc.sv_name.3163" 3162 truss RET __sysctl -1 >>> errno 3 No such process XL>> XL>> Can't seem to be reproducable here, did I missed anything? (note that XL>> you may need a full world/kernel build). XL>> AY> Problem still here after svn up and rebuild world/kernel AY> :~> ktrace -t+ truss /usr/bin/true AY> truss: can not get etype: No such process Could you please run ktrace with -i option? The behavior is like if ptrace(PT_TRACE_ME) failed in the child by some reason. Unfortunately, truss does not check this. AY> Full ktrace: AY> http://dl.dropbox.com/u/8798217/tmp/truss_ktrace.txt AY> FreeBSD 9.0-BETA2 #1 r225504M AY> i386 AY> Kernel config is not GENERIC - main difference - DTrace added: AY> http://dl.dropbox.com/u/8798217/tmp/kernconf.txt AY> -- AY> Anton Yuzhaninov AY> _______________________________________________ AY> freebsd-current@freebsd.org mailing list AY> http://lists.freebsd.org/mailman/listinfo/freebsd-current AY> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Mikolaj Golub