Looks like the PIC itself reset here and there... i still bet on some kind of noise... or UFO interferences... stack under/overflow?

Fishing in the dark..