Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7586

CMS missing symbol / function body of template

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.02/12, 6.04/02
    • 6.06/00, 6.02/14, 6.04/04
    • Cling
    • None
    • CMS

    Description

      ROOT::Math::LorentzVector<...>::pt() does not have its body created (even though the information is available; it's just never requested to be loaded). This results in a missing symbol:

      $ cmsRun ./patTuple_addTracks_cfg.py 
      # Conditions read from  CMS_CONDITIONS  via FrontierProd 
      constructing HcalDDDRecConstantsESModule
      25-Aug-2015 15:21:02 CEST  Initiating request to open file file:///data/axel_cms/CMSSW_7_6_DEVEL_X_2015-08-09-1100/44E1E4BA-50BD-E411-A57A-002618943949.root
      25-Aug-2015 15:21:06 CEST  Successfully opened file file:///data/axel_cms/CMSSW_7_6_DEVEL_X_2015-08-09-1100/44E1E4BA-50BD-E411-A57A-002618943949.root
      Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
         Missing FileEntry for src/DataFormats/HeavyIonEvent/src/LinkDef.h
         requested to autoload type CentralityBins
      Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
         Missing FileEntry for src/DataFormats/HeavyIonEvent/src/LinkDef.h
         requested to autoload type CBin
      Begin processing the 1st record. Run 1, Event 1, LumiSection 1 at 25-Aug-2015 15:22:52.186 CEST
      IncrementalExecutor::executeFunction: symbol '_ZNK4ROOT4Math13LorentzVectorINS0_11PtEtaPhiM4DIdEEE2ptEv' unresolved while linking symbol '__cf_6'!
      You are probably missing the definition of ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> >::pt() const
      Maybe you need to load the corresponding shared library?
      ----- Begin Fatal Exception 25-Aug-2015 15:23:02 CEST-----------------------
      An exception of category 'FatalRootError' occurred while
         [0] Processing run: 1 lumi: 1 event: 1
         [1] Running path 'outpath'
         [2] Calling event method for module PoolOutputModule/'out'
         [3] Calling produce method for unscheduled module PATGenericParticleSelector/'selectedPatTrackCands'
         [4] Calling produce method for unscheduled module PATGenericParticleProducer/'patTrackCands'
         [5] Calling produce method for unscheduled module CandIsoDepositProducer/'patTrackCandsIsoDepositTracks'
         [6] Calling produce method for unscheduled module CandViewSelector/'patAODTrackCands'
         Additional Info:
            [a] Fatal Root Error: @SUB=TClingCallFunc::make_wrapper
      Failed to compile
        ==== SOURCE BEGIN ====
      #pragma clang diagnostic push
      #pragma clang diagnostic ignored "-Wformat-security"
      __attribute__((used)) extern "C" void __cf_6(void* obj, int nargs, void** args, void* ret)
      {
         if (ret) {
            new (ret) (double) (((const reco::LeafCandidate*)obj)->pt());
            return;
         }
         else {
            ((const reco::LeafCandidate*)obj)->pt();
            return;
         }
      }
      #pragma clang diagnostic pop
        ==== SOURCE END ====
       
      ----- End Fatal Exception -------------------------------------------------

      Attachments

        Activity

          People

            axel Axel Naumann
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: