I am getting the Segmentation fault before filling the tree. Below is the bottom few lines of segmentation fault.
Please suggest what might be the problem. Thanks in advance for help.
===========================================================
#5 0x00007f861a869150 in TBufferFile::WriteFastArray(int const*, int) () from /home/ramkrishna/root/lib/libRIO.so
#6 0x00007f861a9c8139 in int TStreamerInfo::WriteBufferAux<char**>(TBuffer&, char** const&, int, int, int, int) () from /home/ramkrishna/root/lib/libRIO.so
#7 0x00007f861a8afc4e in TStreamerInfoActions::GenericWriteAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /home/ramkrishna/root/lib/libRIO.so
#8 0x00007f861a869075 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) () from /home/ramkrishna/root/lib/libRIO.so
#9 0x00007f8619a609ec in TBranch::Fill() () from /home/ramkrishna/root/lib/libTree.so
#10 0x00007f8619a715d0 in TBranchElement::Fill() () from /home/ramkrishna/root/lib/libTree.so
#11 0x00007f8619a713b8 in TBranchElement::Fill() () from /home/ramkrishna/root/lib/libTree.so
#12 0x00007f8619ab2613 in TTree::Fill() () from /home/ramkrishna/root/lib/libTree.so
#13 0x00007f861797eb08 in rd51_EventBuilderVFAT(char const*, char const*, int) () from /home/ramkrishna/TBA_Oct2014_H2/Clean/TURBO_OCT_2014_H2_Clean/EventBuilder/./rd51_EventBuilderVFAT_C.so
Root > Function rd51_EventBuilderVFAT_Launcher() busy flag cleared