igprof may hang in CMSSW_10_6_X because of a bad interaction between itself, popen/fork, and tbb.
This manifests in a call to GetLinuxSysInfo(), which occurs in the constructor of TMVA::Config in ROOT 6.14.
To mitigate this issue, a modified libTMVA.so is distributed here.
The modification can be viewed at kpedro88:root/cms/v6-14-00-patches/8ba6b0f_fixIgprof_106X.
To install this modification in a CMSSW_10_6_X area
(these instructions assume cmsrel and cmsenv have already been called, i.e. the area has been created and the environment is active):
wget https://gist.githubusercontent.com/kpedro88/fee1e6d1ff5b9e4ee96c4ac1203c23d4/raw/FixIgprof106X.sh
chmod +x FixIgprof106X.sh
./FixIgprof106X.sh
cmsenv