bchen@ESVAX.BERKELEY.EDU (Benjamin Chen) (09/28/89)
I'm stumped by this error message: XIO: fatal IO error 14 (Bad address) on X server "unix:0.0" after 2 requests (2 known processed) with 0 events remaining. I have localhost and my hostname xhosted correctly. I tried just doing a straight XOpenDisplay in the same program and this seems to work fine. The error seems to occur after I call XtInitiialize: toplevel = XtInitialize("sample", "sample", xrmOpts, xrmNumOpts, &argc, &argv); where xrmOpts = NULL, xrmNumOpts = 0, and argc and argv hold the correct values. This call is in a part of a graphics package I'm currently writing for our CAD program. The funny thing is that the stub that tests the package works, and CAD program that uses the package fails at the line above (with identical parameters!). Help! BC BTW: I'm running R3 with a Sun 3/60 with a cgfour display. Benjamin Chen Office: 550-A4 Cory Hall, 2-4332 UUCP: !ucbvax!esvax!bchen HEPNET: LBL::"bchen@esvax.Berkeley.EDU"