使用了QHttp,不定期去服务器获取信息,程序运行几十分钟到一个小时不等,就弹出程序异常错误,被系统终止了,eclipse 控制台报告:
QWaitCondition: Destroyed while threads are still waiting
QObject::killTimers: timers cannot be stopped from another thread
ASSERT failure in QMutex::lock: "Internal error, infinite wait has timed out.", file thread\qmutex.cpp, line 169
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
能想到的地方都修改测试了,问题依然,崩溃中!现在怀疑是QHttp的bug,只要把http请求关闭,程序运行多长时间也不退出。
Qt4.5,现在换成Qt4.6了现象依旧。