Skip to content

DV test test_tutorial3_ThOrfunctors fails in dbg builds

See e.g.

https://lhcb-nightlies.web.cern.ch/nightly/lhcb-master/2742/DaVinci/x86_64_v2-el9-gcc13-dbg/tests#DaVinciTutorials_test_tutorial3_ThOrfunctors

Or

https://lhcb-nightlies.web.cern.ch/nightly/lhcb-master/2742/DaVinci/x86_64_v2-el9-gcc13+detdesc-dbg/tests#DaVinciTutorials_test_tutorial3_ThOrfunctors

In file included from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/ParticleCombination.h:15,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/Particle.h:521,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/ParticleUtils.h:12,
                 from /workspace/data/workspace/Rec/Phys/FunctorCore/include/Functors/Adapters.h:12,
                 from /workspace/data/workspace/Rec/Phys/FunctorCore/include/Functors/JIT_includes.h:24,
                 from <command-line>:
In constructor 'boost::container::static_vector<T, Capacity, Options>::static_vector(std::initializer_list<typename boost::container::vector<T, typename boost::container::dtl::get_static_vector_allocator<T, Capacity, Options>::type>::value_type>) [with T = const LHCb::Particle*; long unsigned int Capacity = 8; Options = void]',
    inlined from 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&}; Particle_t = LHCb::Particle]' at /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/ParticleCombination.h:55:45:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.86.0-4a4ec/x86_64-el9-gcc13-dbg/include/boost/container/static_vector.hpp:291:20: warning: '<anonymous>' may be used uninitialized [-Wmaybe-uninitialized]
  291 |         : base_t(il)
      |                    ^
In file included from /cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.86.0-4a4ec/x86_64-el9-gcc13-dbg/include/boost/container/small_vector.hpp:27,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Kernel/MonotonicArena.h:17,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Kernel/EventLocalResource.h:34,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Kernel/EventContextExt.h:14,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Kernel/EventLocalAllocator.h:12,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Kernel/MultiIndexedContainer.h:12,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/FTLiteCluster.h:21,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/Track_v1.h:19,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/Track.h:12,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/CaloChargedInfo_v1.h:13,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/ProtoParticle.h:14,
                 from /dependencies/LHCb/InstallArea/x86_64_v2-el9-gcc13-dbg/include/Event/Particle.h:12:
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.86.0-4a4ec/x86_64-el9-gcc13-dbg/include/boost/container/vector.hpp: In constructor 'LHCb::ParticleCombination<Particle_t>::ParticleCombination(Args&& ...) [with Args = {const LHCb::Particle* const&, const LHCb::Particle* const&}; Particle_t = LHCb::Particle]':
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.86.0-4a4ec/x86_64-el9-gcc13-dbg/include/boost/container/vector.hpp:1126:4: note: by argument 3 of type 'const boost::container::vector<const LHCb::Particle*, boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>, void>::allocator_type&' {aka 'const boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>&'} to 'boost::container::vector<T, Allocator, Options>::vector(std::initializer_list<_Tp>, const allocator_type&) [with T = const LHCb::Particle*; A = boost::container::dtl::static_storage_allocator<const LHCb::Particle*, 8, 0, true>; Options = void]' declared here
 1126 |    vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
      |    ^~~~~~
/cvmfs/lhcb.cern.ch/lib/lcg/releases/Boost/1.86.0-4a4ec/x86_64-el9-gcc13-dbg/include/boost/container/static_vector.hpp:291:20: note: '<anonymous>' declared here
  291 |         : base_t(il)
      |                    ^
Edited by Christopher Rob Jones