Segfaults when building O2

Dear experts,

when building O2 on Ubuntu 18.04 I get a huge amount of segfaults when extracting the workflow config, from what I understand nearly for all workflows. Example:

[175/182] Linking CXX executable stage/bin/o2-analysistutorial-tracks-combinations
Error in <TSystem::ExpandFileName>: input: $ROOT_DYN_PATH/libRIO, output: $ROOT_DYN_PATH/libRIO
Error in <TSystem::ExpandFileName>: input: $ROOT_DYN_PATH/libCling, output: $ROOT_DYN_PATH/libCling

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007fb3c718c6e7 in __GI___waitpid (pid=195884, stat_loc=stat_loc
entry=0x7ffd25826028, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x00007fb3c70f7107 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149
#2  0x00007fb3c7d55fe4 in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x55af8579f7c0) at /software/markus/alice/sw/SOURCES/ROOT/v6-20-08-alice1/v6-20-08-alice1/core/unix/src/TUnixSystem.cxx:2107
#3  TUnixSystem::StackTrace (this=0x55af8579f7c0) at /software/markus/alice/sw/SOURCES/ROOT/v6-20-08-alice1/v6-20-08-alice1/core/unix/src/TUnixSystem.cxx:2397
#4  0x00007fb3c7d58864 in TUnixSystem::DispatchSignals (this=0x55af8579f7c0, sig=kSigSegmentationViolation) at /software/markus/alice/sw/SOURCES/ROOT/v6-20-08-alice1/v6-20-08-alice1/core/unix/src/TUnixSystem.cxx:3628
#5  <signal handler called>
#6  0x0000000000000000 in ?? ()
#7  0x00007fb3c9bc057e in o2::framework::WorkflowHelpers::injectServiceDevices (workflow=std::vector of length 3, capacity 3 = {...}, ctx=...) at /software/markus/alice/sw/SOURCES/O2/aliceo2/0/Framework/Core/src/WorkflowHelpers.cxx:439
#8  0x00007fb3c9bf265c in doMain (argc=2, argv=0x7ffd2582b328, workflow=..., channelPolicies=std::vector of length 1, capacity 1 = {...}, completionPolicies=std::vector of length 2, capacity 2 = {...}, dispatchPolicies=std::vector of length 1, capacity 1 = {...}, currentWorkflowOptions=std::vector of length 16, capacity 16 = {...}, configContext=...) at /software/markus/alice/sw/SOURCES/O2/aliceo2/0/Framework/Core/src/runDataProcessing.cxx:1789
#9  0x000055af84c95dda in main (argc=2, argv=0x7ffd2582b328) at /software/markus/alice/sw/SOURCES/O2/aliceo2/0/Framework/Core/include/Framework/runDataProcessing.h:170
===========================================================

Thus the build does not fail but finishes. How can this be fixed?

Thanks in advance!

Cheers

Markus

Hi Markus,

I don’t have a solution. Just wanted to say that I observe segmentation faults that look exactly like yours also during my O2 build on ubuntu 20.04. But also for me the build finishes.

Cheers,
Ole

Followed up here: https://alice.its.cern.ch/jira/browse/O2-1952