[Halld-offline] an old crash in hdgeant is back with latest jana update

Richard Jones richard.t.jones at uconn.edu
Tue Mar 25 19:13:30 EDT 2014


Hello Dave and all,

I am now getting consistent crashing in hdgeant with the latest build,
using jana-0.7.1p2.  This is an old friend (NOT) that I thought was fixed
in patch p1.  If the environment variable USER is not set then hdgeant (new
build only) crashes during ccdb access.

This was difficult to diagnose, and required going through the environment
vars one at a time to see what was causing it.  Obviously this is easy to
work around, but USER is not a standard shell environment variable and not
one that would ordinarily be defined in a remote job environment.  We could
require that it be part of the standard runtime environment for hdgeant,
but it would be nicer to just not depend on it, since there is no obvious
reason why it would be needed to get the username this way instead of
through the standard clib calls.

-Richard J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.jlab.org/pipermail/halld-offline/attachments/20140325/03857639/attachment.html 


More information about the Halld-offline mailing list