MantisBT - Hall D Offline
View Issue Details
0000094Hall D OfflineGeneralpublic2011-06-20 15:592011-06-30 16:48
davidl 
davidl 
normalminoralways
resolvedfixed 
0000094: hdgeant crashes when adding EM background
When running hdgeant with BGGATE and BGRATE enabled so that additional beam photons will be simulated in addition to the events read from an external file, it seems to crash immediately. It is unclear if this is the first event or if it gets through one or two before the crash. The "10 events" message does not get printed prior to the crash.

Problem was not noticed for data set with very weak thrown photon that doesn't escape target.
---- Snippet from log file ------

 !!!!! ZFATAL called from MZPUSH

 !!!!! ZFATAL reached from MZPUSH for Case= 3

          IQUEST(11) = 1186631 121B47
          IQUEST(12) = ********* 454E494B KINE
          IQUEST(13) = 64000 FA00
          IQUEST(14) = 64000 FA00
          IQUEST(15) = 1 1
          IQUEST(16) = 0 0
          IQUEST(17) = 10 A
          IQUEST(18) = 0 0

          Current Store number = 0 (JQDIVI= 2)
1ZEBRA SYSTEM Post-Mortem from ZPOSTM.
No tags attached.
Issue History
2011-06-20 15:59davidlNew Issue
2011-06-20 15:59davidlStatusnew => assigned
2011-06-20 15:59davidlAssigned To => jonesrt
2011-06-28 21:20jonesrtNote Added: 0000133
2011-06-29 05:54jonesrtNote Added: 0000134
2011-06-29 05:54jonesrtStatusassigned => feedback
2011-06-30 16:24davidlStatusfeedback => assigned
2011-06-30 16:24davidlAssigned Tojonesrt => davidl
2011-06-30 16:28davidlNote Added: 0000137
2011-06-30 16:48davidlNote Added: 0000138
2011-06-30 16:48davidlStatusassigned => resolved
2011-06-30 16:48davidlResolutionopen => fixed

Notes
(0000133)
jonesrt   
2011-06-28 21:20   
I am unable to reproduce the problem, starting from a clean checkout and build of Rev. 7915. Can you post a complete copy of your control.in file that you used to create the error?
(0000134)
jonesrt   
2011-06-29 05:54   
Need more detailed instructions on how to reproduce. Cannot reproduce the error, given the information provided.
(0000137)
davidl   
2011-06-30 16:28   
I am able to successfully run the executable that is in Richard's area of the scratch disk, but still get crashes when running an executable I built.

I have tried building my own version of cernlib using the gridmake script from Richard's area the scratch disk and still get crashes.

I have tried linking to Richard's cernlib binaries on the scratch disk and still get crashes.

It seems the crashes are:
1.) not directly related to the cernlib version
2.) not due to settings in the environment
(0000138)
davidl   
2011-06-30 16:48   
This turned out to be due to a stale hdds version.

The problem was traced by systematically linking against packages in Richard's packages directory on the scratch disk (cernlib, sim-recon, hdds) until a working executable was obtained.