Problem running ROOT Analysis Code for Garfield Data

Hello everyone,

Im running into a problem by running an analysis code to data generated from Garfield in a Tree file from root. The error im getting in the terminal is as follow:

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007f15b656845a in __GI___wait4 (pid=2572, stat_loc=stat_loc
entry=0x7ffcdf3c55d8, options=options
entry=0, usage=usage
entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x00007f15b656841b in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc
entry=0x7ffcdf3c55d8, options=options
entry=0) at ./posix/waitpid.c:38
#2  0x00007f15b64cebcb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:171
#3  0x00007f15b78ae2d4 in TUnixSystem::StackTrace() () from /home/lsd/root/lib/libCore.so.6.26
#4  0x00007f15b78ab5e5 in TUnixSystem::DispatchSignals(ESignals) () from /home/lsd/root/lib/libCore.so.6.26
#5  <signal handler called>
#6  0x00007f15b7272534 in TBufferFile::ReadFastArray(float*, int) () from /home/lsd/root/lib/libRIO.so.6.26
#7  0x00007f159bdf3ee4 in TBranch::ReadLeavesImpl(TBuffer&) () from /home/lsd/root/lib/libTree.so.6.26.02
#8  0x00007f159bdf8ca0 in TBranch::GetEntry(long long, int) () from /home/lsd/root/lib/libTree.so.6.26.02
#9  0x00007f159be73ac8 in TTree::GetEntry(long long, int) () from /home/lsd/root/lib/libTree.so.6.26.02
#10 0x000055a4f8dbd5d1 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/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at https://root.cern/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6  0x00007f15b7272534 in TBufferFile::ReadFastArray(float*, int) () from /home/lsd/root/lib/libRIO.so.6.26
#7  0x00007f159bdf3ee4 in TBranch::ReadLeavesImpl(TBuffer&) () from /home/lsd/root/lib/libTree.so.6.26.02
#8  0x00007f159bdf8ca0 in TBranch::GetEntry(long long, int) () from /home/lsd/root/lib/libTree.so.6.26.02
#9  0x00007f159be73ac8 in TTree::GetEntry(long long, int) () from /home/lsd/root/lib/libTree.so.6.26.02
#10 0x000055a4f8dbd5d1 in main ()
===========================================================

If someone could please help me with this, I dont know what is happening.

Thank you

Hi,
hard to say… What code did you use for filling the tree and for reading it back from the file?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.