DUNE / dune-tms

DUNE ND Temporary Muon Spectrometer
0 stars 1 forks source link

Segmentation violation when trying to run with AStar as main reconstruction algorithm #39

Open AsaNehm opened 10 months ago

AsaNehm commented 10 months ago

When changing from TrackMethod = "Hough" to TrackMethod = "AStar" (Config/TMS_Default_Config.toml) the script ConvertToTMSTree fails right after the A* reconstruction before the looping over the Hough candidates.

$ ./bin/ConvertToTMSTree.exe /pnfs/dune/persistent/users/kleykamp/nd_production_output/2022-12-15_simple_spill/edep/FHC/00m/00/neutrino.0_1671124115.edep.root Got /pnfs/dune/persistent/users/kleykamp/nd_production_output/2022-12-15_simple_spill/edep/FHC/00m/00/neutrino.0_1671124115.edep.root, writing to /pnfs/dune/persistent/users/kleykamp/nd_production_output/2022-12-15_simple_spill/edep/FHC/00m/00/neutrino.0_1671124115.edep_output.root Info in : Geometry loaded from file... Info in : Top volume is volWorld_PV. Master volume is volWorld_PV Info in : --- Maximum geometry depth set to 100 Info in : Voxelizing... Info in : max level = 23, max placements = 766 Info in : 1629578 nodes/ 1844 volume UID's in Simulated Detector Geometry Info in : ----------------modeler ready---------------- Creating TMS Manager instance using TOML: /dune/app/users/pnehm/dune-tms/config/TMS_Default_Config.toml Setting global edep-sim filename to /pnfs/dune/persistent/users/kleykamp/nd_production_output/2022-12-15_simple_spill/edep/FHC/00m/00/neutrino.0_1671124115.edep.root Global geometry set to EDepSimGeometry Geometry scale factor: 1. Factor is 1 if 1 unit = 1mm (aka edep sim), 10 if 1 unit = 1cm (aka larsoft). Starting loop over 100 entries... Processed 0/100 (0%) Creating TMS Readout Manager instance using TOML: /dune/app/users/pnehm/dune-tms/config/TMS_Readout_Default_Config.toml Processing slice 0 of event number 0 / 100 Using AStar for main track finding reconstruction Using AStar to clean up HoughTrack? 1 Using DBSCAN for clustering after main track finding? 1 Using Euclidean for A* heuristic cost calculation Processing slice 0 of event number 1 / 100 Processing slice 0 of event number 2 / 100 Processing slice 0 of event number 3 / 100 Processing slice 0 of event number 4 / 100 Processing slice 0 of event number 5 / 100

Break segmentation violation


There was a crash. This is the entire stack trace of all threads:

0 0x00007f7172b8c60c in waitpid () from /lib64/libc.so.6

1 0x00007f7172b09f62 in do_system () from /lib64/libc.so.6

2 0x00007f71777fdab3 in TUnixSystem::Exec (shellcmd=, this=0x172a010) at /scratch/workspace/canvas-products-all/vedge-/SLF7/e20-prof/build/root/v6_22_08d/source/root-6.22.08/core/unix/src/TUnixSystem.cxx:2117

3 TUnixSystem::StackTrace (this=0x172a010) at /scratch/workspace/canvas-products-all/vedge-/SLF7/e20-prof/build/root/v6_22_08d/source/root-6.22.08/core/unix/src/TUnixSystem.cxx:2408

4 0x00007f71777fab85 in TUnixSystem::DispatchSignals (this=0x172a010, sig=kSigSegmentationViolation) at /scratch/workspace/canvas-products-all/vedge-/SLF7/e20-prof/build/root/v6_22_08d/source/root-6.22.08/core/unix/src/TUnixSystem.cxx:3646

5

6 0x00007f717988a6fb in TMS_TrackFinder::FindTracks (this=this

entry=0x107e800 <TMS_TrackFinder::GetFinder()::Instance>, event=...) at TMS_Reco.cpp:359

7 0x00000000004090f1 in ConvertToTMSTree (filename=..., output_filename=...) at ../src/TMS_Reco.h:189

8 0x000000000040bb38 in main (argc=, argv=0x7fff13e1e6d8) at ConvertToTMSTree.cpp:230


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.

6 0x00007f717988a6fb in TMS_TrackFinder::FindTracks (this=this

entry=0x107e800 <TMS_TrackFinder::GetFinder()::Instance>, event=...) at TMS_Reco.cpp:359

7 0x00000000004090f1 in ConvertToTMSTree (filename=..., output_filename=...) at ../src/TMS_Reco.h:189

8 0x000000000040bb38 in main (argc=, argv=0x7fff13e1e6d8) at ConvertToTMSTree.cpp:230