Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate to ESconsumes GeantPropagatorESProducer #32260

Merged
merged 1 commit into from Nov 25, 2020

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Nov 24, 2020

PR description:

This PR is an attempt to solve the issue reported at #31920 (comment)
Running the following test configuration in CMSSW_11_2_X_2020-11-23-2300 results in:

----- Begin Fatal Exception 24-Nov-2020 14:17:38 CET-----------------------
An exception of category 'MustUseESGetToken' occurred while
   [0] Processing  Event run: 315322 lumi: 622 event: 425073957 stream: 0
   [1] Running path 'g4RefitPath'
   [2] Calling method for module TrackRefitter/'Geant4eTrackRefitter'
   [3] Using EventSetup component KFFittingSmootherESProducer/'G4eFitterSmoother' to make data TrajectoryFitter/'G4eFitterSmoother' in record TrajectoryFitterRecord
   [4] Running EventSetup component GeantPropagatorESProducer/'Geant4ePropagator
Exception Message:
Called EventSetupRecord::get without using a ESGetToken.
 While requesting data type:MagneticField label:''
----- End Fatal Exception -------------------------------------------------

PR validation:

Tested with the configuration linked above, unfortunately resulting into a segmentation fault.

if this PR is a backport please specify the original PR and why you need to backport that PR:

Not a backport, no backport needed.

@mmusich
Copy link
Contributor Author

mmusich commented Nov 24, 2020

@makortel @Dr15Jones would be so kind to take a look to what is the problem here?
Testing it results in:

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : InvalisSetup
      issued by : G4ErrorRunManagerHelper::InitializeGeometry()
No world defined in your geometry!
*** Fatal Exception *** core dump ***
 **** Track information is not available at this moment
 **** Step information is not available at this moment

-------- EEEE -------- G4Exception-END --------- EEEE -------


*** G4Exception: Aborting execution ***


A fatal system signal has occurred: abort signal
The following is the call stack containing the origin of the signal.

Tue Nov 24 14:35:06 CET 2020
Thread 7 (Thread 0x7f88ef5bf700 (LWP 24599)):
#0  0x00007f8926a55b3b in do_futex_wait.constprop () from /lib64/libpthread.so.0
#1  0x00007f8926a55bcf in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0
#2  0x00007f8926a55c6b in sem_wait@@GLIBC_2.2.5 () from /lib64/libpthread.so.0
#3  0x00007f891e16ea66 in XrdCl::JobManager::RunJobs() () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdCl.so.2
#4  0x00007f891e16eb49 in RunRunnerThread () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdCl.so.2
#5  0x00007f8926a4fea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f892677896d in clone () from /lib64/libc.so.6
Thread 6 (Thread 0x7f88efdc0700 (LWP 24598)):
#0  0x00007f8926a55b3b in do_futex_wait.constprop () from /lib64/libpthread.so.0
#1  0x00007f8926a55bcf in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0
#2  0x00007f8926a55c6b in sem_wait@@GLIBC_2.2.5 () from /lib64/libpthread.so.0
#3  0x00007f891e16ea66 in XrdCl::JobManager::RunJobs() () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdCl.so.2
#4  0x00007f891e16eb49 in RunRunnerThread () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdCl.so.2
#5  0x00007f8926a4fea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f892677896d in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7f88f05c1700 (LWP 24597)):
#0  0x00007f8926a55b3b in do_futex_wait.constprop () from /lib64/libpthread.so.0
#1  0x00007f8926a55bcf in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0
#2  0x00007f8926a55c6b in sem_wait@@GLIBC_2.2.5 () from /lib64/libpthread.so.0
#3  0x00007f891e16ea66 in XrdCl::JobManager::RunJobs() () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdCl.so.2
#4  0x00007f891e16eb49 in RunRunnerThread () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdCl.so.2
#5  0x00007f8926a4fea5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f892677896d in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7f88f0dc2700 (LWP 24596)):
#0  0x00007f8926a56e9d in nanosleep () from /lib64/libpthread.so.0
#1  0x00007f891dfa5478 in XrdSysTimer::Wait(int) () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdUtils.so.2
#2  0x00007f891e114639 in XrdCl::TaskManager::RunTasks() () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdCl.so.2
#3  0x00007f891e114799 in RunRunnerThread () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdCl.so.2
#4  0x00007f8926a4fea5 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f892677896d in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7f88f15c3700 (LWP 24595)):
#0  0x00007f8926778f43 in epoll_wait () from /lib64/libc.so.6
#1  0x00007f891df9fad2 in XrdSys::IOEvents::PollE::Begin(XrdSysSemaphore*, int&, char const**) () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdUtils.so.2
#2  0x00007f891df9c30d in XrdSys::IOEvents::BootStrap::Start(void*) () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdUtils.so.2
#3  0x00007f891dfa4ca7 in XrdSysThread_Xeq () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libXrdUtils.so.2
#4  0x00007f8926a4fea5 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f892677896d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7f8906d17700 (LWP 24499)):
#0  0x00007f8926a571d9 in waitpid () from /lib64/libpthread.so.0
#1  0x00007f891dc88fd7 in edm::service::cmssw_stacktrace_fork() () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/pluginFWCoreServicesPlugins.so
#2  0x00007f891dc89a9a in edm::service::InitRootHandlers::stacktraceHelperThread() () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/pluginFWCoreServicesPlugins.so
#3  0x00007f892703cd2f in std::execute_native_thread_routine (__p=0x7f89180df190) at ../../../../../libstdc++-v3/src/c++11/thread.cc:80
#4  0x00007f8926a4fea5 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f892677896d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f8924d5f540 (LWP 24136)):
#0  0x00007f892676dc3d in poll () from /lib64/libc.so.6
#1  0x00007f891dc8943f in full_read.constprop () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/pluginFWCoreServicesPlugins.so
#2  0x00007f891dc89b7c in edm::service::InitRootHandlers::stacktraceFromThread() () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/pluginFWCoreServicesPlugins.so
#3  0x00007f891dc8aa59 in sig_dostack_then_abort () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/pluginFWCoreServicesPlugins.so
#4  <signal handler called>
#5  0x00007f89266b0387 in raise () from /lib64/libc.so.6
#6  0x00007f89266b1a78 in abort () from /lib64/libc.so.6
#7  0x00007f88fc9a0c93 in G4Exception(char const*, char const*, G4ExceptionSeverity, char const*) () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libG4global.so
#8  0x00007f88fd19b601 in G4ErrorPropagatorManager::InitGeant4e() () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-11-23-2300/external/slc7_amd64_gcc820/lib/libG4error_propagation.so
#9  0x00007f88fd5f2701 in Geant4ePropagator::ensureGeant4eIsInitilized(bool) const () from /tmp/musich/CMSSW_11_2_X_2020-11-23-2300/lib/slc7_amd64_gcc820/libTrackPropagationGeant4e.so
#10 0x00007f88fd5f2c8f in Geant4ePropagator::Geant4ePropagator(MagneticField const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, PropagationDirection, double) () from /tmp/musich/CMSSW_11_2_X_2020-11-23-2300/lib/slc7_amd64_gcc820/libTrackPropagationGeant4e.so
#11 0x00007f88fd60e322 in GeantPropagatorESProducer::produce(TrackingComponentsRecord const&) () from /tmp/musich/CMSSW_11_2_X_2020-11-23-2300/lib/slc7_amd64_gcc820/pluginTrackPropagatorsGeant4ePlugins.so
#12 0x00007f88fd61730d in decltype ({parm#1}()) edm::convertException::wrap<edm::eventsetup::Callback<GeantPropagatorESProducer, std::unique_ptr<Propagator, std::default_delete<Propagator> >, TrackingComponentsRecord, edm::eventsetup::CallbackSimpleDecorator<TrackingComponentsRecord> >::runProducerAsync(std::__exception_ptr::exception_ptr const*, edm::eventsetup::EventSetupRecordImpl const*, edm::EventSetupImpl const*, edm::ServiceToken const&)::{lambda()#1}::operator()() const::{lambda()#1}>(edm::eventsetup::Callback<GeantPropagatorESProducer, std::unique_ptr<Propagator, std::default_delete<Propagator> >, TrackingComponentsRecord, edm::eventsetup::CallbackSimpleDecorator<TrackingComponentsRecord> >::runProducerAsync(std::__exception_ptr::exception_ptr const*, edm::eventsetup::EventSetupRecordImpl const*, edm::EventSetupImpl const*, edm::ServiceToken const&)::{lambda()#1}::operator()() const::{lambda()#1}) () from /tmp/musich/CMSSW_11_2_X_2020-11-23-2300/lib/slc7_amd64_gcc820/pluginTrackPropagatorsGeant4ePlugins.so
#13 0x00007f88fd617561 in edm::eventsetup::Callback<GeantPropagatorESProducer, std::unique_ptr<Propagator, std::default_delete<Propagator> >, TrackingComponentsRecord, edm::eventsetup::CallbackSimpleDecorator<TrackingComponentsRecord> >::runProducerAsync(std::__exception_ptr::exception_ptr const*, edm::eventsetup::EventSetupRecordImpl const*, edm::EventSetupImpl const*, edm::ServiceToken const&)::{lambda()#1}::operator()() const () from /tmp/musich/CMSSW_11_2_X_2020-11-23-2300/lib/slc7_amd64_gcc820/pluginTrackPropagatorsGeant4ePlugins.so
#14 0x00007f88fd61859f in void edm::SerialTaskQueueChain::actionToRun<edm::eventsetup::Callback<GeantPropagatorESProducer, std::unique_ptr<Propagator, std::default_delete<Propagator> >, TrackingComponentsRecord, edm::eventsetup::CallbackSimpleDecorator<TrackingComponentsRecord> >::runProducerAsync(std::__exception_ptr::exception_ptr const*, edm::eventsetup::EventSetupRecordImpl const*, edm::EventSetupImpl const*, edm::ServiceToken const&)::{lambda()#1}&>(edm::eventsetup::Callback<GeantPropagatorESProducer, std::unique_ptr<Propagator, std::default_delete<Propagator> >, TrackingComponentsRecord, edm::eventsetup::CallbackSimpleDecorator<TrackingComponentsRecord> >::runProducerAsync(std::__exception_ptr::exception_ptr const*, edm::eventsetup::EventSetupRecordImpl const*, edm::EventSetupImpl const*, edm::ServiceToken const&)::{lambda()#1}&) () from /tmp/musich/CMSSW_11_2_X_2020-11-23-2300/lib/slc7_amd64_gcc820/pluginTrackPropagatorsGeant4ePlugins.so
#15 0x00007f88fd618611 in edm::SerialTaskQueue::QueuedTask<edm::SerialTaskQueueChain::push<edm::eventsetup::Callback<GeantPropagatorESProducer, std::unique_ptr<Propagator, std::default_delete<Propagator> >, TrackingComponentsRecord, edm::eventsetup::CallbackSimpleDecorator<TrackingComponentsRecord> >::runProducerAsync(std::__exception_ptr::exception_ptr const*, edm::eventsetup::EventSetupRecordImpl const*, edm::EventSetupImpl const*, edm::ServiceToken const&)::{lambda()#1}>(edm::eventsetup::Callback<GeantPropagatorESProducer, std::unique_ptr<Propagator, std::default_delete<Propagator> >, TrackingComponentsRecord, edm::eventsetup::CallbackSimpleDecorator<TrackingComponentsRecord> >::runProducerAsync(std::__exception_ptr::exception_ptr const*, edm::eventsetup::EventSetupRecordImpl const*, edm::EventSetupImpl const*, edm::ServiceToken const&)::{lambda()#1}&&)::{lambda()#1}>::execute() () from /tmp/musich/CMSSW_11_2_X_2020-11-23-2300/lib/slc7_amd64_gcc820/pluginTrackPropagatorsGeant4ePlugins.so
#16 0x00007f8927a41bfd in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::process_bypass_loop (this=this@entry=0x7f892374b200, context_guard=..., t=t@entry=0x7f88cabbd940, isolation=isolation@entry=0) at ../../src/tbb/custom_scheduler.h:393
#17 0x00007f8927a41ef5 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all (this=0x7f892374b200, parent=..., child=<optimized out>) at ../../include/tbb/task.h:1003
#18 0x00007f8927a3cbc1 in tbb::interface7::internal::task_arena_base::internal_execute (this=0x7f89293d8000 <edm::esTaskArena()::s_arena>, d=...) at ../../src/tbb/arena.cpp:1105
#19 0x00007f89291b12b1 in edm::eventsetup::DataProxy::get(edm::eventsetup::EventSetupRecordImpl const&, edm::eventsetup::DataKey const&, bool, edm::ActivityRegistry const*, edm::EventSetupImpl const*) const () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#20 0x00007f892921e096 in edm::eventsetup::EventSetupRecordImpl::getFromProxy(edm::eventsetup::DataKey const&, edm::eventsetup::ComponentDescription const*&, bool, edm::EventSetupImpl const*) const () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#21 0x00007f88cada10a1 in TrackProducerBase<reco::Track>::getFromES(edm::EventSetup const&, edm::ESHandle<TrackerGeometry>&, edm::ESHandle<MagneticField>&, edm::ESHandle<TrajectoryFitter>&, edm::ESHandle<Propagator>&, edm::ESHandle<MeasurementTracker>&, edm::ESHandle<TransientTrackingRecHitBuilder>&) () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/pluginRecoTrackerTrackProducerPlugins.so
#22 0x00007f88caddc557 in TrackRefitter::produce(edm::Event&, edm::EventSetup const&) () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/pluginRecoTrackerTrackProducerPlugins.so
#23 0x00007f8929311904 in edm::stream::EDProducerAdaptorBase::doEvent(edm::EventTransitionInfo const&, edm::ActivityRegistry*, edm::ModuleCallingContext const*) () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#24 0x00007f89292ebeae in edm::WorkerT<edm::stream::EDProducerAdaptorBase>::implDo(edm::EventTransitionInfo const&, edm::ModuleCallingContext const*) () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#25 0x00007f89292520b5 in decltype ({parm#1}()) edm::convertException::wrap<edm::Worker::runModule<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::TransitionInfoType const&, edm::StreamID, edm::ParentContext const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*)::{lambda()#1}>(edm::Worker::runModule<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::TransitionInfoType const&, edm::StreamID, edm::ParentContext const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*)::{lambda()#1}) () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#26 0x00007f892925226d in bool edm::Worker::runModule<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::TransitionInfoType const&, edm::StreamID, edm::ParentContext const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*) () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#27 0x00007f8929252576 in std::__exception_ptr::exception_ptr edm::Worker::runModuleAfterAsyncPrefetch<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(std::__exception_ptr::exception_ptr const*, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::TransitionInfoType const&, edm::StreamID, edm::ParentContext const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*) () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#28 0x00007f8929253c7a in edm::Worker::RunModuleTask<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >::execute() () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#29 0x00007f8927a41bfd in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::process_bypass_loop (this=this@entry=0x7f892374b200, context_guard=..., t=t@entry=0x7f88cabbf740, isolation=isolation@entry=0) at ../../src/tbb/custom_scheduler.h:393
#30 0x00007f8927a41ef5 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all (this=0x7f892374b200, parent=..., child=<optimized out>) at ../../include/tbb/task.h:1003
#31 0x00007f89291d3395 in edm::EventProcessor::processLumis(std::shared_ptr<void> const&) () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#32 0x00007f89291db4de in edm::EventProcessor::runToCompletion() () from /cvmfs/cms-ib.cern.ch/nweek-02656/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-11-22-0000/lib/slc7_amd64_gcc820/libFWCoreFramework.so
#33 0x000000000040f596 in tbb::interface7::internal::delegated_function<main::{lambda()#1}::operator()() const::{lambda()#1} const, void>::operator()() const ()
#34 0x00007f8927a3cbc1 in tbb::interface7::internal::task_arena_base::internal_execute (this=0x7ffdb1a87c90, d=...) at ../../src/tbb/arena.cpp:1105
#35 0x0000000000410498 in main::{lambda()#1}::operator()() const ()
#36 0x000000000040f015 in main ()

Current Modules:

Module: TrackRefitter:Geant4eTrackRefitter (crashed)

A fatal system signal has occurred: abort signal
Abort (core dumped)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32260/20026

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mmusich (Marco Musich) for master.

It involves the following packages:

TrackPropagation/Geant4e

@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks.
@makortel, @felicepantaleo, @JanFSchulte, @VinInn, @lecriste, @ebrondol, @mtosi this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@mmusich
Copy link
Contributor Author

mmusich commented Nov 24, 2020

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 24, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32260/20033

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

Pull request #32260 was updated. @cmsbuild, @civanch, @mdhildreth can you please check and sign again.

@cmsbuild
Copy link
Contributor

+1
Tested at: ce68764
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5fd2f9/10992/summary.html
CMSSW: CMSSW_11_2_X_2020-11-23-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5fd2f9/10992/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2961011
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2960982
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 158 log files, 34 edm output root files, 37 DQM output files

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 24, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: 9efa291
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5fd2f9/11009/summary.html
CMSSW: CMSSW_11_2_X_2020-11-24-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5fd2f9/11009/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2963516
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2963487
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 158 log files, 34 edm output root files, 37 DQM output files

@mmusich
Copy link
Contributor Author

mmusich commented Nov 25, 2020

@civanch

this is migration to ESconsumes and code optimisation, not more.

If I understand correctly the ESConsumes migration is done correctly and once that is fixed, this uncovers a further problem with Geant4e which is not seen in 10.6.x. Any further help is appreciated since until this is fixed we cannot close issue #31920

@mmusich mmusich marked this pull request as ready for review November 25, 2020 09:07
@mmusich mmusich changed the title [RFC] migrate to ESconsumes GeantPropagatorESProducer migrate to ESconsumes GeantPropagatorESProducer Nov 25, 2020
@civanch
Copy link
Contributor

civanch commented Nov 25, 2020

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@civanch
Copy link
Contributor

civanch commented Nov 25, 2020

@mmusich , for me this G4Refitter.py is working for 10_6_X and fails in 11_2_X in a different way. Your crash means, that Geant4 geometry is not built in 11_2, my crash is different but the reason is similar. This is not Geant4e issue but this is the issue how Geant4 geometry is instantiated in 11_2 - we changed this place, when prepared migration to DD4Hep. Corresponding modifications should be propagated to G4Refitter.py for 11_2. What I miss - how G4Refitter.py is created?

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit d4ca973 into cms-sw:master Nov 25, 2020
@mmusich
Copy link
Contributor Author

mmusich commented Nov 25, 2020

@civanch

This is not Geant4e issue but this is the issue how Geant4 geometry is instantiated in 11_2 - we changed this place, when prepared migration to DD4Hep. Corresponding modifications should be propagated to G4Refitter.py for 11_2.

Please let me know how it should be modified. Thanks

@mmusich mmusich deleted the GeantPropagatorESProducer_11_2_X branch December 2, 2020 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants