Please test your plug-ins with NSZombiesEnabled and GuardMalloc!
Please test your plug-ins with NSZombiesEnabled and GuardMalloc!
- Subject: Please test your plug-ins with NSZombiesEnabled and GuardMalloc!
- From: Darrin Cardani <email@hidden>
- Date: Fri, 29 Apr 2016 12:00:44 -0700
Hi all,
I just wanted to send out a friendly reminder to please test your plug-ins with the NSZombiesEnabled flag set and the GuardMalloc flag set. You can set these in Xcode by choosing Product > Scheme > Edit Scheme. This will bring up the scheme editor for the current scheme. Click on the “Run” item in the left-hand column, and select the “Diagnostics” tab. Check “Enable Guard Malloc” to turn on Guard Malloc, and check “Enable Zombie Objects” to turn on zombies during your testing. For testing outside of Xcode, check out the Zombies section of TechNote 2124: <https://developer.apple.com/library/mac/technotes/tn2124/_index.html>
We’ve gotten a few crash reports that appear to be over-release issues. The problem is that we can’t tell which piece of code is causing the problem because the release happens when an autorelease pool is drained, long after the over-releasing code has finished executing. Unfortunately, none of the crash traces we have for these bugs tells us what the user was doing when the crash occurred, and we’re unable to reproduce it ourselves.
So give it a try and see what you find with your plug-ins.
Thanks!
Darrin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden