It is by far the worst bug I have ever seen. It doesnt show up on any leak detector i've tried, It occurs only in the release build, but not caused by optimizations, appears to occur on a different thread, even though MY code is only running on one thread. Everytime I get it down to parts of code, it doest occur enough for me to draw anything conclusive. In terms of the loop its caused by running the timer, but only occurs every 5th-15th timer call. fuck me