# Segmentation violation when plotting with Garfield++

**URL:** <https://root-forum.cern.ch/t/segmentation-violation-when-plotting-with-garfield/64072>\
**Category:** Garfield++\
**Tags:** root\
**Created:** [August 25, 2025, 1:20pm UTC](https://root-forum.cern.ch/t/segmentation-violation-when-plotting-with-garfield/64072 "2025-08-25T13:20:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gabrielribcesario](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/gabrielribcesario/32/38927_2.png) [@gabrielribcesario](https://root-forum.cern.ch/u/gabrielribcesario)\
**Post date:** [August 26, 2025, 1:10pm UTC](https://root-forum.cern.ch/t/segmentation-violation-when-plotting-with-garfield/64072/4 "2025-08-26T13:10:41Z")

</div>

Hello,

I’ve been using GCC 14.3.0, which effectively fixed the [TrackDegrade segmentation violations](https://root-forum.cern.ch/t/cannot-run-the-trackdegrade-example/63647). I’ve been using Conda as a package manager as well as to be able to use the newer GCC versions on Ubuntu 22.04 and older platforms alike, so I’ll attach the environment.yml (wrapped in a .zip due to the forum’s restrictions on file extensions). If you have a Conda distribution installed then this should enable you, for the most part, to use the same environment as mine regardless of your platform.

[environment.zip](https://root-forum.cern.ch/uploads/short-url/udbrwWxdgKFk6Prp2OnRSAStQJF.zip) (3.1 KB)

Just a heads up: the environment.yml includes ROOT 6.34, so there might conflicts if you already are sourcing a ROOT distribution elsewhere (e.g. a binary distribution). It also includes other Garfield++ dependencies, such as GSL and CMake.

---

_[View the full topic](https://root-forum.cern.ch/t/segmentation-violation-when-plotting-with-garfield/64072)._
