Segmentation fault when running the seeding on *real* data
Some corrupt clusters appear in the decoding (for information, this is the FT team issue), but are ignored. After a cerain number of events, a segmentation fault appears.
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum https://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at https://root.cern.ch/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#7 0x00007f7e05325aa5 in LHCb::Pr::HybridSeeding::findXProjections(LHCb::Pr::Hits<(LHCb::Pr::HitType)2> const&, FTZoneCache::ZoneCache const&, unsigned int, unsigned int, PrFTHitHandler<ModPrHit> const&, std::array<std::vector<LHCb::Pr::Hybrid::SeedTrackX, std::allocator<LHCb::Pr::Hybrid::SeedTrackX> >, 2ul>&) const () from /scratch/everyone/lohenry/stack/Rec/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libPrAlgorithms.so
#8 0x00007f7e05329f37 in LHCb::Pr::HybridSeeding::operator()(LHCb::Pr::Hits<(LHCb::Pr::HitType)2> const&, FTZoneCache::ZoneCache const&, DeMagnet const&) const () from /scratch/everyone/lohenry/stack/Rec/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libPrAlgorithms.so
#9 0x00007f7e0535e651 in Gaudi::Functional::details::Transformer<LHCb::Pr::Seeding::Tracks (LHCb::Pr::Hits<(LHCb::Pr::HitType)2> const&, FTZoneCache::ZoneCache const&, DeMagnet const&), Gaudi::Functional::Traits::use_<LHCb::DetDesc::useConditionHandleFor<FTZoneCache::ZoneCache, DeMagnet>, Gaudi::Functional::Traits::BaseClass_t<LHCb::DetDesc::ConditionAccessorHolder<FixTESPath<Gaudi::Algorithm> > > >, false>::execute(EventContext const&) const () from /scratch/everyone/lohenry/stack/Rec/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libPrAlgorithms.so
#10 0x00007f7e0f845de8 in Gaudi::Algorithm::sysExecute(EventContext const&) () from /scratch/everyone/lohenry/stack/Gaudi/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libGaudiKernel.so
#11 0x00007f7e095d2d2c in AlgWrapper::execute(EventContext&, gsl::span<LHCb::Interfaces::ISchedulerConfiguration::State::AlgState, 18446744073709551615ul>) const () from /scratch/everyone/lohenry/stack/LHCb/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libHLTScheduler.so
#12 0x00007f7e095c46fc in HLTControlFlowMgr::push(EventContext&&)::{lambda(EventContext&)#1}::operator()(EventContext&) const () from /scratch/everyone/lohenry/stack/LHCb/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libHLTScheduler.so
#13 0x00007f7e095c4f81 in tbb::internal::function_task<(anonymous namespace)::EventTask<HLTControlFlowMgr::push(EventContext&&)::{lambda(EventContext&)#1}> >::execute() () from /scratch/everyone/lohenry/stack/LHCb/InstallArea/x86_64_v2-centos7-gcc11-opt/lib/libHLTScheduler.so
#14 0x00007f7e192d7a45 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::process_bypass_loop (this=this
entry=0x7f7e09f77e00, context_guard=..., t=0x7f7e09f7fb40, isolation=isolation
entry=0) at ../../src/tbb/custom_scheduler.h:474
#15 0x00007f7e192d7d78 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all (this=0x7f7e09f77e00, parent=..., child=<optimized out>) at ../../src/tbb/custom_scheduler.h:636
#16 0x00007f7e192d1857 in tbb::internal::arena::process (this=0x7f7e09f87a00, s=...) at ../../src/tbb/arena.cpp:196
#17 0x00007f7e192d0060 in tbb::internal::market::process (this=0x7f7e09f8f580, j=...) at ../../src/tbb/market.cpp:667
#18 0x00007f7e192cc7ac in tbb::internal::rml::private_worker::run (this=0x7f7e06270180) at ../../src/tbb/private_server.cpp:266
#19 0x00007f7e192cc9e9 in tbb::internal::rml::private_worker::thread_routine (arg=<optimized out>) at ../../src/tbb/private_server.cpp:219
#20 0x00007f7e35085ea5 in start_thread () from /lib64/libpthread.so.0
#21 0x00007f7e346a59fd in clone () from /lib64/libc.so.6
from PyConf.tonic import configurable
from PyConf.application import default_raw_event
from Moore import options
from Moore import run_reconstruction
from Gaudi.Configuration import *
from RecoConf.hlt1_tracking import make_PrStoreFTHit_hits, make_PrStoreSciFiHits_hits
@configurable
def seedingOptions(optsDict = {}):
return optsDict
@configurable
def make_PrHybridSeeding_tracks(make_ft_hits=make_PrStoreSciFiHits_hits):
from PyConf.Algorithms import PrHybridSeeding, LHCb__Converters__Track__v1__fromV2TrackV1Track as FromV2TrackV1Track
from PyConf.Algorithms import fromPrSeedingTracksV1Tracks
scifi_tracks_pr = PrHybridSeeding(FTHitsLocation=make_ft_hits()).OutputName
scifi_tracks_v1 = fromPrSeedingTracksV1Tracks(
InputTracksLocation=scifi_tracks_pr).OutputTracksLocation
return {"v1": scifi_tracks_v1, "Pr": scifi_tracks_pr}
def make_seed_tracks():
scifi_tracks = make_PrHybridSeeding_tracks()
track_dict = {"Seed": scifi_tracks}
return track_dict
@configurable
def standalone_hlt2_seed_reco(do_mc_checking=False, seedingOpts = {}):
from RecoConf.hlt1_tracking import make_pvs
from RecoConf.mc_checking import get_track_checkers, get_best_tracks_checkers
from RecoConf.standalone import reco_prefilters
from Moore.config import Reconstruction
seed_tracks = make_seed_tracks()["Seed"]
data = [seed_tracks["v1"]]
return Reconstruction('hlt2_seeding', data, [])
from Moore import options
from RecoConf.decoders import default_ft_decoding_version
options.evt_max = 1000000
options.dddb_tag = "upgrade/master"
options.conddb_tag = "upgrade/SFCAVERN_C_20220705_160436_All-FixedOrder"
options.simulation = True
options.input_type = "MDF"
from glob import glob
runnumber = "236253"
files = glob("/hlt2/objects/SFC/0000" + runnumber + "/*_SCEB*.mdf")
options.input_files = files
with standalone_hlt2_seed_reco.bind(do_mc_checking=True):
run_reconstruction(options, standalone_hlt2_seed_reco)