# Segmentation Violation Error in ROOT version 6.08/06

**URL:** <https://root-forum.cern.ch/t/segmentation-violation-error-in-root-version-6-08-06/27478>\
**Category:** ROOT\
**Created:** [January 8, 2018, 1:56am UTC](https://root-forum.cern.ch/t/segmentation-violation-error-in-root-version-6-08-06/27478 "2018-01-08T01:56:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [January 8, 2018, 8:56am UTC](https://root-forum.cern.ch/t/segmentation-violation-error-in-root-version-6-08-06/27478/5 "2018-01-08T08:56:20Z")

</div>

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.

> [@Segmentation Fault depending on linux distribution](https://root-forum.cern.ch/t/segmentation-fault-depending-on-linux-distribution/18020/6):
>
> Try something like (note: some [Valgrind](http://valgrind.org/) functionality requires that the source code, that you want to analyse, is compiled with debug symbols): valgrind --tool=memcheck --leak-check=full [--show-reachable=yes] [--track-origins=yes] [--num-callers=50] [--vgdb=full] --suppressions=`root-config --etcdir`/valgrind-root.supp `root-config --bindir`/root.exe -l -q 'YourMacro.cxx[++g][(Any, Parameters, You, Need)]' valgrind --tool=exp-sgcheck [--num-callers=50] [--vgdb=full] --suppressions=`root-config…

---

_[View the full topic](https://root-forum.cern.ch/t/segmentation-violation-error-in-root-version-6-08-06/27478)._
