I know this is a month-old thread but I've been having this problem myself recently. The debugger was next to useless in resolving it.
It seems that using too high a frequency for your timer can cause this problem. I was using 1000 for the sake of simplicity, and getting random errors all over the place.
Changed timer frequency to 5, problem has apparently been fixed.
It seems that using too high a frequency for your timer can cause this problem. I was using 1000 for the sake of simplicity, and getting random errors all over the place.
Changed timer frequency to 5, problem has apparently been fixed.