奇怪的崩溃问题如下: - Dispatch queue:com.apple.root.default-overcommit-priority [英] Strange Crash issue as:- Dispatch queue: com.apple.root.default-overcommit-priority

查看:931
本文介绍了奇怪的崩溃问题如下: - Dispatch queue:com.apple.root.default-overcommit-priority的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,其中在ASINetworkQueue中添加了许多操作。这些操作基本上用于从服务器获取图像,然后在成功完成时在表视图单元格中设置图像。

I am developing an application in which a lot of operations are added in ASINetworkQueue.The operations are basically used for fetching the image from server and then in successful completion set the image in table view cell.

一切都很好。我有一个按钮,一个表视图单元格,另一个视图控制器打开。

Everything is happening fine.I have a button a table view cell on which another view controller gets opened.

在另一个视图上有一个十字按钮,我弹出该视图控制器。
现在,当点击交叉按钮时,应用程序会在那里崩溃,有时在返回上一个视图并滚动我的表格视图时会崩溃。

On that another view there is a cross button on which I pop that view controller. Now when the cross button gets clicked sometimes the app gets crashed there, sometimes it gets crashes when comes back to the previous view and scrolling my table view.

当我看到崩溃日志时,我发现无论线程崩溃都会出现以下代码。有时它是崩溃的thread2,有时它是崩溃的线程12,有时它是崩溃的线程6但是该线程内的代码是相同的,如下所示。

When I see the crash logs I found that the following code comes in whatever the thread crashed.Sometime it is crashed thread2 ,sometime it is crashed thread 12, sometime it is crashed thread 6 but the code inside that thread is same which is shown below.

Thread 11 name:  Dispatch queue: com.apple.root.default-overcommit-priority
Thread 11 Crashed:
0   Foundation                      0x357320b2 0x3569e000 + 606386
1   Foundation                      0x356add56 0x3569e000 + 64854
2   Foundation                      0x356adb94 0x3569e000 + 64404
3   Foundation                      0x35731f48 0x3569e000 + 606024
4   Foundation                      0x356add56 0x3569e000 + 64854
5   Foundation                      0x356adb94 0x3569e000 + 64404
6   Foundation                      0x35731ebc 0x3569e000 + 605884
7   libdispatch.dylib               0x3698c9f6 0x36981000 + 47606
8   libdispatch.dylib               0x3698f21e 0x36981000 + 57886
9   libdispatch.dylib               0x3698cb70 0x36981000 + 47984
10  libdispatch.dylib               0x3698d76c 0x36981000 + 51052
11  libsystem_c.dylib               0x32af91c8 0x32aef000 + 41416
12  libsystem_c.dylib               0x32af909c 0x32aef000 + 41116

我被困在这里,因为崩溃日志也没有被同化,而且它也发生在某些设备上而不是每台设备上。

I am stuck here as the crash log is not getting symolicated also and also it is happening on some devices not on every device.

请建议我如何解决这个奇怪的崩溃问题。

Please suggest me how to solve this strange crash issue.

任何建议都将受到高度赞赏。

Any suggestions would be highly appreciated.

提前谢谢。请帮助我。

推荐答案

我无法谈及发生这种情况的确切技术原因,但我有这个错误今天。它只发生在iPad 1上,结果发现它与试图缩放巨大的图像(我认为它更小)有关。减小图像的大小会删除 com.apple.root.default-overcommit-priority 错误。

I cannot talk to the exact technical reason that this is happening, but I had this error today. It occurred only on iPad 1 and it turned out to be related to trying to scale a huge image (which I thought was smaller). Reducing the size of the image removed the com.apple.root.default-overcommit-priority error.

所以它可能与内存有关(特别是内存不足)。

So it's probably memory related (particularly low memory).

这篇关于奇怪的崩溃问题如下: - Dispatch queue:com.apple.root.default-overcommit-priority的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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