ROOT on OS X Lion and X11

Hi all,

This week I installed Lion (and I’m now regretting it). I find the following problem which was not present with Snow Leopard:

root [0] TBrowser b

*** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:

Thread 1 (process 61132):
#0 0x00007fff84952168 in wait4 ()
#1 0x00007fff8f0e15f5 in system ()
#2 0x00000001079486a4 in TUnixSystem::StackTrace ()
#3 0x0000000107946a29 in TUnixSystem::DispatchSignals ()
#4
#5 0x000000010a6027b4 in _X11TransWrite ()
#6 0x000000010a5f9dde in _XFlushInt ()
#7 0x000000010a5f9f09 in _XReply ()
#8 0x000000010a5dbda7 in XAllocColor ()
#9 0x000000010a8fccfc in find_useable_visual ()
#10 0x000000010a8fcfaf in query_screen_visual_id ()
#11 0x000000010a8fd1c4 in create_asvisual_for_id ()
#12 0x000000010a8c3148 in TASImage::InitVisual ()
#13 0x000000010a8cc023 in TASImage::ReadImage ()
#14 0x0000000109783ac2 in TImage::Open ()
#15 0x0000000109e61209 in TGPicturePool::GetPicture ()
#16 0x0000000109e7d909 in TGVSplitter::TGVSplitter ()
#17 0x0000000109ec2fea in TRootBrowser::CreateBrowser ()
#18 0x0000000109ec40cb in TRootBrowser::TRootBrowser ()
#19 0x0000000109ec41fb in TRootBrowser::NewBrowser ()
#20 0x000000010a1a79da in G__G__Gui3_398_0_46 ()
#21 0x0000000108148b87 in Cint::G__CallFunc::Execute ()
#22 0x0000000107900f01 in TCint::CallFunc_ExecInt ()
#23 0x000000010792eacf in TMethodCall::Execute ()
#24 0x000000010788fc05 in TPluginHandler::ExecPlugin ()
#25 0x0000000109ee177b in TRootGuiFactory::CreateBrowserImp ()
#26 0x00000001078618da in TBrowser::TBrowser ()
#27 0x000000010799639a in G__G__Base1_79_0_3 ()
#28 0x000000010814611b in Cint::G__ExceptionWrapper ()
#29 0x00000001081f7bde in G__execute_call ()
#30 0x00000001081fd16f in G__call_cppfunc ()
#31 0x00000001081d5ce7 in G__interpret_func ()
#32 0x00000001081c3452 in G__getfunction ()
#33 0x0000000108194924 in G__define_var ()
#34 0x000000010822303b in G__exec_statement ()
#35 0x000000010818a6e8 in G__exec_tempfile_core ()
#36 0x000000010818aa16 in G__exec_tempfile_fp ()
#37 0x00000001082324ab in G__process_cmd ()
#38 0x0000000107907d36 in TCint::ProcessLine ()
#39 0x0000000107857161 in TApplication::ProcessLine ()
#40 0x0000000108b0d32e in TRint::HandleTermInput ()
#41 0x0000000107944ede in TUnixSystem::CheckDescriptors ()
#42 0x000000010794520b in TUnixSystem::DispatchOneEvent ()
#43 0x00000001078bc73e in TSystem::InnerLoop ()
#44 0x00000001078bef53 in TSystem::Run ()
#45 0x00000001078555f7 in TApplication::Run ()
#46 0x0000000108b0df84 in TRint::Run ()
#47 0x000000010784f9ff in main ()

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#5 0x000000010a6027b4 in _X11TransWrite ()
#6 0x000000010a5f9dde in _XFlushInt ()
#7 0x000000010a5f9f09 in _XReply ()
#8 0x000000010a5dbda7 in XAllocColor ()
#9 0x000000010a8fccfc in find_useable_visual ()
#10 0x000000010a8fcfaf in query_screen_visual_id ()
#11 0x000000010a8fd1c4 in create_asvisual_for_id ()
#12 0x000000010a8c3148 in TASImage::InitVisual ()
#13 0x000000010a8cc023 in TASImage::ReadImage ()
#14 0x0000000109783ac2 in TImage::Open ()
#15 0x0000000109e61209 in TGPicturePool::GetPicture ()
#16 0x0000000109e7d909 in TGVSplitter::TGVSplitter ()
#17 0x0000000109ec2fea in TRootBrowser::CreateBrowser ()
#18 0x0000000109ec40cb in TRootBrowser::TRootBrowser ()
#19 0x0000000109ec41fb in TRootBrowser::NewBrowser ()

I tried recompiling the latest ROOT (v5.30.01) but the problem persists. I suspect there is an issue with X11 in Lion as I also have some problems when forwarding X sessions over ssh. Has anyone else experienced this problem and can suggest a fix?

Thanks,
Greig

Hi,

did you even install X11 libraries from Fink or MacPorts? If so please remove them and only use the Apple provided X11 libs.

I’ve been running Lion from the day of its release without problems.

Cheers, Fons.