root
root copied to clipboard
[graphics] Fix printed SVG cutting through XML tags by implementing TVirtualPS::CRCandidates and TVirtualPS::CRCandidateTypes
This Pull request:
Changes or fixes:
This change allows developers to specify "line break candidate characters" and options to process them when defining the sub-classes through member TVirtualPS::CRCandidates and TVirtualPS::CRCandidateTypes.
When a line break is needed, PrintFast goes through fSizBuffer number of characters, trying to match the candidate of index 0 in TVirtualPS::CRCandidates and fallback to the ones with larger index. Searching will get terminated once the index 0 candidate is found (as it did before this change).
The default value is
fCRCandidates = " ";
fCRCandidateTypes = new ECRCandidateType[1]{kBeforeChar};
which resembles the behavior of TVirtualPS prior to this change to keep backward compatibility.
The value specified for the SVG file is
fCRCandidates = " <>";
fCRCandidateTypes = new ECRCandidateType[3]{kDropChar, kBeforeChar, kAfterChar};
The kDropChar option is implemented to be useful for breaking line at space characters where line breaks and spaces are interchangeable.
Note that fSizBuffer is now used instead of kMaxBuffer in methods of TVirtualPS, as it enables the sub-classes to specify the buffer size. This is compatible to all the current sub-classes implemented in the source tree, but may potentially change the behavior of self-defined document-printing sub-classes by users should fSizBuffer be modified before the original PrintFast be executed.
This patch also include miscellaneous work such as updating the SVG introduction inside the TSVG doc and adding comments to the code.
Checklist:
- [X] tested changes locally
- [X] updated the docs (if necessary)
This PR fixes #9514
Can one of the admins verify this patch?
Trying to please the clang-format CI.
Renamed to observe the E- and k- naming convention for enums.
@phsft-bot build
Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1015/python3, mac11/cxx17, windows10/cxx14
How to customize builds
Build failed on mac11/cxx17. Running on macphsft20.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build See console output.
Failing tests:
I am not sure to understand what this PR is suppose to fix/improve ?
We do not have any problem with the current PrintFast version.
I am not sure tu understand what this PR is suppose to fix/improve ? We do not have any problem with the current
PrintFastversion.
This is an expansion to PrintFast that includes some options in the hope of making it friendlier to SVG and TeX output.
Or should these changes be written directly to sub-classes such as TSVG?
some options in the hope of making it friendlier to SVG and TeX output.
You mean make it easier to read by having shorter lines ? I just generate a SVG file from the plot produced by:
hpx->Draw() // hpx in hsimple.root
It seems ok for me... I do not see how it could be more "friendly"?
Also PrintFast is not the only method use to print in the output file. There is also PrintStr, WriteReal ... etc ... What changing only PrintFast ?
Or should these changes be written directly to sub-classes such as TSVG?
If it is for SVG only I would say yes.
@ShamrockLee any news about my questions ?
@couet Sorry for making this idle for so long. I was busy with something else and have nearly forgot about this issue.
There's some progress locally. I'll push it up before Wednesday.
Ok good
Updated.
It seems ok for me... I do not see how it could be more "friendly"?
By fiendly I mean "prevent damaging or changing the appearance of due to line break, especially when long strings are encountered"
In the original patch, it provided a general way (from TVirtulaPS) to specify different characters (aside from white spaces) to break the line at, and the option to drop the white space at which the line break happens to prevent additional white spaces from showing up in the image when cutting through a long sentence.
In the updated patch, a customised PrintFast method is created inside TSVG that provides more customization (e.g. it's natural to cut between tags >< in XML) in addition to features from the original patch, while keeping the TVirtualPS simple.
Thanks for the update. I have two comments:
- What you attempt to change is the SVG output, but you still change TVirtualPS. That might be fine but TVirtualPS does not seems to have any special problems. So unless it is really necessary for the SVG fix I would prefer to not change it as it may have some side effects in TPDF, TPostScript etc ... which are very sensitive classes.
- I see you change PrintFast only But TSGV also use PrintStr to produce output. Why that one is not modified ?
- What you attempt to change is the SVG output, but you still change TVirtualPS. That might be fine but TVirtualPS does not seems to have any special problems. So unless it is really necessary for the SVG fix I would prefer to not change it as it may have some side effects in TPDF, TPostScript etc ... which are very sensitive classes.
The change to TVirtualPS is meant to enable the derived classes to decide on the line buffer limit if they want. It's also okay to change them back.
I see you change PrintFast only But TSGV also use PrintStr to produce output. Why that one is not modified ?
I have thought that they would change together, since TVirtualPS::PrintStr calls TVirtualPS::PrintFast.
With your changes, does the $ROOTSYS/test/stressgraphics.cxx runs ? (just type make in $ROOTSYS/testto build it)
@couet I'll post the result tomorrow.
stressGraphics is built on LXPLUS8s.
However, ./stressGraphics
[yuehshun@lxplus8s12 root_build_pr-9518_with-test]$ cd test/
[yuehshun@lxplus8s12 test]$ make
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c Event.cxx
Generating dictionary EventDict.cxx...
rootcling -f EventDict.cxx -c Event.h EventLinkDef.h
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c EventDict.cxx
c++ -shared -O2 -m64 Event.o EventDict.o -o libEvent.so
libEvent.so done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c MainEvent.cxx
c++ -O2 -m64 MainEvent.o Event.o EventDict.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -lTreePlayer -o Event
Event done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c EventMT.cxx
Generating dictionary EventMTDict.cxx...
rootcling -f EventMTDict.cxx -c EventMT.h EventLinkDef.h
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c EventMTDict.cxx
c++ -shared -O2 -m64 EventMT.o EventMTDict.o -o libEventMT.so
libEventMT.so done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c hworld.cxx
c++ -O2 -m64 hworld.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o hworld
hworld done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c hsimple.cxx
c++ -O2 -m64 hsimple.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o hsimple
hsimple done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c minexam.cxx
c++ -O2 -m64 minexam.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o minexam
minexam done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c TFormulaTests.cxx
c++ -O2 -m64 TFormulaTests.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o TFormulaTests
TFormulaTests done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c tstring.cxx
c++ -O2 -m64 tstring.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o tstring
tstring done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c tcollex.cxx
c++ -O2 -m64 tcollex.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o tcollex
tcollex done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c tcollbm.cxx
c++ -O2 -m64 tcollbm.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o tcollbm
tcollbm done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c vvector.cxx
c++ -O2 -m64 vvector.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o vvector
vvector done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c vmatrix.cxx
c++ -O2 -m64 vmatrix.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o vmatrix
vmatrix done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c vlazy.cxx
c++ -O2 -m64 vlazy.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o vlazy
vlazy done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c Hello.cxx
Generating dictionary HelloDict.cxx...
rootcling -f HelloDict.cxx -c Hello.h
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c HelloDict.cxx
c++ -shared -O2 -m64 Hello.o HelloDict.o -o Hello.so
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c Aclock.cxx
Generating dictionary AclockDict.cxx...
rootcling -f AclockDict.cxx -c Aclock.h
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c AclockDict.cxx
c++ -shared -O2 -m64 Aclock.o AclockDict.o -o Aclock.so
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c stress.cxx
c++ -O2 -m64 stress.o Event.o EventDict.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o stress
stress done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c TBench.cxx
Generating dictionary TBenchDict.cxx...
rootcling -f TBenchDict.cxx -c TBench.h benchLinkDef.h
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c TBenchDict.cxx
c++ -shared -O2 -m64 TBench.o TBenchDict.o -o TBench.so
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c bench.cxx
c++ -O2 -m64 bench.o TBench.o TBenchDict.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o bench
bench done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c stressShapes.cxx
c++ -O2 -m64 stressShapes.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -lGeom -o stressShapes
stressShapes done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c stressGeometry.cxx
c++ -O2 -m64 stressGeometry.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -lGeom -o stressGeometry
stressGeometry done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c stressLinear.cxx
c++ -O2 -m64 stressLinear.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o stressLinear
stressLinear done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c stressGraphics.cxx
c++ -O2 -m64 stressGraphics.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o stressGraphics
stressGraphics done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c testbits.cxx
c++ -O2 -m64 testbits.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o testbits
testbits done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c ctorture.cxx
c++ -O2 -m64 ctorture.o -L/usr/lib64/root -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -o ctorture
ctorture done
c++ -O2 -Wall -fPIC -pthread -std=c++14 -m64 -I/usr/include/root -c QpRandomDriver.cxx
QpRandomDriver.cxx:4:10: fatal error: TQpDataDens.h: No such file or directory
#include "TQpDataDens.h"
^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:805: QpRandomDriver.o] Error 1
[yuehshun@lxplus8s12 test]$ . ../bin/thisroot.sh
[yuehshun@lxplus8s12 test]$ ./stressGraphics
Warning in <TClassTable::Add>: class timespec already in TClassTable
Warning in <TClassTable::Add>: class reverse_iterator<__gnu_cxx::__normal_iterator<TString*,vector<TString> > > already in TClassTable
Warning in <TClassTable::Add>: class reverse_iterator<__gnu_cxx::__normal_iterator<int*,vector<int> > > already in TClassTable
Warning in <TClassTable::Add>: class reverse_iterator<__gnu_cxx::__normal_iterator<string*,vector<string> > > already in TClassTable
Warning in <TClassTable::Add>: class __gnu_cxx::__normal_iterator<char*,string> already in TClassTable
Warning in <TClassTable::Add>: class __gnu_cxx::__normal_iterator<const char*,string> already in TClassTable
Warning in <TClassTable::Add>: class __gnu_cxx::__normal_iterator<TString*,vector<TString> > already in TClassTable
Warning in <TClassTable::Add>: class __gnu_cxx::__normal_iterator<const TString*,vector<TString> > already in TClassTable
Warning in <TClassTable::Add>: class __gnu_cxx::__normal_iterator<const int*,vector<int> > already in TClassTable
Warning in <TClassTable::Add>: class __gnu_cxx::__normal_iterator<int*,vector<int> > already in TClassTable
Warning in <TClassTable::Add>: class __gnu_cxx::__normal_iterator<const string*,vector<string> > already in TClassTable
Warning in <TClassTable::Add>: class __gnu_cxx::__normal_iterator<string*,vector<string> > already in TClassTable
Warning in <TClassTable::Add>: class TVirtualIsAProxy already in TClassTable
Warning in <TClassTable::Add>: class TIsAProxy already in TClassTable
Warning in <TClassTable::Add>: class TStorage already in TClassTable
Warning in <TClassTable::Add>: class TObject already in TClassTable
Warning in <TClassTable::Add>: class TIterator already in TClassTable
Warning in <TClassTable::Add>: class TSubString already in TClassTable
Warning in <TClassTable::Add>: class TString already in TClassTable
Warning in <TClassTable::Add>: class TVirtualMutex already in TClassTable
Warning in <TClassTable::Add>: class TLockGuard already in TClassTable
Warning in <TClassTable::Add>: class ROOT::TVirtualRWMutex already in TClassTable
Warning in <TClassTable::Add>: class ROOT::TReadLockGuard already in TClassTable
Warning in <TClassTable::Add>: class ROOT::TWriteLockGuard already in TClassTable
Warning in <TClassTable::Add>: class TCollection already in TClassTable
Warning in <TClassTable::Add>: class TIter already in TClassTable
Warning in <TClassTable::Add>: class TSeqCollection already in TClassTable
Warning in <TClassTable::Add>: class TList already in TClassTable
Warning in <TClassTable::Add>: class TListIter already in TClassTable
Warning in <TClassTable::Add>: class SetWindowAttributes_t already in TClassTable
Warning in <TClassTable::Add>: class WindowAttributes_t already in TClassTable
Warning in <TClassTable::Add>: class Event_t already in TClassTable
Warning in <TClassTable::Add>: class GCValues_t already in TClassTable
Warning in <TClassTable::Add>: class ColorStruct_t already in TClassTable
Warning in <TClassTable::Add>: class PictureAttributes_t already in TClassTable
Warning in <TClassTable::Add>: class Segment_t already in TClassTable
Warning in <TClassTable::Add>: class Point_t already in TClassTable
Warning in <TClassTable::Add>: class Rectangle_t already in TClassTable
Warning in <TClassTable::Add>: class TNamed already in TClassTable
Warning in <TClassTable::Add>: class TDictionary already in TClassTable
Warning in <TClassTable::Add>: class TDataType already in TClassTable
Warning in <TClassTable::Add>: class TInterpreter already in TClassTable
Warning in <TClassTable::Add>: class TQObject already in TClassTable
Warning in <TClassTable::Add>: class TQObjSender already in TClassTable
Warning in <TClassTable::Add>: class TApplicationImp already in TClassTable
Warning in <TClassTable::Add>: class TApplication already in TClassTable
Warning in <TClassTable::Add>: class TAtt3D already in TClassTable
Warning in <TClassTable::Add>: class TAttAxis already in TClassTable
Warning in <TClassTable::Add>: class TAttBBox2D already in TClassTable
Warning in <TClassTable::Add>: class TAttBBox already in TClassTable
Warning in <TClassTable::Add>: class TAttFill already in TClassTable
Warning in <TClassTable::Add>: class TAttLine already in TClassTable
Warning in <TClassTable::Add>: class TAttMarker already in TClassTable
Warning in <TClassTable::Add>: class TAttPad already in TClassTable
Warning in <TClassTable::Add>: class TAttText already in TClassTable
Warning in <TClassTable::Add>: class TBase64 already in TClassTable
Warning in <TClassTable::Add>: class TStopwatch already in TClassTable
Warning in <TClassTable::Add>: class TBenchmark already in TClassTable
Warning in <TClassTable::Add>: class TBuffer3D already in TClassTable
Warning in <TClassTable::Add>: class TObjArray already in TClassTable
Warning in <TClassTable::Add>: class TObjArrayIter already in TClassTable
Warning in <TClassTable::Add>: class TClass already in TClassTable
Warning in <TClassTable::Add>: class TBuffer already in TClassTable
Warning in <TClassTable::Add>: class TColor already in TClassTable
Warning in <TClassTable::Add>: class TColorGradient already in TClassTable
Warning in <TClassTable::Add>: class TLinearGradient already in TClassTable
Warning in <TClassTable::Add>: class TRadialGradient already in TClassTable
Warning in <TClassTable::Add>: class TDatime already in TClassTable
Warning in <TClassTable::Add>: class TUUID already in TClassTable
Warning in <TClassTable::Add>: class TDirectory already in TClassTable
Warning in <TClassTable::Add>: class TEnvRec already in TClassTable
Warning in <TClassTable::Add>: class TEnv already in TClassTable
Warning in <TClassTable::Add>: class TExec already in TClassTable
Warning in <TClassTable::Add>: class TFileCollection already in TClassTable
Warning in <TClassTable::Add>: class TUrl already in TClassTable
Warning in <TClassTable::Add>: class TMD5 already in TClassTable
Warning in <TClassTable::Add>: class TFileInfo already in TClassTable
Warning in <TClassTable::Add>: class TFileInfoMeta already in TClassTable
Warning in <TClassTable::Add>: class TFolder already in TClassTable
Warning in <TClassTable::Add>: class TInetAddress already in TClassTable
Warning in <TClassTable::Add>: class TMacro already in TClassTable
Warning in <TClassTable::Add>: class TMemberInspector already in TClassTable
Warning in <TClassTable::Add>: class TMessageHandler already in TClassTable
Warning in <TClassTable::Add>: class TNotifyLinkBase already in TClassTable
Warning in <TClassTable::Add>: class TObjString already in TClassTable
Warning in <TClassTable::Add>: class TROOT already in TClassTable
Warning in <TClassTable::Add>: class TParameter<bool> already in TClassTable
Warning in <TClassTable::Add>: class TParameter<Long64_t> already in TClassTable
Warning in <TClassTable::Add>: class TParameter<long> already in TClassTable
Warning in <TClassTable::Add>: class TParameter<int> already in TClassTable
Warning in <TClassTable::Add>: class TParameter<double> already in TClassTable
Warning in <TClassTable::Add>: class TParameter<float> already in TClassTable
Warning in <TClassTable::Add>: class TMethodCall already in TClassTable
Warning in <TClassTable::Add>: class TPluginHandler already in TClassTable
Warning in <TClassTable::Add>: class TPluginManager already in TClassTable
Warning in <TClassTable::Add>: class TPoint already in TClassTable
Warning in <TClassTable::Add>: class TArray already in TClassTable
Warning in <TClassTable::Add>: class TArrayI already in TClassTable
Warning in <TClassTable::Add>: class TPRegexp already in TClassTable
Warning in <TClassTable::Add>: class TPMERegexp already in TClassTable
Warning in <TClassTable::Add>: class TStringToken already in TClassTable
Warning in <TClassTable::Add>: class TProcessID already in TClassTable
Warning in <TClassTable::Add>: class TProcessUUID already in TClassTable
Warning in <TClassTable::Add>: class TQClass already in TClassTable
Warning in <TClassTable::Add>: class TQCommand already in TClassTable
Warning in <TClassTable::Add>: class TQUndoManager already in TClassTable
Warning in <TClassTable::Add>: class TQConnection already in TClassTable
Warning in <TClassTable::Add>: class TSysEvtHandler already in TClassTable
Warning in <TClassTable::Add>: class TFileHandler already in TClassTable
Warning in <TClassTable::Add>: class TSignalHandler already in TClassTable
Warning in <TClassTable::Add>: class TStdExceptionHandler already in TClassTable
Warning in <TClassTable::Add>: class TTime already in TClassTable
Warning in <TClassTable::Add>: class TTimer already in TClassTable
Warning in <TClassTable::Add>: class FileStat_t already in TClassTable
Warning in <TClassTable::Add>: class UserGroup_t already in TClassTable
Warning in <TClassTable::Add>: class SysInfo_t already in TClassTable
Warning in <TClassTable::Add>: class CpuInfo_t already in TClassTable
Warning in <TClassTable::Add>: class MemInfo_t already in TClassTable
Warning in <TClassTable::Add>: class ProcInfo_t already in TClassTable
Warning in <TClassTable::Add>: class RedirectHandle_t already in TClassTable
Warning in <TClassTable::Add>: class TProcessEventTimer already in TClassTable
Warning in <TClassTable::Add>: class TSystem already in TClassTable
Warning in <TClassTable::Add>: class TRedirectOutputGuard already in TClassTable
Warning in <TClassTable::Add>: class TRefCnt already in TClassTable
Warning in <TClassTable::Add>: class TRef already in TClassTable
Warning in <TClassTable::Add>: class TRegexp already in TClassTable
Warning in <TClassTable::Add>: class TRemoteObject already in TClassTable
Warning in <TClassTable::Add>: class TRootIOCtor already in TClassTable
Warning in <TClassTable::Add>: class TStringLong already in TClassTable
Warning in <TClassTable::Add>: class TStyle already in TClassTable
Warning in <TClassTable::Add>: class TSystemFile already in TClassTable
Warning in <TClassTable::Add>: class TSystemDirectory already in TClassTable
Warning in <TClassTable::Add>: class TTask already in TClassTable
Warning in <TClassTable::Add>: class TTimeStamp already in TClassTable
Warning in <TClassTable::Add>: class TUri already in TClassTable
Warning in <TClassTable::Add>: class TVirtualAuth already in TClassTable
Warning in <TClassTable::Add>: class TVirtualFFT already in TClassTable
Warning in <TClassTable::Add>: class TVirtualGLPainter already in TClassTable
Warning in <TClassTable::Add>: class TVirtualGLManip already in TClassTable
Warning in <TClassTable::Add>: class TGLManager already in TClassTable
Warning in <TClassTable::Add>: class TGLPaintDevice already in TClassTable
Warning in <TClassTable::Add>: class THashTable already in TClassTable
Warning in <TClassTable::Add>: class THashTableIter already in TClassTable
Warning in <TClassTable::Add>: class TMap already in TClassTable
Warning in <TClassTable::Add>: class TPair already in TClassTable
Warning in <TClassTable::Add>: class TMapIter already in TClassTable
Warning in <TClassTable::Add>: class TVirtualMonitoringWriter already in TClassTable
Warning in <TClassTable::Add>: class TVirtualMonitoringReader already in TClassTable
Warning in <TClassTable::Add>: class TVirtualPadEditor already in TClassTable
Warning in <TClassTable::Add>: class TVirtualPad already in TClassTable
Warning in <TClassTable::Add>: class TVirtualPadPainter already in TClassTable
Warning in <TClassTable::Add>: class TVirtualPerfStats already in TClassTable
Warning in <TClassTable::Add>: class TVirtualPS already in TClassTable
Warning in <TClassTable::Add>: class TVirtualTableInterface already in TClassTable
Warning in <TClassTable::Add>: class TVirtualViewer3D already in TClassTable
Warning in <TClassTable::Add>: class TVirtualX already in TClassTable
Warning in <TClassTable::Add>: class TArrayC already in TClassTable
Warning in <TClassTable::Add>: class TArrayD already in TClassTable
Warning in <TClassTable::Add>: class TArrayF already in TClassTable
Warning in <TClassTable::Add>: class TArrayL64 already in TClassTable
Warning in <TClassTable::Add>: class TArrayL already in TClassTable
Warning in <TClassTable::Add>: class TArrayS already in TClassTable
Warning in <TClassTable::Add>: class TBits already in TClassTable
Warning in <TClassTable::Add>: class TBits::TReference already in TClassTable
Warning in <TClassTable::Add>: class TBtree already in TClassTable
Warning in <TClassTable::Add>: class TBtreeIter already in TClassTable
Warning in <TClassTable::Add>: class TClassTable already in TClassTable
Warning in <TClassTable::Add>: class TClonesArray already in TClassTable
Warning in <TClassTable::Add>: class TExMap already in TClassTable
Warning in <TClassTable::Add>: class TExMapIter already in TClassTable
Warning in <TClassTable::Add>: class THashList already in TClassTable
Warning in <TClassTable::Add>: class TObjectTable already in TClassTable
Warning in <TClassTable::Add>: class TOrdCollection already in TClassTable
Warning in <TClassTable::Add>: class TOrdCollectionIter already in TClassTable
Warning in <TClassTable::Add>: class TRefArray already in TClassTable
Warning in <TClassTable::Add>: class TRefArrayIter already in TClassTable
Warning in <TClassTable::Add>: class TRefTable already in TClassTable
Warning in <TClassTable::Add>: class TSortedList already in TClassTable
Warning in <TClassTable::Add>: class TClassRef already in TClassTable
Warning in <TClassTable::Add>: class TVirtualCollectionProxy already in TClassTable
Warning in <TClassTable::Add>: class TUnixSystem already in TClassTable
Warning in <TClassTable::Add>: class TBrowserImp already in TClassTable
Warning in <TClassTable::Add>: class TBrowser already in TClassTable
Warning in <TClassTable::Add>: class TCanvasImp already in TClassTable
Warning in <TClassTable::Add>: class TClassMenuItem already in TClassTable
Warning in <TClassTable::Add>: class TContextMenuImp already in TClassTable
Warning in <TClassTable::Add>: class TContextMenu already in TClassTable
Warning in <TClassTable::Add>: class TControlBarImp already in TClassTable
Warning in <TClassTable::Add>: class TGuiFactory already in TClassTable
Warning in <TClassTable::Add>: class TInspectorImp already in TClassTable
Warning in <TClassTable::Add>: class TObjectSpy already in TClassTable
Warning in <TClassTable::Add>: class TObjectRefSpy already in TClassTable
Warning in <TClassTable::Add>: class TFunction already in TClassTable
Warning in <TClassTable::Add>: class TMethod already in TClassTable
Warning in <TClassTable::Add>: class TToggle already in TClassTable
Warning in <TClassTable::Add>: class TToggleGroup already in TClassTable
Warning in <TClassTable::Add>: class TBaseClass already in TClassTable
Warning in <TClassTable::Add>: class TClassGenerator already in TClassTable
Warning in <TClassTable::Add>: class TClassStreamer already in TClassTable
Warning in <TClassTable::Add>: class TDataMember already in TClassTable
Warning in <TClassTable::Add>: class TOptionListItem already in TClassTable
Warning in <TClassTable::Add>: class TDictAttributeMap already in TClassTable
Warning in <TClassTable::Add>: class TGlobal already in TClassTable
Warning in <TClassTable::Add>: class TEnum already in TClassTable
Warning in <TClassTable::Add>: class TEnumConstant already in TClassTable
Warning in <TClassTable::Add>: class TFileMergeInfo already in TClassTable
Warning in <TClassTable::Add>: class TFunctionTemplate already in TClassTable
Warning in <TClassTable::Add>: class TListOfDataMembers already in TClassTable
Warning in <TClassTable::Add>: class TListOfEnums already in TClassTable
Warning in <TClassTable::Add>: class TListOfEnumsWithLock already in TClassTable
Warning in <TClassTable::Add>: class TListOfEnumsWithLockIter already in TClassTable
Warning in <TClassTable::Add>: class TListOfFunctions already in TClassTable
Warning in <TClassTable::Add>: class TListOfFunctionsIter already in TClassTable
Warning in <TClassTable::Add>: class TListOfFunctionTemplates already in TClassTable
Warning in <TClassTable::Add>: class TMemberStreamer already in TClassTable
Warning in <TClassTable::Add>: class TMethodArg already in TClassTable
Warning in <TClassTable::Add>: class TProtoClass already in TClassTable
Warning in <TClassTable::Add>: class TProtoClass::TProtoRealData already in TClassTable
Warning in <TClassTable::Add>: class TRealData already in TClassTable
Warning in <TClassTable::Add>: class ROOT::TSchemaRule already in TClassTable
Warning in <TClassTable::Add>: class ROOT::TSchemaRule::TSources already in TClassTable
Warning in <TClassTable::Add>: class ROOT::Detail::TSchemaRuleSet already in TClassTable
Warning in <TClassTable::Add>: class ROOT::Detail::TStatusBitsChecker already in TClassTable
Warning in <TClassTable::Add>: class TStreamerElement already in TClassTable
Warning in <TClassTable::Add>: class TStreamerBase already in TClassTable
Warning in <TClassTable::Add>: class TStreamerBasicPointer already in TClassTable
Warning in <TClassTable::Add>: class TStreamerLoop already in TClassTable
Warning in <TClassTable::Add>: class TStreamerBasicType already in TClassTable
Warning in <TClassTable::Add>: class TStreamerObject already in TClassTable
Warning in <TClassTable::Add>: class TStreamerObjectAny already in TClassTable
Warning in <TClassTable::Add>: class TStreamerObjectPointer already in TClassTable
Warning in <TClassTable::Add>: class TStreamerObjectAnyPointer already in TClassTable
Warning in <TClassTable::Add>: class TStreamerString already in TClassTable
Warning in <TClassTable::Add>: class TStreamerSTL already in TClassTable
Warning in <TClassTable::Add>: class TStreamerSTLstring already in TClassTable
Warning in <TClassTable::Add>: class TStreamerArtificial already in TClassTable
Warning in <TClassTable::Add>: class TVirtualStreamerInfo already in TClassTable
Warning in <TClassTable::Add>: class TVirtualArray already in TClassTable
Warning in <TClassTable::Add>: class TVirtualObject already in TClassTable
Warning in <TClassTable::Add>: class TConditionImp already in TClassTable
Warning in <TClassTable::Add>: class TPosixCondition already in TClassTable
Warning in <TClassTable::Add>: class TMutexImp already in TClassTable
Warning in <TClassTable::Add>: class TPosixMutex already in TClassTable
Warning in <TClassTable::Add>: class TThreadImp already in TClassTable
Warning in <TClassTable::Add>: class TPosixThread already in TClassTable
Warning in <TClassTable::Add>: class TThreadFactory already in TClassTable
Warning in <TClassTable::Add>: class TPosixThreadFactory already in TClassTable
Warning in <TClassTable::Add>: class TAtomicCount already in TClassTable
Warning in <TClassTable::Add>: class TCondition already in TClassTable
Warning in <TClassTable::Add>: class TMutex already in TClassTable
Warning in <TClassTable::Add>: class TRWLock already in TClassTable
Warning in <TClassTable::Add>: class TSemaphore already in TClassTable
Warning in <TClassTable::Add>: class TThread already in TClassTable
Warning in <TClassTable::Add>: class ROOT::TSpinMutex already in TClassTable
Warning in <TClassTable::Add>: class ROOT::Internal::RRawFile already in TClassTable
Warning in <TClassTable::Add>: class TFileMerger already in TClassTable
Warning in <TClassTable::Add>: class TDirectoryFile already in TClassTable
Warning in <TClassTable::Add>: class TFile already in TClassTable
Warning in <TClassTable::Add>: class TMemFile already in TClassTable
Warning in <TClassTable::Add>: class TArchiveFile already in TClassTable
Warning in <TClassTable::Add>: class TArchiveMember already in TClassTable
Warning in <TClassTable::Add>: class TBufferIO already in TClassTable
Warning in <TClassTable::Add>: class TBufferFile already in TClassTable
Warning in <TClassTable::Add>: class TBufferText already in TClassTable
Warning in <TClassTable::Add>: class TBufferJSON already in TClassTable
Warning in <TClassTable::Add>: class TGenCollectionProxy already in TClassTable
Warning in <TClassTable::Add>: class TGenCollectionProxy::Value already in TClassTable
Warning in <TClassTable::Add>: class TGenCollectionProxy::Method already in TClassTable
Warning in <TClassTable::Add>: class TCollectionProxyFactory already in TClassTable
Warning in <TClassTable::Add>: class TCollectionStreamer already in TClassTable
Warning in <TClassTable::Add>: class TCollectionClassStreamer already in TClassTable
Warning in <TClassTable::Add>: class TCollectionMemberStreamer already in TClassTable
Warning in <TClassTable::Add>: class TEmulatedCollectionProxy already in TClassTable
Warning in <TClassTable::Add>: class TEmulatedMapProxy already in TClassTable
Warning in <TClassTable::Add>: class TFileCacheRead already in TClassTable
Warning in <TClassTable::Add>: class TFree already in TClassTable
Warning in <TClassTable::Add>: class TFileCacheWrite already in TClassTable
Warning in <TClassTable::Add>: class TFPBlock already in TClassTable
Warning in <TClassTable::Add>: class TFilePrefetch already in TClassTable
Warning in <TClassTable::Add>: class TKey already in TClassTable
Warning in <TClassTable::Add>: class TKeyMapFile already in TClassTable
Warning in <TClassTable::Add>: class TLockFile already in TClassTable
Warning in <TClassTable::Add>: class TMapFile already in TClassTable
Warning in <TClassTable::Add>: class TMapRec already in TClassTable
Warning in <TClassTable::Add>: class TStreamerInfo already in TClassTable
Warning in <TClassTable::Add>: class TStreamerInfoActions::TConfiguration already in TClassTable
Warning in <TClassTable::Add>: class TStreamerInfoActions::TConfiguredAction already in TClassTable
Warning in <TClassTable::Add>: class TStreamerInfoActions::TActionSequence already in TClassTable
Warning in <TClassTable::Add>: class TZIPFile already in TClassTable
Warning in <TClassTable::Add>: class TZIPMember already in TClassTable
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Replaced symbol atexit cannot be found in JIT!
Replaced symbol at_quick_exit cannot be found in JIT!
Module libc not found.
Module std not found.
<<< cling interactive line includer >>>: remark: could not acquire lock file for module '_Builtin_intrinsics': failed to create unique file /usr/lib64/root/_Builtin_intrinsics.pcm.lock-f66e7495: Permission denied [-Rmodule-build]
<<< cling interactive line includer >>>: remark: building module '_Builtin_intrinsics' as '/usr/lib64/root/_Builtin_intrinsics.pcm' [-Rmodule-build]
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
<<< cling interactive line includer >>>: remark: finished building module '_Builtin_intrinsics' [-Rmodule-build]
<<< cling interactive line includer >>>: fatal error: could not build module '_Builtin_intrinsics'
Failed to load module _Builtin_intrinsics
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Failed to load module ROOT_Foundation_C
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Failed to load module ROOT_Config
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Failed to load module ROOT_Rtypes
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Failed to load module ROOT_Foundation_Stage1_NoRTTI
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Failed to load module Core
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Failed to load module Rint
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Failed to load module RIO
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Failed to load module MathCore
fatal error: module map file '/usr/share/root/cling/module.modulemap' not found
Failed to load module Hist
input_line_4:37:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
^
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f69e399b3eb in waitpid () from /lib64/libc.so.6
#1 0x00007f69e38fcbaf in do_system () from /lib64/libc.so.6
#2 0x00007f69e8654040 in TUnixSystem::StackTrace() () from /usr/lib64/root/libCore.so.6.24
#3 0x00007f69e8656515 in TUnixSystem::DispatchSignals(ESignals) () from /usr/lib64/root/libCore.so.6.24
#4 <signal handler called>
#5 0x00007f69db7ba9ff in ROOT::TMetaUtils::TNormalizedCtxtImpl::keepTypedef(cling::LookupHelper const&, char const*, bool) () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#6 0x00007f69db7bad7e in ROOT::TMetaUtils::TNormalizedCtxtImpl::TNormalizedCtxtImpl(cling::LookupHelper const&) () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#7 0x00007f69db7bb1e2 in ROOT::TMetaUtils::TNormalizedCtxt::TNormalizedCtxt(cling::LookupHelper const&) () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#8 0x00007f69db86d9bb in TCling::TCling(char const*, char const*, char const* const*) () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#9 0x00007f69db86ec20 in CreateInterpreter () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#10 0x00007f69e8502360 in TROOT::InitInterpreter() () from /usr/lib64/root/libCore.so.6.24
#11 0x00007f69e850270f in ROOT::Internal::GetROOT2() () from /usr/lib64/root/libCore.so.6.24
#12 0x0000000000407c26 in main ()
===========================================================
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum https://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at https://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 0x00007f69db7ba9ff in ROOT::TMetaUtils::TNormalizedCtxtImpl::keepTypedef(cling::LookupHelper const&, char const*, bool) () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#6 0x00007f69db7bad7e in ROOT::TMetaUtils::TNormalizedCtxtImpl::TNormalizedCtxtImpl(cling::LookupHelper const&) () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#7 0x00007f69db7bb1e2 in ROOT::TMetaUtils::TNormalizedCtxt::TNormalizedCtxt(cling::LookupHelper const&) () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#8 0x00007f69db86d9bb in TCling::TCling(char const*, char const*, char const* const*) () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#9 0x00007f69db86ec20 in CreateInterpreter () from /tmp/yuehshun/root_build_pr-9518_with-test/lib/libCling.so
#10 0x00007f69e8502360 in TROOT::InitInterpreter() () from /usr/lib64/root/libCore.so.6.24
#11 0x00007f69e850270f in ROOT::Internal::GetROOT2() () from /usr/lib64/root/libCore.so.6.24
#12 0x0000000000407c26 in main ()
===========================================================
It should be something like:
% ./stressGraphics
Create ./cernstaff.root
(TFile *) nullptr
**********************************************************************
* Starting Graphics - S T R E S S suite *
**********************************************************************
* Starting Basic Graphics - S T R E S S *
**********************************************************************
Test 1: TLine..................................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 2: TMarker................................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 3: TPolyLine................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 4: Fill patterns............................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 5: TText 1 (Text attributes)................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 6: TText 2 (A very long text string)......................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 7: TLatex 1.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 8: TLatex 2.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 9: TLatex 3 (TLatex in TPaveText)............................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 10: TLatex 4 (Greek letters).................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 11: TLatex 5 (Mathematical Symbols)........................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 12: Text kerning.............................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 13: TLatex commands #kern, #lower, #it and #bf................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 14: TMathText................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 15: Transparent pad........................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 16: Stat and fit parameters with errors....................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
**********************************************************************
* Starting High Level 2D Primitives - S T R E S S *
**********************************************************************
Test 17: TGaxis 1.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 18: TGaxis 2.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 19: TGaxis 3 (Time on axis)................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 20: TGaxis 4 (Time on axis)................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 21: TGaxis 5 (Time on axis: reference test)................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 22: Alphanumeric labels in a 1-d histogram.................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 23: TEllipse.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 24: Feynman diagrams.......................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 25: Ratio plot................................................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 26: TGraph 1.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 27: TGraph 2 (Exclusion Zone)................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 28: TGraph 3 (Fitting and log scales)......................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 29: TGraph 4 (Log scales setting order)....................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 30: TMultigraph and TGraphErrors.............................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 31: All Kind of TMultigraph................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 32: TGraph, TArc, TPalette and TColor......................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
**********************************************************************
* Starting High Level 3D Primitives - S T R E S S *
**********************************************************************
Test 33: Basic 2D options.......................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 34: Text option............................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 35: Contour options........................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 36: Lego options.............................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 37: Surface options........................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 38: Special contour options (AITOFF etc.)..................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 39: TGraph2D 1 (TRI2 and P0).................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 40: TGraph2D 2 (COL and P).................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 41: TGraph2D 3 (CONT5)........................................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
**********************************************************************
* Starting complex drawing and TPad - S T R E S S *
**********************************************************************
Test 42: Ntuple drawing and TPad................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 43: Divided pads and TLatex................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 44: TImage.................................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 45: Zoom/UnZoom a collection of TF1........................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
Test 46: Zoom/UnZoom a fitted histogram............................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 47: Parallel Coordinates...................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
Test 48: Draw a pad and clone it................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 49: Ntuple drawing with alphanumeric variables................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
[TFile::Cp] Total 0.95 MB |====================| 100.00 % [77.1 MB/s]
Test 50: TH2Poly.(DrawClone() and remote file access).............. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
**********************************************************************
* All the tests passed. :-)
**********************************************************************
* SYS: Darwin imaccouet.dyndns.cern.ch 21.3.0 Darwin Kernel Version
* SYS: 12.2.1 Mac OS X
**********************************************************************
* stressGraphics: Real Time = 24.67 seconds Cpu Time = 22.65 seconds
**********************************************************************
* ROOTMARKS =1789.1 * Root 6.27/01 20220105/1238
**********************************************************************
@couet Sorry, but how do you set up a development environment to do the tests?
I try to set up a Debian environment (from a VM) for build but have encountered dependency conflict.
Is there something like a CMSENV to use on LXPLUS? Or should I create a CentOS VM and try again?
Sorry for the late reply.
There is nothing special to setup. The way you did it should be fine:
Go into $ROOTSYS/test then type make and you execute ./stressGraphics
The previous errors with the VM was due to incorrect setup of the Debian distro (dependency resolution failure related to a messed-up source.list). `Thank you for your patience!
All the tests passed after running ./stressGraphics
Create ./cernstaff.root
(TFile *) nullptr
**********************************************************************
* Starting Graphics - S T R E S S suite *
**********************************************************************
* Starting Basic Graphics - S T R E S S *
**********************************************************************
Test 1: TLine..................................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 2: TMarker................................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 3: TPolyLine................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 4: Fill patterns............................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 5: TText 1 (Text attributes)................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 6: TText 2 (A very long text string)......................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 7: TLatex 1.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 8: TLatex 2.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 9: TLatex 3 (TLatex in TPaveText)............................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 10: TLatex 4 (Greek letters).................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 11: TLatex 5 (Mathematical Symbols)........................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 12: Text kerning.............................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 13: TLatex commands #kern, #lower, #it and #bf................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 14: TMathText................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 15: Transparent pad........................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 16: Stat and fit parameters with errors....................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
**********************************************************************
* Starting High Level 2D Primitives - S T R E S S *
**********************************************************************
Test 17: TGaxis 1.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 18: TGaxis 2.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 19: TGaxis 3 (Time on axis)................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 20: TGaxis 4 (Time on axis)................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 21: TGaxis 5 (Time on axis: reference test)................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 22: Alphanumeric labels in a 1-d histogram.................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 23: TEllipse.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 24: Feynman diagrams.......................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 25: Ratio plot................................................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 26: TGraph 1.................................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 27: TGraph 2 (Exclusion Zone)................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 28: TGraph 3 (Fitting and log scales)......................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 29: TGraph 4 (Log scales setting order)....................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 30: TMultigraph and TGraphErrors.............................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 31: All Kind of TMultigraph................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 32: TGraph, TArc, TPalette and TColor......................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
**********************************************************************
* Starting High Level 3D Primitives - S T R E S S *
**********************************************************************
Test 33: Basic 2D options.......................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 34: Text option............................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 35: Contour options........................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 36: Lego options.............................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 37: Surface options........................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 38: Special contour options (AITOFF etc.)..................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 39: TGraph2D 1 (TRI2 and P0).................................. OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 40: TGraph2D 2 (COL and P).................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 41: TGraph2D 3 (CONT5)........................................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
**********************************************************************
* Starting complex drawing and TPad - S T R E S S *
**********************************************************************
Test 42: Ntuple drawing and TPad................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 43: Divided pads and TLatex................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 44: TImage.................................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 45: Zoom/UnZoom a collection of TF1........................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
Test 46: Zoom/UnZoom a fitted histogram............................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 47: Parallel Coordinates...................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
Test 48: Draw a pad and clone it................................... OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
Test 49: Ntuple drawing with alphanumeric variables................ OK
PDF output................................................ OK
GIF output................................................ OK
JPG output................................................ OK
PNG output................................................ OK
C file result............................................. OK
[TFile::Cp] Total -0.00 MB |====================| -0.00 % Cannot access usa.root. Is internet working ?
**********************************************************************
* All the tests passed. :-)
**********************************************************************
* SYS: Linux debian-20220509 5.10.0-14-amd64 #1 SMP Debian 5.10.113
* SYS: Debian GNU/Linux 11 (bullseye)
**********************************************************************
* stressGraphics: Real Time = 183.60 seconds Cpu Time = 23.17 seconds
**********************************************************************
* ROOTMARKS =1749.0 * Root 6.27/01 20220105/1238
**********************************************************************
Is there anything else I could help before merge?
Apply patches from git-clang-format while keeping the style consistent with surrounding lines.
@phsft-bot build
Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu2204/nortcxxmod, ROOT-ubuntu2004/python3, mac11/noimt, mac12arm/cxx20, windows10/cxx14
How to customize builds
Build failed on ROOT-ubuntu2004/python3. Running on root-ubuntu-2004-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2023-07-10T09:30:57.025Z] stderr: error: Failed to merge in the changes.
- [2023-07-10T09:31:09.451Z] CMake Error at /home/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1142 (message):
Build failed on ROOT-ubuntu2204/nortcxxmod. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2023-07-10T09:31:11.927Z] CMake Error at /home/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1142 (message):
Hi, sorry for the very late continuation on this. This PR is now conflicting with the current master.
Build failed on windows10/cxx14. Running on null:C:\build\workspace\root-pullrequests-build See console output.
Errors:
- [2023-07-10T09:33:39.222Z] CMake Error at C:/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1142 (message):