{"id":4771,"date":"2012-05-02T11:15:12","date_gmt":"2012-05-02T16:15:12","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=4771"},"modified":"2016-06-10T14:42:06","modified_gmt":"2016-06-10T18:42:06","slug":"kernel-panics-and-omnifocus-syncing","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2012\/05\/02\/kernel-panics-and-omnifocus-syncing\/","title":{"rendered":"Kernel Panics and OmniFocus Syncing"},"content":{"rendered":"<p>I&rsquo;ve encountered <a href=\"https:\/\/discussions.apple.com\/thread\/3191083?tstart=0\">a<\/a> <a href=\"http:\/\/reviews.cnet.com\/8301-13727_7-20083947-263\/some-lion-users-plagued-by-black-screen-bug\/\">raft<\/a> <a href=\"http:\/\/apple.slashdot.org\/story\/11\/08\/04\/2118220\/os-x-lion-ships-with-faulty-nvidia-drivers\">of<\/a> <a href=\"https:\/\/discussions.apple.com\/thread\/3114550\">kernel<\/a> <a href=\"http:\/\/support.apple.com\/kb\/TS4088?viewlocale=en_US\">panics<\/a> recently (eight in the past two weeks). The backtrace is always related to com.apple.NVDAResman, which seems to be the driver for my MacBook Pro&rsquo;s NVIDIA GeForce graphics card. Strangely, this has only happened with Mac OS X 10.7.3, but the panics did not begin until two months after updating to 10.7.3. Perhaps there was another update to those drivers that I don&rsquo;t remember.<\/p>\r\n<p>Aside from being annoying, the kernel panics indirectly caused a more serious problem: I repeatedly left the house with stale <a href=\"http:\/\/www.omnigroup.com\/products\/omnifocus\/\">OmniFocus<\/a> data synced to my iPhone. I&rsquo;ve used OmniFocus for years, and nothing like this had ever happened, so I had gotten to the point where I didn&rsquo;t think much about syncing, assuming it would just work. Furthermore, when I tried to manually initiate a sync from the iPhone, the progress indicator would just spin and spin.<\/p>\r\n<p>I looked in the Console log and found many entries like this:<\/p>\r\n<pre>4\/26\/12 5:12:03.161 PM Firewall: Deny  connecting from fe80:5::62c5:47ff:fe37:29aa:58959 to port 49212 proto=6\r\n4\/26\/12 5:12:06.868 PM Firewall: Deny  connecting from 192.168.1.105:58960 to port 49212 proto=6<\/pre>\r\n<p>The iPhone had found my Mac, but the firewall was preventing it from connecting.<\/p>\r\n<p>I don&rsquo;t understand <em>why<\/em> this happens, because I verified in the &ldquo;Security &amp; Privacy&rdquo; preferences pane that httpd (the Apache Web server, which OmniFocus uses when set to sync via Bonjour) was set to &ldquo;Allow incoming connections.&rdquo; The problem only occurs when Lion&rsquo;s auto-restore feature has automatically relaunched OmniFocus (e.g. after a kernel panic). In that situation, the firewall will continue to block connections for <em>days<\/em>.<\/p>\r\n<p>I&rsquo;m not sure whether this is due to a bug in the OS or whether OmniFocus should be doing something differently on auto-restore. However, there is a workaround: if I manually quit and relaunch OmniFocus on the Mac, the firewall suddenly opens up and allows the iPhone to connect.<\/p>\r\n<p>The other thing I&rsquo;ve learned from these panics is that two of my favorite applications, <a href=\"http:\/\/netnewswireapp.com\">NetNewsWire<\/a> and <a href=\"http:\/\/hibariapp.com\">Hibari<\/a>, save certain state only when they quit cleanly. After the panic, old news items appear as unread, and the Twitter timeline is scrolled to the wrong place.<\/p>","protected":false},"excerpt":{"rendered":"<p>I&rsquo;ve encountered a raft of kernel panics recently (eight in the past two weeks). The backtrace is always related to com.apple.NVDAResman, which seems to be the driver for my MacBook Pro&rsquo;s NVIDIA GeForce graphics card. Strangely, this has only happened with Mac OS X 10.7.3, but the panics did not begin until two months after [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-4771","post","type-post","status-publish","format-standard","hentry","category-technology"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/4771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=4771"}],"version-history":[{"count":11,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/4771\/revisions"}],"predecessor-version":[{"id":14789,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/4771\/revisions\/14789"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=4771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=4771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=4771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}