开发者

memory leak - application exited with signal 9

I have an application which is dealing with many data structures, uiimageviews, videos, creating bit map context and so on. Every time the application is crashing on its continuous usage for a long time. The application is crashing wi开发者_运维技巧th the memory warning --> Application exited abnormally with signal 9. What may be its reason. What does signal 9 means.


I think this is due to the memory issue. Your app is using lot of memory due that is app is killed..


Check out this posting

http://lists.apple.com/archives/xcode-users/2011/Mar/msg00837.html

It sounds like it might be related.


It can also be a privacy/permission issue. We forgot to add NSCameraUsageDescription and UILaunchStoryboardName to Info.plist file and our app crashed with error Message from debugger: Terminated due to signal 9

After adding the following lines to Info.plist the app sopped crashing.

<key>NSCameraUsageDescription</key>
<string>The app would like to let you make a picture.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>The app would like to let you choose an item from your Photos.</string>

memory leak - application exited with signal 9

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜