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

David Lawrence davidl at jlab.org
Tue Mar 25 19:55:47 EDT 2014


Hi Richard,

  I’m not sure I fully understand what happened there. It must have been that when I merged the changes in
jana_0.7.1p1 back into the trunk (back on Feb. 4th) I somehow did not include all of the changes. I’ve done
some surgery and I believe I have merged those changes along with the one change made in jana_0.7.1p2
into the trunk and tagged as release jana_0.7.1p3. At least the bug fix for the USER env. var. and 
the one for the end of program seg. faults seem to be there. You can give this a try and hopefully it will
not cause you so much grief!

Regards,
-Dave

On Mar 25, 2014, at 7:13 PM, Richard Jones <richard.t.jones at uconn.edu> wrote:

> 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.
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline





More information about the Halld-offline mailing list