這是我在StackOverflow上的第一個問題,希望它是一個相關的問題!爲了試圖將您置於上下文中,當我嘗試使用PresentViewController方法打開相機時,我的應用程序中發生了一次奇怪的崩潰。我試圖尋找到了崩潰報告,但我沒有任何呼叫的細節,只有十六進制如下:Monotouch-Enable Guard Malloc
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x38a97350 0x38a86000 + 70480
1 libsystem_c.dylib 0x35d3a11e 0x35d0b000 + 192798
2 libsystem_c.dylib 0x35d7696e 0x35d0b000 + 440686
3 (project_name) 0x00882968 0x1000 + 8919400
4 (project_name) 0x0083db7c 0x1000 + 8637308
5 libsystem_c.dylib 0x35d43e90 0x35d0b000 + 233104
6 UIKit 0x39d40b00 0x39d3b000 + 23296
7 QuartzCore 0x34c52ff2 0x34c4c000 + 28658
8 QuartzCore 0x34c52fa2 0x34c4c000 + 28578
9 QuartzCore 0x34c52e8e 0x34c4c000 + 28302
10 QuartzCore 0x34c4e9ba 0x34c4c000 + 10682
11 QuartzCore 0x34c4e876 0x34c4c000 + 10358
12 QuartzCore 0x34c4e806 0x34c4c000 + 10246
13 UIKit 0x39d3fae8 0x39d3b000 + 19176
14 UIKit 0x39d4271e 0x39d3b000 + 30494
15 UIKit 0x39d84a6c 0x39d3b000 + 301676
16 PhotoLibrary 0x381c39ca 0x38157000 + 444874
17 UIKit 0x39d417fe 0x39d3b000 + 26622
18 QuartzCore 0x34c4fd5e 0x34c4c000 + 15710
19 QuartzCore 0x34c4f8fc 0x34c4c000 + 14588
不管怎麼說,因爲我的崩潰報告是不確定的(在我看來),我用Google搜索如何通常處理內存iOS和NSZombieEnabled和Enabling Guard Malloc的問題已經提到。 NSMombieEnabled在Monotouch中默認啓用,但我沒有找到任何地方如何啓用Guard Malloc。 Monotouch甚至有可能嗎?謝謝!
在相關問題http://stackoverflow.com/a/7472663/1004997 –
是的,這通常是如何在XCode中完成的。也許我可以將其鏈接以供參考。 – airpaulg