From owner-freebsd-stable@FreeBSD.ORG Mon Apr 10 09:45:36 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81AF916A400 for ; Mon, 10 Apr 2006 09:45:36 +0000 (UTC) (envelope-from jonas.wolz@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id E576A43D48 for ; Mon, 10 Apr 2006 09:45:35 +0000 (GMT) (envelope-from jonas.wolz@freenet.de) Received: from [194.97.55.192] (helo=mx8.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.61) (envelope-from ) id 1FSsxi-0007wm-Pv for stable@freebsd.org; Mon, 10 Apr 2006 11:45:34 +0200 Received: from p54a437bd.dip0.t-ipconnect.de ([84.164.55.189] helo=pc1) by mx8.freenet.de with esmtpsa (ID jonas.wolz@freenet.de) (TLSv1:AES256-SHA:256) (Exim 4.61-RC1 #1) id 1FSsxi-0000h7-GK for stable@freebsd.org; Mon, 10 Apr 2006 11:45:34 +0200 Received: from jonas by pc1 with local (Exim 4.50) id 1FSsxa-0001Z4-SF for stable@freebsd.org; Mon, 10 Apr 2006 11:45:27 +0200 From: Jonas Wolz To: stable@freebsd.org Date: Mon, 10 Apr 2006 11:45:25 +0200 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604101145.26621.jonas.wolz@freenet.de> Cc: Subject: truss problems 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: Mon, 10 Apr 2006 09:45:36 -0000 Hello, while trying to get the gnash CVS version to work I noticed that on my system (FreeBSD 6.0-RELEASE) truss obviously has problems tracing firefox: truss prints somewhat "random" error messages and traces only some of the system calls firefox makes (opening a local file doesn't show up, for example). The output looks like that (I can provide the truss log if somebody is interested): jonas@nobby:/tmp$ truss -f -o ff.log firefox truss: PIOCWAIT top of loop: Input/output error truss: get_struct 0x0: Bad address jonas@nobby:/tmp$ truss -f -o ff.log firefox truss: Cannot malloc 1081891232 bytes for pollfd array: Cannot allocate memory jonas@nobby:/tmp$ truss -f -o ff.log firefox truss: cannot open /proc/0/mem: No such file or directory truss: cannot open /proc/0/mem: No such file or directory truss: Cannot malloc 1162889024 bytes for pollfd array: Cannot allocate memory jonas@nobby:/tmp$ truss -f -o ff.log firefox truss: PIOCWAIT top of loop: Input/output error truss: PIOCCONT: Input/output error truss: Cannot malloc 1162889024 bytes for pollfd array: Cannot allocate memory jonas@nobby:/tmp$ truss -f -o ff.log firefox truss: PIOCWAIT top of loop: Input/output error truss: Cannot malloc 1162889024 bytes for pollfd array: Cannot allocate memory jonas@nobby:/tmp$ truss -f -o ff.log firefox truss: cannot open /proc/0/mem: No such file or directory truss: Cannot malloc 1162889024 bytes for pollfd array: Cannot allocate memory jonas@nobby:/tmp$ truss -f -o ff.log firefox truss: PIOCWAIT top of loop: Input/output error truss: PIOCCONT: Input/output error truss: cannot open /proc/0/mem: No such file or directory truss: Cannot malloc 1162889024 bytes for pollfd array: Cannot allocate memory jonas@nobby:/tmp$ truss -f -o ff.log firefox truss: PIOCWAIT top of loop: Input/output error truss: get_struct 0x0: Bad address jonas@nobby:/tmp$ A similar Problem also occurs with KDE applications, but only if the application needs to start kdeinit (i.e. if other KDE applications are already running there is no such problem): jonas@nobby:/usr/sbin$ truss -f -o /tmp/ggg kedit truss: PIOCWAIT top of loop: Input/output error truss: PIOCWAIT top of loop: Input/output error truss: PIOCCONT: Input/output error truss: PIOCWAIT top of loop: Input/output error truss: PIOCCONT: Input/output error truss: PIOCWAIT top of loop: Input/output error truss: PIOCCONT: Input/output error truss: PIOCWAIT top of loop: Input/output error truss: PIOCCONT: Input/output error truss: PIOCWAIT top of loop: Input/output error truss: PIOCCONT: Input/output error truss: PIOCWAIT top of loop: Input/output error kbuildsycoca running... DCOP Cleaning up dead connections. jonas@nobby:/usr/sbin$ Other applications I tested (xedit, bash) seem to work fine. Can someone else also reproduce this problem/is this a known bug or is just something broken on my system? If you need more details please let me know. Jonas