<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Cocoa Tutorial: How to Crash Cocoa</title>
	<atom:link href="http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/</link>
	<description>Taglines are for Windows programmers</description>
	<lastBuildDate>Mon, 26 Jul 2010 16:50:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: sdfisher</title>
		<link>http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/comment-page-1/#comment-44</link>
		<dc:creator>sdfisher</dc:creator>
		<pubDate>Sun, 09 Mar 2008 21:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/#comment-44</guid>
		<description>&lt;p&gt;I&#039;m just starting Cocoa development, and I imagine you&#039;ve already saved me a bunch of time. :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m just starting Cocoa development, and I imagine you&#8217;ve already saved me a bunch of time. :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: erik</title>
		<link>http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/comment-page-1/#comment-43</link>
		<dc:creator>erik</dc:creator>
		<pubDate>Sun, 09 Mar 2008 16:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/#comment-43</guid>
		<description>&lt;p&gt;Any time you have a SIGSEGV you have a memory problem.  They generally come in three forms:
1) You accesses freed/deallocaed memory
2) You used an un-initialized pointer
3) You have a buffer over-run memory corruption&lt;/p&gt;

&lt;p&gt;The first thing to do in a Cocoa application is turn on NSZombieEnabled.  http://www.cocoadev.com/index.pl?NSZombieEnabled  &quot;with zombies enabled, messages to deallocated objects will no longer behave strangely or crash in difficult-to-understand ways, but will instead log a message die in a predictable and debugger-breakpointable way.&quot;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Any time you have a SIGSEGV you have a memory problem.  They generally come in three forms:
1) You accesses freed/deallocaed memory
2) You used an un-initialized pointer
3) You have a buffer over-run memory corruption</p>

<p>The first thing to do in a Cocoa application is turn on NSZombieEnabled.  <a href="http://www.cocoadev.com/index.pl?NSZombieEnabled" rel="nofollow">http://www.cocoadev.com/index.pl?NSZombieEnabled</a>  &#8220;with zombies enabled, messages to deallocated objects will no longer behave strangely or crash in difficult-to-understand ways, but will instead log a message die in a predictable and debugger-breakpointable way.&#8221;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Zarra</title>
		<link>http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/comment-page-1/#comment-42</link>
		<dc:creator>Marcus Zarra</dc:creator>
		<pubDate>Sat, 08 Mar 2008 17:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/#comment-42</guid>
		<description>&lt;p&gt;Paul,&lt;/p&gt;

&lt;p&gt;Yes there are plenty of ways to get around this issue in that direction.  However, it involves code which I was trying to avoid.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Paul,</p>

<p>Yes there are plenty of ways to get around this issue in that direction.  However, it involves code which I was trying to avoid.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: PixelSmack</title>
		<link>http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/comment-page-1/#comment-41</link>
		<dc:creator>PixelSmack</dc:creator>
		<pubDate>Sat, 08 Mar 2008 10:48:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/#comment-41</guid>
		<description>&lt;p&gt;I had this problem, fortunately it was in a very small app and i quickly figured out where the problem was. I didn&#039;t think the stack was much use though!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I had this problem, fortunately it was in a very small app and i quickly figured out where the problem was. I didn&#8217;t think the stack was much use though!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/comment-page-1/#comment-40</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 08 Mar 2008 10:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cimgf.com/2008/03/08/cocoa-tutorial-how-to-crash-cocoa/#comment-40</guid>
		<description>&lt;p&gt;So, is there a way to have it release when closed, but allocate a new instance when needed?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>So, is there a way to have it release when closed, but allocate a new instance when needed?</p>]]></content:encoded>
	</item>
</channel>
</rss>
