Skip to content

CaloDigitAlg - Default initialize all data members

Christopher Rob Jones requested to merge CaloDigitAlg-DefaultInitBool into master

I am not 100% sure this is the cause, as I cannot reproduce it locally, but my best bet as the reason for the sanitizer errors like

(build/Calo/CaloDigit)$  /cvmfs/lhcb.cern.ch/lib/var/lib/LbEnv/471/stable/x86_64-centos7/bin/xenv --xml build/config/Boole-build.xenv Gaudi/InstallArea/x86_64-centos7-gcc8-dbg+ubsan/bin/genconf.exe -o build/Calo/CaloDigit/genConf/CaloDigit -p CaloDigit --configurable-module=GaudiKernel.Proxy --configurable-default-name=Configurable.DefaultName --configurable-algorithm=ConfigurableAlgorithm --configurable-algtool=ConfigurableAlgTool --configurable-auditor=ConfigurableAuditor --configurable-service=ConfigurableService -i CaloDigit 
Gaudi/GaudiKernel/GaudiKernel/ToStream.h:338:15: runtime error: load of value 151, which is not a valid value for type 'bool'
    #0 0x7f0230b79019 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > Gaudi::Utils::toString<bool>(bool const&) Gaudi/GaudiKernel/GaudiKernel/ToStream.h:338
    #1 0x7f022702293a in Gaudi::Details::Property::DefaultStringConverterImpl<bool>::toString[abi:cxx11](bool const&) Gaudi/InstallArea/x86_64-centos7-gcc8-dbg+ubsan/include/GaudiKernel/Property.h:171
    #2 0x7f022702293a in Gaudi::Property<bool&, Gaudi::Details::Property::NullVerifier, Gaudi::Details::Property::UpdateHandler>::toString[abi:cxx11]() const Gaudi/InstallArea/x86_64-centos7-gcc8-dbg+ubsan/include/GaudiKernel/Property.h:684
    #3 0x444e6c in configGenerator::pythonizeValue(Gaudi::Details::PropertyBase const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) Gaudi/GaudiKernel/src/Util/genconf.cpp:721
    #4 0x448544 in genComponent Gaudi/GaudiKernel/src/Util/genconf.cpp:681
    #5 0x450bfe in configGenerator::genConfig(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) Gaudi/GaudiKernel/src/Util/genconf.cpp:568
    #6 0x458844 in main Gaudi/GaudiKernel/src/Util/genconf.cpp:412
Edited by Marco Cattaneo

Merge request reports