Project

General

Profile

Bug #1722

Segv in bin/analyze_data_offline

Added by Rogers, Chris about 8 years ago. Updated about 8 years ago.

Status:
Open
Priority:
Normal
Category:
-
Target version:
-
Start date:
29 July 2015
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

I wanted to reconstruct 07290 with the latest mapping files. However, I am getting a segmentation fault.

I ran

python ${MAUS_ROOT_DIR}/bin/analyze_data_offline.py --configuration_file config.py

against the trunk. I am using data from 07290 downloaded from e.g. http://gfe02.grid.hep.ph.ic.ac.uk:8301/MICE/Step4/07200/07290.tar?action=show

I am using latest calibration and mapping as defined in #1721. Stack trace is in attached log file. Looks like something in the tracker cluster finding...


Files

config.py (163 Bytes) config.py Rogers, Chris, 29 July 2015 09:14
log (18.4 KB) log Rogers, Chris, 29 July 2015 09:14
#1

Updated by Rogers, Chris about 8 years ago

Some info about the branch I am using...

------------------------------------------------------------
revno: 894 [merge]
committer: Durga Rajaram <durga@fnal.gov>
branch nick: merge
timestamp: Sun 2015-07-19 15:27:26 -0500
message:
  fix tests
------------------------------------------------------------
revno: 895 [merge]
committer: Durga Rajaram <durga@fnal.gov>
branch nick: merge
timestamp: Sun 2015-07-19 15:30:28 -0500
message:
  tof trigger handling to include tof0/tof2
------------------------------------------------------------
revno: 896
committer: Chris Rogers <chris.rogers@stfc.ac.uk>
branch nick: merge
timestamp: Mon 2015-07-20 09:57:07 +0100
message:
  Fix to #1716
------------------------------------------------------------
revno: 897
committer: Durga Rajaram <durga@fnal.gov>
branch nick: trunk
timestamp: Tue 2015-07-21 00:17:14 -0500
message:
  ReducePyTofCalib updated to handle MAUS::Data
------------------------------------------------------------
revno: 898 [merge]
committer: Adam Dobbs <phuccj@gmail.com>
branch nick: merge-hunt
timestamp: Thu 2015-07-23 23:08:26 +0100
message:
  Merge: tracker updates
------------------------------------------------------------
revno: 899
committer: Chris Rogers <chris.rogers@stfc.ac.uk>
branch nick: merge
timestamp: Mon 2015-07-27 11:06:28 +0100
message:
  Disable root_document_store tests
------------------------------------------------------------
Use --include-merged or -n0 to see merged revisions.
cr67@ctr /mnt/fdbd8899-86c5-4e8b-8e68-0f39de13fa76/home/cr67/MAUS/maus_merge $ bzr revision-info
899 chris.rogers@stfc.ac.uk-20150727100628-dosk2phzo28iz23e
cr67@ctr /mnt/fdbd8899-86c5-4e8b-8e68-0f39de13fa76/home/cr67/MAUS/maus_merge $ bzr info
Checkout (format: 2a)
Location:
       checkout root: .
  checkout of branch: bzr+ssh://bazaar.launchpad.net/+branch/maus/merge/

Related branches:
    push branch: bzr+ssh://bazaar.launchpad.net/~chris-rogers/maus/1680/
  submit branch: /mnt/fdbd8899-86c5-4e8b-8e68-0f39de13fa76/home/cr67/MAUS/maus_xboa
cr67@ctr /mnt/fdbd8899-86c5-4e8b-8e68-0f39de13fa76/home/cr67/MAUS/maus_merge $ 
#2

Updated by Rogers, Chris about 8 years ago

Ah, I used the wrong geometry. Still, it shouldnt segfault...

#3

Updated by Hunt, Christopher about 8 years ago

I have an idea of where that might be coming from. I can have a look when I have time.

Using a correct geometry should "avoid" it in the meantime.

#4

Updated by Rogers, Chris about 8 years ago

I tracked it to the line 102 in src/common_cpp/Recon/SciFi/SciFiClusterRec.cc:

  SciFiPlaneMap::const_iterator iterator = _geometry_map.find(tracker)->second.Planes.find(id);

(and then it was obvious what I had screwed up!)

Also available in: Atom PDF