From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 27 00:59:17 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2663B16A400 for ; Mon, 27 Mar 2006 00:59:17 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59CED43D48 for ; Mon, 27 Mar 2006 00:59:16 +0000 (GMT) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id 78379131DF6; Mon, 27 Mar 2006 11:29:15 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 57480867FC; Mon, 27 Mar 2006 11:29:15 +1030 (CST) Date: Mon, 27 Mar 2006 11:29:15 +1030 From: Greg 'groggy' Lehey To: "Rick C. Petty" Message-ID: <20060327005915.GY25392@wantadilla.lemis.com> References: <20060326072009.GL25392@wantadilla.lemis.com> <20060326081719.GB753@turion.vk2pj.dyndns.org> <20060326214307.GA24969@megan.kiwi-computer.com> <20060326072009.GL25392@wantadilla.lemis.com> <20060326073657.GB19681@megan.kiwi-computer.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qx542RXz7QAsGbWW" Content-Disposition: inline In-Reply-To: <20060326214307.GA24969@megan.kiwi-computer.com> <20060326073657.GB19681@megan.kiwi-computer.com> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: FreeBSD Hackers Subject: Re: Programs not accepting input? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 00:59:17 -0000 --qx542RXz7QAsGbWW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sunday, 26 March 2006 at 1:36:57 -0600, Rick C. Petty wrote: > On Sun, Mar 26, 2006 at 05:50:09PM +1030, Greg 'groggy' Lehey wrote: >> In the last month or two I've seen increasing occurrences of programs >> refusing keyboard input after they've been running for a while >> (between hours and days). They still respond to the mouse. At first >> I thought it was hardware, but it happens on a number of different >> machines, and only with certain programs, all of them X clients. > > > >> One thing that the machines have in common is that they all run x2x > > I noticed very similar problems on both 5.4-stable and 6.0-RELEASE > boxes running xorg. I've never used x2x, but I was running x11vnc, > which I ended up assuming was the culprit. It's a really strange > behavior-- I would have two rxvts side-by-side, one accepting > keyboard input and the other I had to cut/paste text using the > mouse. It was even more frustrating when it would happen in gaim & > mozilla windows! The same gaim process wouldn't accept keyboard > input in the conversation window but the buddy window did responded > to commands (e.g. control-A brought up the accounts window). Yes, this sounds quite close to what I'm experiencing. On Sunday, 26 March 2006 at 15:43:07 -0600, Rick C. Petty wrote: > On Sun, Mar 26, 2006 at 07:17:19PM +1100, Peter Jeremy wrote: >> >> Is the problem that the clients aren't taking focus or have focus >> but aren't accepting keyboard input? > > My problem wasn't about focus. I know the window had input focus (my > settings change the border color for focused windows), but the keyboard > events weren't accepted by certain clients. Same here. As mentioned in the original message, I can use the mouse to open a new window under firefox. The new window will accept keyboard input, the old one won't. It's almost as if it's deadlocking on input. Reminder: my final question was "how do I go about debugging this problem?". Greg -- See complete headers for address and phone numbers. --qx542RXz7QAsGbWW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFEJzjjIubykFB6QiMRAvsTAJ9+XtvYukUNubxRJJH7x/icMmmm5gCfQXDs X/6QGihWwg33ebkbxTLxo38= =z9Is -----END PGP SIGNATURE----- --qx542RXz7QAsGbWW--