# Crashing ROOT during garfield run

**URL:** <https://root-forum.cern.ch/t/crashing-root-during-garfield-run/49122>\
**Category:** Garfield++\
**Created:** [March 10, 2022, 4:25pm UTC](https://root-forum.cern.ch/t/crashing-root-during-garfield-run/49122 "2022-03-10T16:25:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johann\_Mazzacaro](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/johann_mazzacaro/32/29046_2.png) [@Johann\_Mazzacaro](https://root-forum.cern.ch/u/Johann_Mazzacaro)\
**Post date:** [March 10, 2022, 4:25pm UTC](https://root-forum.cern.ch/t/crashing-root-during-garfield-run/49122/1 "2022-03-10T16:25:57Z")

</div>

Im using a garfield GEM file, and when I run it, I get a crash.  
Im not getting the same problem with the same file in another computer, so im wondering if it is a problem with ROOT, since the OS was updated from ubuntu 16 to 20.  
Can someone maybe help me with a fix?  
The terminal bash is as follows:

#0 0x00007fe9981c0caf in \_\_GI\_\_\_wait4 (pid=10917, stat\_loc=stat\_loc  
entry=0x7ffc2dc30218, options=options  
entry=0, usage=usage  
entry=0x0) at …/sysdeps/unix/sysv/linux/wait4.c:27  
#1 0x00007fe9981c0c2b in \_\_GI\_\_\_waitpid (pid=, stat\_loc=stat\_loc  
entry=0x7ffc2dc30218, options=options  
entry=0) at waitpid.c:38  
#2 0x00007fe99812ff97 in do\_system (line=) at …/sysdeps/posix/system.c:172  
#3 0x00007fe99952e1b3 in TUnixSystem::Exec (shellcmd=, this=0x558aa937ebc0) at /home/lsd/root-6.18.00/core/unix/src/TUnixSystem.cxx:2106  
#4 TUnixSystem::StackTrace (this=0x558aa937ebc0) at /home/lsd/root-6.18.00/core/unix/src/TUnixSystem.cxx:2400  
#5 0x00007fe999530ba4 in TUnixSystem::DispatchSignals (this=0x558aa937ebc0, sig=kSigSegmentationViolation) at /home/lsd/root-6.18.00/core/unix/src/TUnixSystem.cxx:3631  
#6  
#7 0x00007fe999cdccc8 in Garfield::ViewDrift::Plot3d(bool) () from /usr/local/lib/libGarfield.so.0.3.0  
#8 0x00007fe999cdb5ca in Garfield::ViewDrift::Plot(bool, bool) () from /usr/local/lib/libGarfield.so.0.3.0  
#9 0x0000558aa9017394 in main ()

The terminal identifies the problems in lines #7/8.

Thanks for the help

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [March 10, 2022, 4:42pm UTC](https://root-forum.cern.ch/t/crashing-root-during-garfield-run/49122/2 "2022-03-10T16:42:39Z")

</div>

@hschindl can most probably help you

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [March 10, 2022, 9:21pm UTC](https://root-forum.cern.ch/t/crashing-root-during-garfield-run/49122/3 "2022-03-10T21:21:21Z")

</div>

Hi,

did you change your ROOT installation after moving to Ubuntu 20?

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [March 24, 2022, 9:22pm UTC](https://root-forum.cern.ch/t/crashing-root-during-garfield-run/49122/4 "2022-03-24T21:22:22Z")

</div>

Closed on March 24, 2022, 9:22pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
