无法在Qt中恢复帧崩溃

时间:2013-09-05 00:28:03

标签: qt qt5

我目前有一个应用程序,有四个QNetworkAccessManagers在定期计时器的四个不同时间被调用。当我需要与经理再次发布/阅读时,我打电话:

示例:

reply = manager#->get(QNetworkRequest(QUrl(URL)));

计时器每个都到期:

Manager1 - 10s
Manager2 - 15s
Manager3 - 90s
Manager4 - 300s

这很好用。但是,经过这么多次运行后,我收到了4个中的1个回复后我得到了

can't find linker symbol for virtual table for `QDynamicMetaObjectData' value
    found `QXmlUtils::isPublicID(QString const&)' instead
Couldn't restore frame #2 in current thread, at reparsed frame #0
Couldn't restore frame #2 in current thread, at reparsed frame #0

或只是

Couldn't restore frame #1 in current thread, at reparsed frame #0
Couldn't restore frame #1 in current thread, at reparsed frame #0
Couldn't restore frame #1 in current thread, at reparsed frame #0
Couldn't restore frame #1 in current thread, at reparsed frame #0

然后程序崩溃了。我的问题是:有没有人见过这个?

1 个答案:

答案 0 :(得分:1)

这样的错误通常来自gdb

既然你坚持认为你没有在调试器下运行它,那么另一种可能性就是你在某处腐蚀内存,可能是ELF表或类型信息数据等。

valgrind下运行它,看看是否有错误。我打赌你会很快找到它。