Hanging with 100% CPU in glXQueryExtension
Hanging with 100% CPU in glXQueryExtension
- Subject: Hanging with 100% CPU in glXQueryExtension
- From: John Allison <email@hidden>
- Date: Wed, 10 Dec 2014 12:57:52 +0000
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@hiddenHome: 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@hidden)
This email sent to email@hidden