# Randomly a segmentation fault for uninitialized TTree

**URL:** <https://root-forum.cern.ch/t/randomly-a-segmentation-fault-for-uninitialized-ttree/43387>\
**Category:** ROOT\
**Created:** [February 3, 2021, 6:12pm UTC](https://root-forum.cern.ch/t/randomly-a-segmentation-fault-for-uninitialized-ttree/43387 "2021-02-03T18:12:37Z")\
**Posts on this page:** 1\
**Showing post:** 33

<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:** [February 4, 2021, 4:55pm UTC](https://root-forum.cern.ch/t/randomly-a-segmentation-fault-for-uninitialized-ttree/43387/33 "2021-02-04T16:55:06Z")

</div>

Try with the [AddressSanitizer](https://root-forum.cern.ch/t/addresssanitizer-memory-error-detector/21046), e.g.:

```bash
`root-config --cxx --cflags` -O0 -g -fno-omit-frame-pointer -fsanitize=address -Wall -Wextra -o a.out *.cpp -lasan `root-config --libs`
ASAN_OPTIONS="verbosity=1:abort_on_error=0" ./a.out
```

---

_[View the full topic](https://root-forum.cern.ch/t/randomly-a-segmentation-fault-for-uninitialized-ttree/43387)._
