It's impossible to say without actually knowing what your code is doing. We already know, and I think you know too, what the message means (QVector<T>::at(n) is given n which is greater than size-1 or < 0). But from the given information we can know nothing more.