MantisBT - Hall D Offline
View Issue Details
0000051Hall D OfflineGeneralpublic2011-03-21 07:452015-06-10 10:05
0000051: standard reconstruction segfaults in GetLastDOCAPoint()
Trying to complete a reconstruction sample on the grid, and getting a recurring segfault in reconstruction. How to reproduce:

1. Grab the file [^] - a single event that causes the segfault.
2. Build the latest version of the reconstruction code (as of 3/18/2011) on either x86_64 or i686 platforms, both show the same feature. I have only tested this with default optimization -O2.
3. Run "hd_ana -PPLUGINS=danahddm -PTHREAD_TIMEOUT=300 events_3806.hddm".
4. Watch it segfault.
No tags attached.
Issue History
2011-03-21 07:45jonesrtNew Issue
2011-03-21 10:38davidlStatusnew => assigned
2011-03-21 10:38davidlAssigned To => davidl
2011-03-21 10:40davidlNote Added: 0000065
2011-03-21 14:41jonesrtNote Added: 0000066
2011-03-21 14:44davidlNote Added: 0000067
2011-03-21 14:44davidlStatusassigned => resolved
2011-03-21 14:44davidlResolutionopen => fixed

2011-03-21 10:40   
Was not able to reproduce this problem on OS X, but was on CentOS 5.3 (64bit).

Committed fix in svn revision 7603. It was due to use of a NULL pointer for last_swim_step in DReferenceTrajectory::GetLastDOCAPoint.

Currently awaiting confirmation of fix from Richard before marking issue as resolved.
2011-03-21 14:41   
David's fix resolves this problem for me, confirm that this ticket can be closed.
2011-03-21 14:44   
Fix has been confirmed. Marking issue as resolved.