{"id":14509,"date":"2016-05-11T12:09:07","date_gmt":"2016-05-11T16:09:07","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=14509"},"modified":"2016-05-12T11:42:24","modified_gmt":"2016-05-12T15:42:24","slug":"no-more-logs-for-missing-nsautoreleasepool","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/05\/11\/no-more-logs-for-missing-nsautoreleasepool\/","title":{"rendered":"No More Logs for Missing NSAutoreleasePool"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/uliwitness\/status\/730034813487460352\">Uli Kusterer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/uliwitness\/status\/730034813487460352\"><p>So apparently Apple removed the &ldquo;object autoreleased with no pool in place&rdquo; error message.<\/p><\/blockquote>\n<p><a href=\"https:\/\/twitter.com\/nebelch\/status\/730092518377807876\">Chris Nebel<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/nebelch\/status\/730092518377807876\"><p>Not removed, but disabled by default. Set <code>OBJC_DEBUG_MISSING_POOLS=YES<\/code> to get it back. (Set <code>OBJC_HELP=YES<\/code> for more options.)<\/p><\/blockquote>\n<p>See also: <a href=\"http:\/\/stackoverflow.com\/questions\/4768817\/what-does-autoreleased-with-no-pool-in-place-mean\">What does &ldquo;Autoreleased with no pool in place&rdquo; mean?<\/a>.<\/p>\n<p>Update (2016-05-12): <a href=\"https:\/\/twitter.com\/gparker\/status\/730503049093881860\">Greg Parker<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/gparker\/status\/730503049093881860\">\n<p>Note that the environment variable also changes behavior: it introduces leaks anywhere that the implicit pool would have worked.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Uli Kusterer: So apparently Apple removed the &ldquo;object autoreleased with no pool in place&rdquo; error message. Chris Nebel: Not removed, but disabled by default. Set OBJC_DEBUG_MISSING_POOLS=YES to get it back. (Set OBJC_HELP=YES for more options.) See also: What does &ldquo;Autoreleased with no pool in place&rdquo; mean?. Update (2016-05-12): Greg Parker: Note that the environment variable [&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":[4],"tags":[69,56,30,1199,571,71],"class_list":["post-14509","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-cocoa","tag-debugging","tag-mac","tag-mac-os-x-10-11","tag-memory-management","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/14509","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=14509"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/14509\/revisions"}],"predecessor-version":[{"id":14517,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/14509\/revisions\/14517"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=14509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=14509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=14509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}