各位大侠好!小弟在做一款音乐
播放器调试时,遇到了一个
问题。Qt会提示我:
ASSERT failure in QList<T>::operator[]: "index out of range", file ../../../QtSDK/Desktop/Qt/4.8.0/gcc/include/QtCore/qlist.h, line 477
继而,收到如下信号被中止:
The inferior stopped because it received a
signal from the Operating System.
Signal name :
SIGABRT
Signal meaning :
Aborted
在
qlist.h里面,477到479行的代码是:
{ Q_ASSERT_X(i >= 0 && i < p.size(), "QList<T>::operator[]", "index out of range");
detach(); return reinterpret_cast<Node *>(p.at(i))->t(); }
template <typename T>
无奈英文不好,看不懂。。。恳请各位大侠能拯救我一下,感谢不尽!!