Path: utzoo!attcan!uunet!ginosko!brutus.cs.uiuc.edu!usc!bloom-beacon!morgan.COM!jordan From: jordan@morgan.COM (Jordan Hayes) Newsgroups: comp.windows.x Subject: X Toolkit Error: Select failed (Motif) Message-ID: <8909132333.AA25879@Morgan.COM> Date: 13 Sep 89 23:33:30 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 24 I have a simple application that does XtAppAddInput(app, fd, XtInputReadMask, callback, NULL); with a file descriptor and adds whatever comes across that descriptor to an XmScrolledList ... if I let it run for a while, invariably it will exit with X Toolkit Error: Select failed This application has been running for months under SunView using the equivalent "watch this descriptor, call me when there's something to do" without incident. This is on a Sun 4, 4.0.3, etc. Looking at Xt/NextEvent.c, this happens when select() returns -1 and it's not because of EINTR ... hmmm, there's not that many things that can make this happen ... I tried to use trace to see what errno is when select returns -1, but it must be a heisenbug, because it ran overnight with no problem. Has anyone ever seen this happen before? /jordan