In kstop the call to
CALL ZGLMNT(TXTELT)
passes 40 char sting, but ZGLMNT in zgoubi.f fills it with a 80 char string.
This can cause IMX and NSTOP to be overwritten, resulting in zgoubi exiting with
"SBR KSTOP : execution stopped, all particles lost !!"
after just a single lost particle.
(It is triggering for me on Fedora 19 64bit, gfortran 4.8)
Simple fix, just increase length of TXTELT. patch attached.
Thanks, this is fixed in commit [r322]. I dont seem to have permission to close bugs.
Related
Commit: [r322]