[comp.windows.x] XIO: fatal IO error 22

jc@heart-of-goldmitre.org (John M Chambers) (03/06/89)

Well, here I am again with another "What's going on here?" question.
This is an X-windows installation on a Sun 3/260 running Sunos 3.4
(soon to be upgraded to 4.0.1; maybe that'll help; maybe not).

I've been trying to start xmh from .xinitrc, with occasional success.
Most of the time, however, it dies rapidly, with the message 
	XIO:  fatal IO error 22 (Invalid argument) on X server "unix:0.0"
on xinit's standard output.  When I start it by hand, it get the same
behavior.  I've been experimenting with varying the command-line args,
and I have some evidence that this is irrelevant.  Thus, in another
window, I just typed the command:
	xmh    -g 590x950+1+320 &
four times.  The first and fourth tries started just fine.  The second
and third died with the above error message.  

Also, when xmh does start up, I can often get through only 2 or 3
messages (most of which I delete, of course) before xmh dies the same
way.  I've taken to hitting the "Commit" button after each "Delete",
so I don't have to keep re-deleting the same things.  But it'd be
real nice if xmh would stay alive.

Oh, yes, xterm occasionally dies the same way, though none of the xterms
started from .xinitrc ever seem to die during startup like xmh does.  In 
fact, when I tried cutting the above xmh invocation from the other xterm 
window, the window evaporated just after I touched the left mouse button, 
and the "tail -f xinit.out" that I have running in the console window 
shows an "xterm: Invalid argument" message.

Does anyone have any idea what I'm doing wrong, or how to go about
debugging it?

-- 
From:	John Chambers <heart-of-gold.mitre.org!jc>
From	...!linus!!heart-of-gold!jc (John Chambers 617/217-2285)
[Can someone out there help me collect evidence as to who is stripping off
the ".mitre.org" from some - but not all - of the mail originating here?]