From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 14 08:30:12 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 399AA106566B for ; Fri, 14 Oct 2011 08:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F11E98FC21 for ; Fri, 14 Oct 2011 08:30:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9E8UB28069474 for ; Fri, 14 Oct 2011 08:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9E8UBg5069469; Fri, 14 Oct 2011 08:30:11 GMT (envelope-from gnats) Resent-Date: Fri, 14 Oct 2011 08:30:11 GMT Resent-Message-Id: <201110140830.p9E8UBg5069469@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dietmar Schmidt Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F3A61065673 for ; Fri, 14 Oct 2011 08:28:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 2030C8FC1B for ; Fri, 14 Oct 2011 08:28:26 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9E8SPHD037793 for ; Fri, 14 Oct 2011 08:28:25 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9E8SPv3037792; Fri, 14 Oct 2011 08:28:25 GMT (envelope-from nobody) Message-Id: <201110140828.p9E8SPv3037792@red.freebsd.org> Date: Fri, 14 Oct 2011 08:28:25 GMT From: Dietmar Schmidt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/161578: strace is not working X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 08:30:12 -0000 >Number: 161578 >Category: ports >Synopsis: strace is not working >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 14 08:30:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Dietmar Schmidt >Release: 8.2, 9.0-BETA3 >Organization: >Environment: FreeBSD X.X.X 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: strace is not working in newer FreeBSD versions. In 8.0 FreeBSD works as expected. in 8.2 and 9.0-BETA3 strace does not work. Not sure for 8.1, sorry. The output of strace is "pread: Device busy" for every syscall? and "PIOCRUN: Input/output error trouble opening proc file" at the end of the strace output. I know about truss and ktrace, but we use strace for compatibility with other unixes/linux. >How-To-Repeat: strace ps strace ls >Fix: The error occurs in syscall.c line 1300 if (pread(tcp->pfd_reg, ®s, sizeof(regs), 0) < 0) { unsure how to fix it. >Release-Note: >Audit-Trail: >Unformatted: