I am using the gesture recognition addon and kept running into an error that occurred now and then. After some painfull debugging I found this nasty bug.
In stroke.cpp change line 126
if (copyLast && newInputList.size() > 2)
to
if (copyLast && newInputList.size() >= 2)