When simulating a thin medium (upper atmosphere) with a strong electric field (~100s KV/m, thundercloud) a particle can get zero energy but remain alive. This causes it to loop forever, as in subsequent steps it is not seen as 'Stopped but Alive", but as "Alive" and yet has zero kinetic energy. The reason for going to zero energy is a combination between the proposed energy changes from the Energy Loss process and the Transportation (in Electric Field). If the initial particle, for example, has 200 KeV kinetic energy, and energy loss proposes DeltaE= -40 KeV whereas Transportation proposes -180 KeV, then the resulting final energy is 0 KeV, yet neither process has changed the state -- or can change the state because AlongStep ACtions are "summed" only by the tracking.
From the release 7.0, SteppingManager sets StopButAlive or StopAndKill flag for a track with zero kinetic energy after invocation of all AlongStep DoIts.