Error in ROOT

Hi ,

Please can you help me in solving this error.

Sometimes it appears and sometimes not so i need to understand what is that?

thanks,

Mai

root [3] TBrowser b
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Error in <RootX11ErrorHandler>: GLXBadContext (XID: 6291709, XREQ: 149)

Hi, Can you please provide additional information. On which machine? remote login? what version of ROOT? from where you got the installation? etc.

Hi,

This happen when i am using root from LXPLUS account , i am using my mac mashine , Version 5.34/36

thanks,

Mai

do you access lxplus with:

 ssh -Y lxplus

?

You will need to upgrade to the latest latest version of XQuartz. See topic X11 forwarding through ssh on lxplus

Hi,

Yes i am using ssh -X -Y

i will try to check the latest version of XQuartz

thanks,

Mai

Hi,

The version release is the latest (i think)
XQuartz 2.7.10_beta2 (xorg-server 1.18.3)

what should i do now?

thanks,

Mai

Did you run the command

defaults write org.macosforge.xquartz.X11 enable_iglx -bool true

and rebooted your Mac to activate the new Quartz?

1 Like

Hi,

No, i mean my current XQuartz version is XQuartz 2.7.10_beta2 (xorg-server 1.18.3) , so i dont think i need to update it.

Also when i was trying to run my macro i got the below error, so i need to sort out where is the problem , is that related to ROOT , or XQuartz or my code itself.

sorry i am just a beginner so i need some details.

thanks,

Mai

root [1] Monopole t
(Monopole &) @0x7fef1abff028
root [2] t.Loop()
Warning in TFile::Append: Replacing existing TH1: hist_f51 (Potential memory leak).

*** Break *** segmentation violation

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

#0 0x00007fef1a0487be in waitpid () from /lib64/libc.so.6
#1 0x00007fef19fda5c9 in do_system () from /lib64/libc.so.6
#2 0x00007fef1aa9aa49 in TUnixSystem::StackTrace() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCore.so
#3 0x00007fef1aa9c94c in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCore.so
#4
#5 0x00007fef0fe0c24f in Monopole::SelectFirstSC(float&) () from /afs/cern.ch/user/m/melsawy/private/Monopole_Ntuple/CMSSW_8_0_13/src/MonopoleAnalysis/NtupleAnalyzer/test/Monopole_C.so
#6 0x00007fef0fe0c459 in Monopole::Loop() () from /afs/cern.ch/user/m/melsawy/private/Monopole_Ntuple/CMSSW_8_0_13/src/MonopoleAnalysis/NtupleAnalyzer/test/Monopole_C.so
#7 0x00007fef0fdf004c in ?? ()
#8 0x00007fef1ada7200 in ?? () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/lib64/libstdc++.so.6
#9 0x00007fff623a5f20 in ?? ()
#10 0x00007fff623a5bd0 in ?? ()
#11 0x00007fef173a2d9b in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCling.so
#12 0x00007fef173a8fc9 in cling::Interpreter::EvaluateInternal(std::string const&, cling::CompilationOptions, cling::Value*, cling::Transaction**) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCling.so
#13 0x00007fef173a9187 in cling::Interpreter::process(std::string const&, cling::Value*, cling::Transaction**) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCling.so
#14 0x00007fef1742da2b in cling::MetaProcessor::process(char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCling.so
#15 0x00007fef1732ccce in TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCling.so
#16 0x00007fef1a9f399e in TApplication::ProcessLine(char const*, bool, int*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCore.so
#17 0x00007fef1adc323f in TRint::ProcessLineNr(char const*, char const*, int*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libRint.so
#18 0x00007fef1adc350b in TRint::HandleTermInput() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libRint.so
#19 0x00007fef1aa9c11c in TUnixSystem::CheckDescriptors() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCore.so
#20 0x00007fef1aa9d1fa in TUnixSystem::DispatchOneEvent(bool) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCore.so
#21 0x00007fef1a9e2bd4 in TSystem::InnerLoop() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCore.so
#22 0x00007fef1a9e17df in TSystem::Run() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCore.so
#23 0x00007fef1a9f103f in TApplication::Run(bool) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCore.so
#24 0x00007fef1adc48d3 in TRint::Run(bool) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libRint.so
#25 0x00000000004010dc 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 0x00007fef0fe0c24f in Monopole::SelectFirstSC(float&) () from /afs/cern.ch/user/m/melsawy/private/Monopole_Ntuple/CMSSW_8_0_13/src/MonopoleAnalysis/NtupleAnalyzer/test/Monopole_C.so
#6 0x00007fef0fe0c459 in Monopole::Loop() () from /afs/cern.ch/user/m/melsawy/private/Monopole_Ntuple/CMSSW_8_0_13/src/MonopoleAnalysis/NtupleAnalyzer/test/Monopole_C.so
#7 0x00007fef0fdf004c in ?? ()
#8 0x00007fef1ada7200 in ?? () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/lib64/libstdc++.so.6
#9 0x00007fff623a5f20 in ?? ()
#10 0x00007fff623a5bd0 in ?? ()
#11 0x00007fef173a2d9b in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCling.so
#12 0x00007fef173a8fc9 in cling::Interpreter::EvaluateInternal(std::string const&, cling::CompilationOptions, cling::Value*, cling::Transaction**) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCling.so
#13 0x00007fef173a9187 in cling::Interpreter::process(std::string const&, cling::Value*, cling::Transaction**) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCling.so
#14 0x00007fef1742da2b in cling::MetaProcessor::process(char const*, cling::Interpreter::CompilationResult&, cling::Value*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/lib/libCling.so

Sorry, again did you run the command “defaults write org.macosforge.xquartz.X11 enable_iglx -bool true” in a terminal? and rebooted your Mac to activate the new Quartz?

The crash you are reporting is now different. The problem is in Monopole::SelectFirstSC(float&) and this is not a ROOT code.

2 Likes