From owner-freebsd-questions Fri Aug 22 18:08:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA13741 for questions-outgoing; Fri, 22 Aug 1997 18:08:25 -0700 (PDT) Received: from nico.telstra.net (nico.telstra.net [139.130.204.16]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id SAA13736 for ; Fri, 22 Aug 1997 18:08:21 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by nico.telstra.net (8.6.10/8.6.10) with ESMTP id LAA08380; Sat, 23 Aug 1997 11:07:44 +1000 Received: (grog@localhost) by freebie.lemis.com (8.8.7/8.6.12) id KAA07479; Sat, 23 Aug 1997 10:37:40 +0930 (CST) Message-ID: <19970823103739.45226@lemis.com> Date: Sat, 23 Aug 1997 10:37:39 +0930 From: Greg Lehey To: Ron Steele Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Warning: Select failed; error code 22 References: <199708221526.KAA16430@iworks.InterWorks.org> <33FDCA16.30B@dc.infi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <33FDCA16.30B@dc.infi.net>; from Ron Steele on Fri, Aug 22, 1997 at 01:19:18PM -0400 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Aug 22, 1997 at 01:19:18PM -0400, Ron Steele wrote: > Daniel M. Eischen wrote: >> >>> I'm having trouble with certain X-programs. I can start the program, for >>> example xemacs, and run it for a few seconds, then it hangs and the >>> terminal I started it from is full with lines of "Warning: Select failed; >>> error code 22". I have to kill them. >>> This is *very annoying*. >>> >>> Anyone that knows about this problem? I've tried switching to another >>> window manager without luck. >> >> That's very interesting. I've experienced the same exact thing but >> under Solaris 2.5 and CDE on an RDI Sparcbook. The windows seem to >> lock (as if NUM lock were on in Xfree) and the mouse buttons don't >> work correctly. Sometimes everything will return to normal and >> I'll get a few tens of messages saying the same thing: >> >> Warning: Select failed; error code 22 > > And I have seen the same thing under HP-UX versions 9.xx and 10.xx. > It only happened, or at least was ony apparent while running xemacs. > With a different version of xemacs the problem went away. Error 22 is EINVAL, "Invalid argument", which covers a multitude of sins. Don't expect *any* connection when it's reported in different scenarios. > I've never seen this under FreeBSD. I've frequently seen it under FreeBSD. Greg