Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 1997 10:37:39 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Ron Steele <ron@dc.infi.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Warning: Select failed; error code 22
Message-ID:  <19970823103739.45226@lemis.com>
In-Reply-To: <33FDCA16.30B@dc.infi.net>; from Ron Steele on Fri, Aug 22, 1997 at 01:19:18PM -0400
References:  <199708221526.KAA16430@iworks.InterWorks.org> <33FDCA16.30B@dc.infi.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970823103739.45226>