iphone / ipad - 可怕的程序接收信号:“0” [英] iphone/ipad - The dreaded Program received signal: “0”
问题描述
我有一个iphone应用程序,在运行一段时间后似乎总是崩溃(仅在设备上)。没有什么特别是我能看到的,它似乎只是耗尽了内存或其他东西。我明白了:
I have an iphone app that always seems to crash after running it for a while (on the device only). Nothing in particular that I can see, it just seems to run out of memory or something. I get this:
Program received signal: "0".
当我上次使用Allocations(仪器)运行它时,Live Bytes在崩溃时只有12MB,所以它似乎留下了很多记忆。导致上述错误消息的原因是什么?
When I last ran it with Allocations (Instruments), Live Bytes was only 12MB when it crashed, so it seems to have a lot of memory left over. What would be causing the above error message?
编辑:
该应用程序执行了很多操作,包括加载许多图像。当内存变低时,图像被丢弃,就像我说Live Bytes仍然是低到中等。
The app does a lot of things, including loading many images. The images are discarded when memory gets low, and like I said Live Bytes remains low to medium.
我的问题更多是关于程序接收信号:0错误。这是什么意思?这似乎是在运行应用程序一段时间后发生的。
My question is more about the Program received signal: "0" error. What does it mean? It just seems to happen after running the app for a while.
推荐答案
据我个人经验看,唯一导致它做程序接收信号0的错误是内存不足。
As far as I've seen from personal experience, the only thing that causes it to do "Program received signal "0"" error is running out of memory.
这篇关于iphone / ipad - 可怕的程序接收信号:“0”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!