-
Notifications
You must be signed in to change notification settings - Fork 5
Segmentation violation due to pyROOT import #81
Description
The pyROOT module is imported in src/waffles/input_output/input_utils.py and src/waffles/input_output/raw_root_reader.py if a ROOT installation is found at runtime. Some people have reported encountering a segmentation violation if such import eventually happens.
I have reproduced this segmentation fault in the main branch of waffles (at commit 1e771ab) by running the following line in lxplus9
import waffles.input_output.input_utils as xusing either version of the DBT environment, fddaq-v4.4.7-a9-1 or fddaq-v5.2.0-a9-1 (which use Python 3.10.4 and 3.10.10 respectively), and either builds of ROOT (both located in /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/), 6.32.02/x86_64-almalinux9.4-gcc114-opt or 6.34.04/x86_64-almalinux9.5-gcc115-opt (which seem to have been compiled against Python 3.9.18 and 3.9.21, respectively).
A copy of the error output is attached in log.txt