[Gate-users] core dumps
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Fri Jul 5 14:04:33 CEST 2013
On Fri, Jul 5, 2013 at 8:14 AM, David Sarrut wrote:
> Hello Mojca,
>
> thanks for your feedback !
>
> I removed the 'x' bit for some files and I applied your patch on the develop
> branch. It should be available in the public repo within few hours (private
> and public repos are sync once or twice a day).
Thank you.
> Could you please use the 'develop' branch rather than the master one, I
> think some bugs corrections have already be done in that version.
OK. So I believe the next question is: would you suggest using Geant4
9.5 or 9.6 with the development version? Where can I expect less
problems?
> Regarding you strange issue with material.db files (I cannot reproduce it),
> it may be related to qt. I remember that qt use/provide some specific
> behavior for reading decimal number according to the user locale. Maybe the
> '.' (dot) is not the character used by your locale (for example in French,
> the '.' is replaced in some software by a ','). If it works everytime
> without qt, try to play with the locale (altough, to be honnest I could
> hardly see the link between qt and the classes that read material) ...
Bingo!
I knew that both Qt and C# love to be user-friendly and happily
consider comma to be the decimal separator, but I didn't think of that
when I stumbled into the problem.
Thank you very much. Using
export LANG="en_GB.UTF-8"
export LC_ALL="en_GB.UTF-8"
as well as exporting all the variables for Data files and fixing some
permission problems in G4EMLOW got rid of core dumps in both Qt and
non-Qt version of Gate. (The crash could have been more informative by
telling me that G4LEDATA variable was missing ;)
Now the next challenge would be figuring out where/how to fix the
behaviour in Geant4 or Gate, so that parsing won't depend on locale.
Thank you,
Mojca
More information about the Gate-users
mailing list