程序运行一段时间就自行退出,快把我困惑死了

编写了一个农场外挂,使用了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了现象依旧。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值