I am using ROOT for certain analyses (linked with FastJet). The issue arises when I tried to read some events stored from a ROOT file. The compilation went just fine but at the execution, I got the segmentation violation error (which is attached to this message).
I am using version 6.08/06 on Linux Ubuntu 16.06. I installed and built the package using the old method. The necessary files are attached.
#0 0x00007fad56f7e07a in __GI___waitpid (pid=26134, stat_loc=stat_loc
entry=0x7ffe0012d1c0, options=options
entry=0) at …/sysdeps/unix/sysv/linux/waitpid.c:29 #1 0x00007fad56ef6fbb in do_system (line=) at …/sysdeps/posix/system.c:148 #2 0x00007fad58ab3e94 in TUnixSystem::StackTrace() () from /media/adil/70aa4125-8ea2-43be-afcf-88b43c0b7507/adil/parent//lib/root/libCore.so #3 0x00007fad58ab64ac in TUnixSystem::DispatchSignals(ESignals) () from /media/adil/70aa4125-8ea2-43be-afcf-88b43c0b7507/adil/parent//lib/root/libCore.so #4 #5 0x000000000040d53a in Analysis::ReadEvent (this=0x1b368c0, jentry=0) at Analysis.h:117 #6 0x000000000040f189 in Analysis::Loop (this=0x1b368c0) at Analysis.cpp:22 #7 0x000000000040ef87 in main (argc=1, argv=0x7ffe00130088) at Analysis.h:324
@Wile E. Coyote
I have generated .h and .C files similar to what you attached to your reply. I did minor modifications to include FastJet.
Your version of “Analysis.h” (the “leaf types”) does not correspond to your “Analysis” tree.
I guess you get a SIGSEGV because you try to access a NULL pointer.