Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在QHash. 我找不到任何东西。我在 Linux 机器上使用 Qtopia-Core-4.3.3。
QHash
日志如下:
断言:文件/usr/local/Trolltech/QtopiaCore-4.3.3-400wrl/include/QtCore/qhash.h中的“*node == e || (*node)->next” ,第 824 行 分段错误
有人可以帮我吗?
只是一个疯狂的猜测,但基于它QHash是一个容器的事实,它指的是“节点”,我认为给定的断言是由程序期望节点是结束节点(e),或者有一个下一个节点。所以看起来你正在做的事情是搞乱哈希中的条目。
e
继续疯狂推测,当有人迭代容器时,我经常看到一些难以诊断的错误,有时在迭代时从容器中删除东西。不知道QHash这个处理好不好。