I downloaded 5.28 source and configured it with ./configure macosx. I’m running the latest X11 from http://xquartz.macosforge.org. Building goes without errors, but when I run any script that creates a TCanvas, it crashes. This includes the tutorials, so something must be wrong with my install. For example:
$ root -l $ROOTSYS/tutorials/graphs/graph.C
root [0]
Processing /usr/local/root/tutorials/graphs/graph.C...
*** Break *** bus error
===========================================================
There was a crash (#4 0x008b4cc8 in SigHandler ()).
This is the entire stack trace of all threads:
===========================================================
Thread 1 (process 46922 thread 0x10b):
#0 0x95b48189 in wait4 ()
#1 0x95b45cd4 in system$UNIX2003 ()
#2 0x008b6cf0 in TUnixSystem::StackTrace ()
#3 0x008b4b5f in TUnixSystem::DispatchSignals ()
#4 0x008b4cc8 in SigHandler ()
#5 <signal handler called>
#6 0x0370a536 in _X11TransWrite ()
#7 0x037006c7 in _XFlushInt ()
#8 0x037007b2 in _XReply ()
#9 0x036e397c in XAllocColor ()
#10 0x0397d72e in find_useable_visual ()
#11 0x0397dae9 in query_screen_visual_id ()
#12 0x039813da in create_asvisual_for_id ()
#13 0x03907ae6 in TASImage::InitVisual ()
#14 0x03914d97 in TASImage::ReadImage ()
#15 0x02cf6192 in TImage::Open ()
#16 0x0303035d in TGPicturePool::GetPicture ()
#17 0x0303615c in TGHScrollBar::TGHScrollBar ()
#18 0x02fa6ec1 in TGCanvas::TGCanvas ()
#19 0x0309560c in TRootCanvas::CreateCanvas ()
#20 0x03096ac9 in TRootCanvas::TRootCanvas ()
#21 0x030a0438 in TRootGuiFactory::CreateCanvasImp ()
#22 0x01707bb7 in TCanvas::Constructor ()
#23 0x01707cd1 in TCanvas::TCanvas ()
#24 0x0173eb3c in G__G__GPad_151_0_13 ()
#25 0x00fc7c82 in Cint::G__ExceptionWrapper ()
#26 0x010a09c1 in G__execute_call ()
#27 0x010a0e56 in G__call_cppfunc ()
#28 0x0107032a in G__interpret_func ()
#29 0x01061722 in G__getfunction ()
#30 0x01099d02 in G__new_operator ()
#31 0x0103560a in G__getexpr ()
#32 0x0101c1aa in G__define_var ()
#33 0x010d333d in G__exec_statement ()
#34 0x0107250b in G__interpret_func ()
#35 0x0106155e in G__getfunction ()
#36 0x0102b9a4 in G__getitem ()
#37 0x0102de3a in G__getexpr ()
#38 0x010404d2 in G__calc_internal ()
#39 0x010ea9e9 in G__process_cmd ()
#40 0x00876cdc in TCint::ProcessLine ()
#41 0x00876edf in TCint::ProcessLineSynch ()
#42 0x007e0c03 in TApplication::ExecuteFile ()
#43 0x007df3ed in TApplication::ProcessLine ()
#44 0x000324e9 in TRint::Run ()
#45 0x00001bae 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
http://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.
===========================================================
#6 0x0370a536 in _X11TransWrite ()
#7 0x037006c7 in _XFlushInt ()
#8 0x037007b2 in _XReply ()
#9 0x036e397c in XAllocColor ()
#10 0x0397d72e in find_useable_visual ()
#11 0x0397dae9 in query_screen_visual_id ()
#12 0x039813da in create_asvisual_for_id ()
#13 0x03907ae6 in TASImage::InitVisual ()
#14 0x03914d97 in TASImage::ReadImage ()
#15 0x02cf6192 in TImage::Open ()
#16 0x0303035d in TGPicturePool::GetPicture ()
#17 0x0303615c in TGHScrollBar::TGHScrollBar ()
#18 0x02fa6ec1 in TGCanvas::TGCanvas ()
#19 0x0309560c in TRootCanvas::CreateCanvas ()
#20 0x03096ac9 in TRootCanvas::TRootCanvas ()
#21 0x030a0438 in TRootGuiFactory::CreateCanvasImp ()
#22 0x01707bb7 in TCanvas::Constructor ()
#23 0x01707cd1 in TCanvas::TCanvas ()
===========================================================
Root > Function graph() busy flag cleared
Thanks for your help!