{"id":28390,"date":"2020-03-13T16:57:38","date_gmt":"2020-03-13T20:57:38","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28390"},"modified":"2020-03-27T16:34:46","modified_gmt":"2020-03-27T20:34:46","slug":"eight-major-releases-later-sandbox-file-limit-bug-remains","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/03\/13\/eight-major-releases-later-sandbox-file-limit-bug-remains\/","title":{"rendered":"Eight Major Releases Later, Sandbox File Limit Bug Remains"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/ccgus\/status\/1238524171451109377\">Gus Mueller<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/ccgus\/status\/1238524171451109377\">\n<p>The other question I always ask [at WWDC labs]: Is the kernel resource leak for bookmarks in sandboxed applications finally fixed? I&rsquo;d sure like to put Retrobatch in the app store this year, but this bug means it can only process so many images before it fails and requires a reboot&#8230;<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/Schwieb\/status\/1238538962710323200\">Erik Schwiebert<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/Schwieb\/status\/1238538962710323200\">\n<p>I was talking to an Apple engineer recently about this problem as it affects Office, Gus. He mentioned you and Retrobatch specifically as a known case that they have yet to address. He said he would prod engineering to look at it.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/danielpunkass\/status\/1238527857023909889\">Daniel Jalkut<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/danielpunkass\/status\/1238527857023909889\">\n<p>This is a vexing bug that has affected MarsEdit for years, as well.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/ccgus\/status\/1238535856412999680\">Gus Mueller<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/ccgus\/status\/1238535856412999680\">\n<p>It&rsquo;s also a different limit for every Mac configuration, as explained to me by Apple engineers.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/02\/05\/sandbox-limitation-on-number-of-files-that-can-be-opened\/\">Sandbox Limitation on Number of Files That Can Be Opened<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/06\/18\/core-data-bugs\/\">Core Data Bugs<\/a><\/li>\n<\/ul>\n\n<p id=\"eight-major-releases-later-sandbox-file-limit-bug-remains-update-2020-03-27\">Update (2020-03-27): <a href=\"https:\/\/twitter.com\/thebuckley\/status\/1238594027118706688\">Michael Buckley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/thebuckley\/status\/1238594027118706688\">\n<p>The App Store version of Transmit works around this by prompting users to grant access to their entire home folder. Users have to tap a button, then we open an <code>NSOpenPanel<\/code> with <code>setCanChooseDirectories<\/code>. Users then have to correctly open their home folders.<\/p>\n<p>The kernel seems smart enough to track file permissions at the highest possible level. Try to open 1000 files in a folder, you get 1000 entries in kernel memory. Open the folder first, and you only get 1 entry.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Gus Mueller: The other question I always ask [at WWDC labs]: Is the kernel resource leak for bookmarks in sandboxed applications finally fixed? I&rsquo;d sure like to put Retrobatch in the app store this year, but this bug means it can only process so many images before it fails and requires a reboot&#8230; Erik Schwiebert: [&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":"2020-03-13T20:57:41Z","apple_news_api_id":"fd6073af-2eda-4a08-a9ca-285070025a52","apple_news_api_modified_at":"2020-03-27T20:34:49Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/A_WBzry7aSgipyihQcAJaUg","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":[76,131,30,1666,207,577,1669,53,243],"class_list":["post-28390","post","type-post","status-publish","format-standard","hentry","category-technology","tag-acorn","tag-bug","tag-mac","tag-macos-10-15","tag-marsedit","tag-microsoft-office","tag-retrobatch","tag-sandboxing","tag-transmit"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28390","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=28390"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28390\/revisions"}],"predecessor-version":[{"id":28503,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28390\/revisions\/28503"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}