Matti Kortelainen
Matti Kortelainen
@pcanal @vgvassilev
Responding to @vgvassilev's https://github.com/cms-sw/cmssw/issues/43577#issuecomment-1889402225 > Can we run with valgrind to make sure there are no obvious memory errors? I ran valgrind for step3 of workflow 11025.0 in CMSSW_14_0_X_2024-01-11-2300. Below...
More from the same valgrind run ``` ==25280== Conditional jump or move depends on uninitialised value(s) ==25280== at 0x7D9DDCE: ZSTD_HcFindBestMatch_noDict_4 (in /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02819/slc7_amd64_gcc12/external/zstd/1.5.2-0530c990dd9ca27a8d966ab201ed2dfe/lib/libzstd.so.1.5.2) ==25280== by 0x7DBAE18: ZSTD_compressBlock_lazy2 (in /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02819/slc7_amd64_gcc12/external/zstd/1.5.2-0530c990dd9ca27a8d966ab201ed2dfe/lib/libzstd.so.1.5.2) ==25280== by...
So I didn't see anything obvious related to Cling, but we might want to follow up - Tensorflow (not sure how though) - `TrackerTopologyEP::produce()` - `pat::PATElectronProducer::produce()` - `edm::WorkerMaker::makeModule()` - `MuonSimClassifier::convertAndPush()`...
> The following errors usually indicates uninitialised memory in the user data. > ... > and, at least in the first case, valgrind points to: Thanks for confirming, this was...
> ``` > ==25280== Conditional jump or move depends on uninitialised value(s) > ==25280== at 0x554C093: TFree::GetBestFree(TList*, int) (in /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02819/slc7_amd64_gcc12/lcg/root/6.30.03-f674aef727eff41f98138d889e8a964c/lib/libRIO.so) > ==25280== by 0x558B4E3: TKey::Create(int, TFile*) (in /cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02819/slc7_amd64_gcc12/lcg/root/6.30.03-f674aef727eff41f98138d889e8a964c/lib/libRIO.so) > ```...
> Since the symbol mentions LTO, did you also try without LTO turned on. I did not (and at this stage I'd have to move to newer IB). @smuzaffar Is...
This is fixed in https://github.com/cms-sw/cmssw/pull/44344 .
Backport to 14_0_X https://github.com/cms-sw/cmssw/pull/44465 has also been merged