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 questionI 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
精彩评论