RootX11ErrorHandler error with XQuartz 2.7.7

Hi.

Maybe I’m the only one suffering from this error.
The below is error message when I used XQuartz 2.7.7 with some TEve classes.

Is it because of XQuartz? It doesn’t show up when I used XQuartz 2.7.6.

Thank you in advance.

Genie

Error in : GLXBadContextTag (TGLWidget XID: 6292620, XREQ: 150)
TGLWidget: 6292620
TGVerticalFrame: 6292120
TGLSAFrame: 6292109
TGCompositeFrame: 6292108
TEveCompositeFrameInTab: 6292101
TGCompositeFrame: 6292100
TGTab: 6291588
TGHorizontalFrame: 6291579
TGVerticalFrame: 6291578
TGHorizontalFrame: 6291576
TGVerticalFrame: 6291565
TEveBrowser: 6291564
Error in TGLLockable::TakeLock: ‘TGLViewerBase’ unable to take DrawLock, already DrawLock
Error in TGLLockable::TakeLock: ‘TGLViewerBase’ unable to take DrawLock, already DrawLock
Error in TGLLockable::TakeLock: ‘TGLViewerBase’ unable to take DrawLock, already DrawLock
Error in TGLLockable::TakeLock: ‘TGLViewerBase’ unable to take DrawLock, already DrawLock
Error in TGLLockable::TakeLock: ‘TGLViewerBase’ unable to take DrawLock, already DrawLock

Hi,

We saw this in CMS when running remotely and when a GL window was created but was never mapped. TVirtualX still reported the window to be mapped and when the GL draw is issued, GLX context make current call crashes in XQuartz (as it has not been created as window was not mapped).

Are you running remotely, too?

This is apparently a bug in XQuartz. Somebody would have to report it to them so we can figure out how to fix this but I’m totally swamped and this can take a lot of work (or maybe not, I can give it a first try, it bothers me a lot, too). Also, it will be a while before a new version is released. I know this sucks, sorry :frowning:

Cheers,
Matevz

Hi.

Thanks for your comment.

I’m also using remotely.
I just issued a ticket on XQuartz page, so they might be reply me back soon.

I’ll update this post if I got replied by them.

Genie

Great, thanks! Let me know if they need me to chime in, I’ve also managed to build XQuartz on my mac from git so I can debug things here.

Soon, I hope :slight_smile:
Matevz

XQuartz team told me to try 2.7.8 beta 2 and it still gives the same error.
Hmm. I don’t know what’s the problem.
Maybe ROOT Eve team could give us some comments.

I’ll give it a try, too. This is the ticket, right?
xquartz.macosforge.org/trac/ticket/2056

Yes, right.
They uploaded beta3 and still it gives me the same error.
I offered the instruction how to reproduce the error.
Maybe in next version, that might be fixed I hope.