Problem with TBrowser x86-64 / i386

Hello,

I am having an issue with TBrowser between different ROOT versions…

I have a ROOT file produced with /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.06/i686-slc5-gcc43-opt/root. When I try to inspect that file with a TBrowser within a compiled version 5.32.00 (macosx106-x86_64-gcc-4.2) I got the following stack-trace:

Thread 1 (process 84916):
#0 0x00007fff86928b28 in wait4 ()
#1 0x00007fff8693d0e6 in system ()
#2 0x00000001000e717c in TUnixSystem::StackTrace ()
#3 0x00000001000e3cd1 in TUnixSystem::DispatchSignals ()
#4
#5 0x000000010435b085 in _XReply ()
#6 0x000000010433e847 in XAllocColor ()
#7 0x00000001042416b3 in find_useable_visual ()
#8 0x0000000104241d82 in query_screen_visual_id ()
#9 0x000000010424359b in create_asvisual_for_id ()
#10 0x00000001042048d2 in TASImage::InitVisual ()
#11 0x000000010420ecb3 in TASImage::ReadImage ()
#12 0x0000000103522463 in TImage::Open ()
#13 0x00000001039258f4 in TGPicturePool::GetPicture ()
#14 0x000000010393cfbc in TGVSplitter::TGVSplitter ()
#15 0x000000010397abc1 in TRootBrowser::CreateBrowser ()
#16 0x000000010397b63d in TRootBrowser::TRootBrowser ()
#17 0x000000010397b778 in TRootBrowser::NewBrowser ()
#18 0x0000000103c544da in G__G__Gui3_398_0_46 ()
#19 0x00000001008a0d8a in Cint::G__CallFunc::Execute ()
#20 0x00000001000a4081 in TCint::CallFunc_ExecInt ()
#21 0x00000001000cf0d0 in TMethodCall::Execute ()
#22 0x000000010003b8bf in TPluginHandler::ExecPlugin ()
#23 0x0000000103995580 in TRootGuiFactory::CreateBrowserImp ()
#24 0x00000001000111a0 in TBrowser::TBrowser ()
#25 0x00000001001e3a9f in G__G__Base1_79_0_3 ()
#26 0x000000010089e436 in Cint::G__ExceptionWrapper ()
#27 0x0000000100961e7c in G__execute_call ()
#28 0x000000010096369b in G__call_cppfunc ()
#29 0x0000000100937145 in G__interpret_func ()
#30 0x0000000100925cb0 in G__getfunction ()
#31 0x00000001008ed0a1 in G__define_var ()
#32 0x000000010098c5db in G__exec_statement ()
#33 0x00000001008e2f2f in G__exec_tempfile_core ()
#34 0x00000001008e3236 in G__exec_tempfile_fp ()
#35 0x0000000100999df8 in G__process_cmd ()
#36 0x00000001000a631e in TCint::ProcessLine ()
#37 0x0000000100008850 in TApplication::ProcessLine ()
#38 0x000000010127a5fc in TRint::HandleTermInput ()
#39 0x0000000101278e67 in TTermInputHandler::Notify ()
#40 0x000000010127b0dd in TTermInputHandler::ReadNotify ()
#41 0x00000001000e3992 in TUnixSystem::CheckDescriptors ()
#42 0x00000001000e3ea6 in TUnixSystem::DispatchOneEvent ()
#43 0x0000000100061f2d in TSystem::InnerLoop ()
#44 0x0000000100064df3 in TSystem::Run ()
#45 0x0000000100006d87 in TApplication::Run ()
#46 0x000000010127accb in TRint::Run ()
#47 0x0000000100001960 in main ()

On the same file, the same v5.32.00 version compiled in 32-bits (macosx106-i386-gcc-4.2) gives no errors.

Unfortunately I have no config.log, however in both cases I compiled them with Python 2.7 (private installation) and flags --enable-builtin-freetype --disable-xrootd. The only flag I changed was the architecture macosx / macosx64.

Is there anything I missed in configuring before compilation so that I got a crash in x86-64 not seen with i386 ?

Thanks a lot in advance.

Cheers,
Sergio

v5.32.00.macosx106-i386-gcc-4.2-python27

See:

Fantastic, it works now perfectly.

Thanks a lot Olivier.

Cheers, Sergio

I made a FAQ with it: root.cern.ch/drupal/faq#n783
Is it what you did ?

Hi,

not at all. I did not uninstall those packages but just set the library paths. For a MacPorts installation:

--with-x11-libdir=/opt/local/lib 
--with-xpm-libdir=/opt/local/lib 
--with-xft-libdir=/opt/local/lib  
--with-xext-libdir=/opt/local/lib

Thanks. I did not know which one you took in that long post. I updated the FAQ.