and after running this
program for several hours we get the following error message 'XIO: fatal
IO error 9 (Bad file number)
on X server "hosthame:0.0"'. Has anyone seen this error message
before? Is there a way to fix this
error? We are running this application on the console and there are
only a few other processes
running at the same time.
Thanks in advance for your help,
Michael Cohen
mco...@csc.com
|and after running this
|program for several hours we get the following error message 'XIO: fatal
|IO error 9 (Bad file number)
|on X server "hosthame:0.0"'. Has anyone seen this error message
|before? Is there a way to fix this
|error? We are running this application on the console and there are
|only a few other processes
|running at the same time.
That sounds like the display's file descriptor, "display->fd", has
been either closed or overwritten. You could print the correct fd value
after calling XOpenDisplay, then set up an IO error handler with
XSetIOErrorHandler(3x) to check which of those has occured. You will
probably end up debugging the application and looking for either bad
calls to close() or memory overwrites.
--
Mike Stroyan, mike_s...@fc.hp.com