ROOT Version: 6.20/00
Platform: Debian 4.9.189-3+deb9u2
Compiler: g++ (Debian 6.3.0-18+deb9u1)
Hi,
when I execute the following command
root -b -q ValidateTrees.C
I get the following output error
Processing ValidateTrees.C...
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007fab5a249ffa in __GI___waitpid (pid=8484, stat_loc=stat_loc
entry=0x7ffc0c8e1cc0, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007fab5a1d10ab in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2 0x00007fab5b2cc917 in TUnixSystem::StackTrace() () from /programas/root/root-6.20/lib/libCore.so
#3 0x00007fab5b2cf064 in TUnixSystem::DispatchSignals(ESignals) () from /programas/root/root-6.20/lib/libCore.so
#4 <signal handler called>
#5 0x00007fab58b8f929 in TBufferFile::ReadFastArray(double*, int) () from /programas/root/root-6.20/lib/libRIO.so
#6 0x00007fab58cd40bd in int TStreamerInfoActions::VectorLooper::ReadCollectionBasicType<double>(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /programas/root/root-6.20/lib/libRIO.so
#7 0x00007fab58b8fd85 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) [clone .localalias.94] () from /programas/root/root-6.20/lib/libRIO.so
#8 0x00007fab48a3ccbb in TBranchElement::ReadLeavesMember(TBuffer&) () from /programas/root/root-6.20/lib/libTree.so
#9 0x00007fab48a33f5e in TBranch::GetEntry(long long, int) () from /programas/root/root-6.20/lib/libTree.so
#10 0x00007fab48a44b63 in TBranchElement::GetEntry(long long, int) () from /programas/root/root-6.20/lib/libTree.so
#11 0x00007fab48aa634c in TTree::GetEntry(long long, int) () from /programas/root/root-6.20/lib/libTree.so
#12 0x00007fab5bb15298 in ?? ()
#13 0x000055888c5d3f00 in ?? ()
#14 0x00007ffc0c8e4820 in ?? ()
#15 0x000055888dac8100 in ?? ()
#16 0x000055888da42533 in ?? ()
#17 0x0000000000000000 in ?? ()
===========================================================
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x00007fab58b8f929 in TBufferFile::ReadFastArray(double*, int) () from /programas/root/root-6.20/lib/libRIO.so
#6 0x00007fab58cd40bd in int TStreamerInfoActions::VectorLooper::ReadCollectionBasicType<double>(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /programas/root/root-6.20/lib/libRIO.so
#7 0x00007fab58b8fd85 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) [clone .localalias.94] () from /programas/root/root-6.20/lib/libRIO.so
#8 0x00007fab48a3ccbb in TBranchElement::ReadLeavesMember(TBuffer&) () from /programas/root/root-6.20/lib/libTree.so
#9 0x00007fab48a33f5e in TBranch::GetEntry(long long, int) () from /programas/root/root-6.20/lib/libTree.so
#10 0x00007fab48a44b63 in TBranchElement::GetEntry(long long, int) () from /programas/root/root-6.20/lib/libTree.so
#11 0x00007fab48aa634c in TTree::GetEntry(long long, int) () from /programas/root/root-6.20/lib/libTree.so
#12 0x00007fab5bb15298 in ?? ()
#13 0x000055888c5d3f00 in ?? ()
#14 0x00007ffc0c8e4820 in ?? ()
#15 0x000055888dac8100 in ?? ()
#16 0x000055888da42533 in ?? ()
#17 0x0000000000000000 in ?? ()
===========================================================
Root >
However, if I execute the same commands in a root
interactive shell I get no problems.
I am missing any include
statement in my C macro?
ValidateTrees.C (243 Bytes)
results.root (30.5 KB)