Skip to content

Segmentation violation due to pyROOT import #81

@jurenag

Description

@jurenag

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 x

using 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions