<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Jed Laundry &#187; Fail</title>
	<atom:link href="http://www.jlaundry.com/tag/fail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jlaundry.com</link>
	<description></description>
	<lastBuildDate>Fri, 02 Jul 2010 01:43:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1-alpha-15443</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/nz/</creativeCommons:license>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Safari Crashes, PubSubAgent has issues, everything dies, oh my!</title>
		<link>http://www.jlaundry.com/2009/safari-crashes-pubsubagent-has-issues-everything-dies-oh-my/</link>
		<comments>http://www.jlaundry.com/2009/safari-crashes-pubsubagent-has-issues-everything-dies-oh-my/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 03:59:25 +0000</pubDate>
		<dc:creator>jlaundry</dc:creator>
				<category><![CDATA[Fail]]></category>
		<category><![CDATA[bad apple]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://www.jlaundry.com/?p=165</guid>
		<description><![CDATA[Ever had one of those days, where everything just seems to be going wrong? Over the last 6 hours, I&#8217;ve been trying to debug why Safari, Mail.app, iTunes and Adium crash without ANY explanation, after any of said applications tried to load a webpage. It started randomly (haven&#8217;t made major changes in the last few [...]]]></description>
			<content:encoded><![CDATA[<p>Ever had one of those days, where everything just seems to be going wrong? Over the last 6 hours, I&#8217;ve been trying to debug why Safari, Mail.app, iTunes and Adium crash without ANY explanation, after any of said applications tried to load a webpage.</p>
<p>It started randomly (haven&#8217;t made major changes in the last few days), so I assumed it was something corrupted. The only hint was that after Safari, Mail, iTunes or Adium crashed, PubSubAgent would use 100% CPU time. So, I fire up Instruments and look at the trace for PubSubAgent. It seems to be calling CFHTTPCookieStorageFlushCookieStores many times, which is odd, because a quick Google doesn&#8217;t return anything useful about this system call, obviously related to CFHTTP.</p>
<p>Fast forward 4 hours later when I&#8217;ve cleared caches, nuked my Safari config, tried removing PubSubAgent (which just made it worse). The fix? Removing <strong>~/Library/Cookies/Cookies.plist</strong>. Oddly enough, it has a companion &#8211; <strong>~/Library/Cookies/Cookies.plist &#8211; corrupt</strong>.</p>
<p>So, just a recap; somewhere the system knew my Cookies file was corrupted. But instead of spitting this out to the Console, throwing a Dialog, or ANY form of useful information, I had to trudge through my Library looking for something which could be causing the problem, and manually removing it. It was by chance that I noticed the Cookies folder, which is strangely not in the Safari folder where one would normally expect it.</p>
<p>And just to make matters worse; Safari&#8217;s &#8220;Reset Safari&#8221; did nothing to solve the problem. That&#8217;s right, checking the &#8220;Remove all cookies&#8221; checkbox did NOT remove the cookies!</p>
<p>Good user interaction FTW!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlaundry.com/2009/safari-crashes-pubsubagent-has-issues-everything-dies-oh-my/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/nz/</creativeCommons:license>
	</item>
	</channel>
</rss>
