X Server Crashing whenever I open ROOT

Hi,

I’m running root on a linux based cluster via ssh command. I am running Mac OSX 10.8 with XQuartz 2.7.4 (as my X Server). ROOT is installed in a seperate directory and I link to it via a .bashrc file and a script to alter my PATH variables. Every time I try to open root, either to use the GUI via TBrowser or open a canvas, my X server completely crashes and I get the error:

This is a huge problem, as I witness this every time I open ROOT on my computer. I suspect it has to do with the limitations with XQuartz. Has anyone experienced this, and if so, has anyone figured out a workaround?

You may sort this problem out if you compile ROOT from the source code. If the problem persists compile with debugging symbols and then track down the problem. It might not be a ROOT bug though. Also you can try to update your OS.
PS: I have no experience with your OS.