We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main
HEAD
git clone https://github.com/eic/epic/blob/main/scripts/subdetector_tests/material_scan.py
python material_scan.py $DETECTOR_PATH/$DETECTOR_CONFIG.xml --eta-min -1 --eta-max 3.5 --phi 9 --detectors 'BeamPipe, BarrelTOFSubAssembly, EndcapMPGDSubAssembly, EndcapTOFSubAssembly, InnerMPGDBarrelSubAssembly, InnerSiTrackerSubAssembly, InnerTrackerSupport, MiddleSiTrackerSubAssembly, OuterBarrelMPGDSubAssembly, OuterSiTrackerSubAssembly'
It should go through Scanned n/401 for -1.00 <= eta <= 3.50 and create a .csv file of material scan.
Scanned n/401 for -1.00 <= eta <= 3.50
It stops at Scanned 180/401 for -1.00 <= eta <= 3.50 and shows Segmentation fault (core dumped)
Scanned 180/401 for -1.00 <= eta <= 3.50
Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered:
I double-checked with the latest main, This error happens when eta exceeds about 1.0.
Sorry, something went wrong.
The error comes from this line https://github.com/eic/epic/blob/main/scripts/subdetector_tests/material_scan.py#L100 which is calling the function dd4hep::rec::MaterialManager::placementsBetween (reference) I am still investigating why this leads to a segmentation fault
dd4hep::rec::MaterialManager::placementsBetween
Chao1009
No branches or pull requests
Environment: (where does this bug occur, have you tried other environments)
main
for latest released): mainHEAD
for the most recent):Steps to reproduce: (give a step by step account of how to trigger the bug)
git clone https://github.com/eic/epic/blob/main/scripts/subdetector_tests/material_scan.py
python material_scan.py $DETECTOR_PATH/$DETECTOR_CONFIG.xml --eta-min -1 --eta-max 3.5 --phi 9 --detectors 'BeamPipe, BarrelTOFSubAssembly, EndcapMPGDSubAssembly, EndcapTOFSubAssembly, InnerMPGDBarrelSubAssembly, InnerSiTrackerSubAssembly, InnerTrackerSupport, MiddleSiTrackerSubAssembly, OuterBarrelMPGDSubAssembly, OuterSiTrackerSubAssembly'
Expected Result: (what do you expect when you execute the steps above)
It should go through
Scanned n/401 for -1.00 <= eta <= 3.50
and create a .csv file of material scan.Actual Result: (what do you get when you execute the steps above)
It stops at
Scanned 180/401 for -1.00 <= eta <= 3.50
and showsSegmentation fault (core dumped)
The text was updated successfully, but these errors were encountered: