jch@batcomputer.tn.cornell.edu (Jeffrey C Honig) (03/16/89)
For the last six months I see this error on and off: X Toolkit Error: Select failed and my xclock disappears. This has happened on my 3/50 through X11R2, X11R3, uwm, twm, SunOS3.5 and 4.0.1. I'll go for weeks without seeing it and then all of a sudden I can't keep an xclock on my screen for more than a minute for weeks at a time. Anyone have any ideas? Any suggestions on how to diagnose this problem? Thanks. Jeff
swick@ATHENA.MIT.EDU (Ralph R Swick) (03/16/89)
> For the last six months I see this error on and off: > > X Toolkit Error: Select failed We have no other reports of a problem like this. I will send you under separate cover a patch to help diagnose this.
jordan@morgan.COM (Jordan Hayes) (09/14/89)
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