# \*\*\* Break \*\*\* segmentation violation due to a SetBranchAddress

**URL:** <https://root-forum.cern.ch/t/break-segmentation-violation-due-to-a-setbranchaddress/52207>\
**Category:** Newbie\
**Tags:** tree, cling, root\
**Created:** [November 3, 2022, 5:15am UTC](https://root-forum.cern.ch/t/break-segmentation-violation-due-to-a-setbranchaddress/52207 "2022-11-03T05:15:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [November 3, 2022, 8:17am UTC](https://root-forum.cern.ch/t/break-segmentation-violation-due-to-a-setbranchaddress/52207/4 "2022-11-03T08:17:00Z")

</div>

A similar issue (with explanations):

> [@Making shared library for IO](https://root-forum.cern.ch/t/making-shared-library-for-io/52148):
>
> Hi experts and ROOT friends, ROOT asked me to provide a dictionary for the vector of vector when I tried to compile the following file util.cc which is used in the main function. I followed the instructions on the official tutorial, generated the LinkDef.h, and compiled it using rootcling shown in the Makefile below, and it seems to link successfully to the executable. However, it failed at run time and I have no idea how to debug from here. The error message is attached in the log.txt file.…

---

_[View the full topic](https://root-forum.cern.ch/t/break-segmentation-violation-due-to-a-setbranchaddress/52207)._
