From owner-freebsd-current@FreeBSD.ORG Tue Aug 31 10:30:07 2004 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 9110816A4CE for ; Tue, 31 Aug 2004 10:30:07 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id E358B43D4C for ; Tue, 31 Aug 2004 10:30:06 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.42 (FreeBSD)) id 1C25rt-000Ple-Dm for current@freebsd.org; Tue, 31 Aug 2004 14:28:01 +0400 From: Vladimir Grebenschikov To: "current@freebsd.org" Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Tue, 31 Aug 2004 14:28:00 +0400 Message-Id: <1093948080.29903.14.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 1.5.93FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Subject: sysutils/strace wilderness on 6-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 10:30:07 -0000 Hi (fresh -CURREMT and fresh strace from ports, UP machine) It silmple does nothing - sleeps foreaver in suspended: # strace /bin/ls ^T load: 0.14 cmd: strace 98957 [suspended] 0.00u 0.00s 0% 760k ^C # child program does not executed too. But if do sometimes (often) if I do # truss strace /bin/ls (it works as expected) and then # strace /bin/ls execve(0xbfbfe0e0, [0xbfbfe5c4], [/* 0 vars */]) = 0 mmap(0, 3880, PROT_READ|PROT_WRITE, MAP_ANON, -1, 0) = 0x28071000 munmap(0x28071000, 3880) = 0 __sysctl([...], 0x2806da4c, 0xbfbfe378, NULL, 0) = 0 mmap(0, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0x28071000 issetugid(0) = 0 open("/etc/libmap.conf", O_RDONLY) = 3 ... strace start work as expected, but only one time, second time it stick again. view from KDB: [thread 100016] Stopped at kdb_enter+0x30: leave db> ps pid proc uarea uid ppid pgrp flag stat wmesg wchan cmd 99035 c32448c0 d6a85000 207 99034 99034 0020002 stop[SUSP] strace 99034 c21f8a80 d7911000 207 98930 99034 0004002 [SLPQ pioctl 0xc32449e8][SLP] strace -- Vladimir B. Grebenchikov vova@fbsd.ru