开发者

Crashing on 10.7, but works on 10.6, possible memory problems [closed]

开发者 https://www.devze.com 2023-03-31 18:26 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this po
Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 9 years ago.开发者_如何学运维

Improve this question

I have project that is crashing on very different execution points when compiled in 4.2 on Lion but it works perfectly on 10.6. Projects Setting shows that Garbage collector is Supported and there are a LOT of objects being autoreleased on all sorts of places without single NSAutoreleasePool instantiated. Could that be a problem? I couldn't find anything definite with Instruments...


Without more details, it appears to be a memory corruption issue, that bombs out with the ASLR feature in 10.7. Enabling zombies (search documents for NSZombie) and stack smash protection might help to track down the problem

0

精彩评论

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