应用程序在后台运行时崩溃 - 设备进入睡眠模式后 [英] App crash while app in the background - after device goes to Sleep mode

查看:377
本文介绍了应用程序在后台运行时崩溃 - 设备进入睡眠模式后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序(Voip应用程序)在后台,在设备进入睡眠模式后,我经常看到此崩溃。

I'm constantly seeing this crash when our app (Voip App)is in the background, after device goes to sleep mode.

Exception Type:  00000020

Exception Codes: 0xbad22222

Highlighted Thread:  3



Application Specific Information:

SBUnsuspendLimit ooVoo[360] exceeded 15 wakes in 300 sec



Thread 3 name:  com.apple.NSURLConnectionLoader

Thread 3:

0   libsystem_kernel.dylib          0x307fc010 mach_msg_trap + 20

1   libsystem_kernel.dylib          0x307fc206 mach_msg + 50

2   CoreFoundation                  0x3569b41c __CFRunLoopServiceMachPort + 120

3   CoreFoundation                  0x3569a154 __CFRunLoopRun + 876

4   CoreFoundation                  0x3561d4d6 CFRunLoopRunSpecific + 294

5   CoreFoundation                  0x3561d39e CFRunLoopRunInMode + 98

6   Foundation                      0x3167abc2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 302

7   Foundation                      0x3167aa8a -[NSThread main] + 66

8   Foundation                      0x3170e59a __NSThread__main__ + 1042

9   libsystem_c.dylib               0x30b68c16 _pthread_start + 314

10  libsystem_c.dylib               0x30b68ad0 thread_start + 0

这次事故的原因是什么?我应该做些什么来阻止它?

What's the cause of this crash ? Anything I should do to prevent it ?

推荐答案

不完全确定如何/为什么但更新到更新版本的AsiHttp解决了这个问题。

Not exactly sure how/why but updating to a newer version of AsiHttp solved the issue.

这篇关于应用程序在后台运行时崩溃 - 设备进入睡眠模式后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆