Dear X11 experts

I have been having trouble getting an X window for some time.  The symptom 
suddenly started about 3 months ago with Mavericks and the same thing is 
happening in Yosemite.  During all this time I have not changed X11 - it’s 
XQuartz 2.7.7 (xorg-server 1.15.2).  I re-installed it after updating to 
Yosemite.

With Yosemite, my application exited with
Error: Can't open display: 
/private/tmp/com.apple.launchd.TUuKDjPf4E/org.macosforge.xquartz:0

I then changed
DISPLAY=:0
and this time it hung, consuming 100% CPU.  My code is
void G4OpenGLXViewer::GetXConnection () {
  dpy = XOpenDisplay (0);
  if (!glXQueryExtension (dpy, &errorBase, &eventBase)) {
and the traceback is
#0      0x00007fff83ca4bf1 in _pthread_cond_wait ()
#1      0x0000000106e5efec in _xcb_conn_wait ()
#2      0x0000000106e5fd9d in _xcb_out_send ()
#3      0x0000000106e5fd3e in xcb_writev ()
#4      0x0000000106ea5b9a in _XSend ()
#5      0x0000000106e9d63b in XQueryExtension ()
#6      0x00000001056b1674 in glXQueryExtension ()
#7      0x000000010044c05b in G4OpenGLXViewer::GetXConnection() at 
/Users/johna/Geant4/dev/geant4/source/visualization/OpenGL/src/G4OpenGLXViewer.cc:154
This is the same symptom I was getting with Mavericks.

Ideas invited!

John

John Allison
[email protected]
Home: 01422 845624
Mobile: 07810 242262
9 Royd Terrace
Hebden Bridge
HX7 7BT




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to