Minimal options to be ran with hlt2_pp_2025.py with instructions to create the segmentation violation in 0bc47c7b
Found when attempting to run the BW Tests on MC.
The BW Tests have used this flag since 2023 and it definitely used to be able to run on MC but I have a gut feeling that these tests haven't worked on MC since we moved back from 2024-patches to master
That means there is a subtle bug somewhere, tcmalloc shouldn't make a difference but if you're relying on something which should be broken it can be a bit less permissive
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
On my side, I've tried to reproduce locally in dbg mode, but I do not even manage to compile Moore these days... I have troubles with ParamFiles. It seems it was not released recently enough and you need your own local version. But even with it, I get this kind of errors :
TBTC_Forward_a7fe5a32.GhostProba... FATAL Standard std::exception is caughtTBTC_Forward_a7fe5a32.GhostProba... ERROR failure in update handler of 'Root': ParamFileSvcToolSvc ERROR Error initializing tool 'TBTC_Forward_a7fe5a32.GhostProbabilityTool_Long'HiveDataBrokerSvc FATAL in sysInitialize(): exception with tag=TBTC_Forward_a7fe5a32 is caughtHiveDataBrokerSvc ERROR TBTC_Forward_a7fe5a32 Failed to retrieve tool GhostProbabilityTool_Long/GhostProbabilityTool_Long StatusCode=FAILURE
I've finally managed to build everything in debug mode and reproduce the issue :-)
Then I've used valgrind, and after some hours, I found this :
==489323== Invalid write of size 4==489323== at 0xCD5A7277: DeUTSector::beetleStatus() const (DeUTSector.h:806)==489323== by 0xCD5B24AC: DeUTSector::initialize() (DeUTSector.cpp:281)==489323== by 0xACC1C5A5: XmlBaseDetElemCnv::fillObjRefs(IOpaqueAddress*, DataObject*) (XmlBaseDetElemCnv.cpp:153)...==489323== Address 0xd2c895a0 is 0 bytes after a block of size 16 alloc'd==489323== at 0x484C617: operator new[](unsigned long) (vg_replace_malloc.c:725)==489323== by 0xCD5A70DD: std::__new_allocator<DeUTSector::Status>::allocate(unsigned long, void const*) (new_allocator.h:147)==489323== by 0xCD5A7180: allocate (allocator.h:198)==489323== by 0xCD5A7180: allocate (alloc_traits.h:482)==489323== by 0xCD5A7180: _M_allocate (stl_vector.h:378)==489323== by 0xCD5A7180: std::vector<DeUTSector::Status, std::allocator<DeUTSector::Status> >::_M_default_append(unsigned long) (vector.tcc:663)==489323== by 0xCD5A7220: std::vector<DeUTSector::Status, std::allocator<DeUTSector::Status> >::resize(unsigned long) (stl_vector.h:1011)==489323== by 0xCD5A7252: DeUTSector::beetleStatus() const (DeUTSector.h:800)