{"action":"created","issue":{"url":"https://api.github.com/repos/path/FastImageCache/issues/82","labels_url":"https://api.github.com/repos/path/FastImageCache/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/path/FastImageCache/issues/82/comments","events_url":"https://api.github.com/repos/path/FastImageCache/issues/82/events","html_url":"https://github.com/path/FastImageCache/issues/82","id":52820400,"number":82,"title":"Recursion Crash","user":{"login":"jwutke","id":671548,"avatar_url":"https://avatars.githubusercontent.com/u/671548?v=3","gravatar_id":"","url":"https://api.github.com/users/jwutke","html_url":"https://github.com/jwutke","followers_url":"https://api.github.com/users/jwutke/followers","following_url":"https://api.github.com/users/jwutke/following{/other_user}","gists_url":"https://api.github.com/users/jwutke/gists{/gist_id}","starred_url":"https://api.github.com/users/jwutke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwutke/subscriptions","organizations_url":"https://api.github.com/users/jwutke/orgs","repos_url":"https://api.github.com/users/jwutke/repos","events_url":"https://api.github.com/users/jwutke/events{/privacy}","received_events_url":"https://api.github.com/users/jwutke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-12-24T14:00:05Z","updated_at":"2015-08-04T17:54:10Z","closed_at":null,"body":"This is something that has appeared in crash logs. Unfortunately, I don't know how to reproduce it. The worst part about this crash is that once it happens, it will happen every time the user enters the view controller that uses FastImageCache. \r\n\r\nVersion:\r\nFastImageCache 1.3\r\n\r\n```\r\nThread : com.apple.main-thread\r\n0x39d3bf9c __psynch_mutexwait + 24\r\n0x39da529d _pthread_mutex_lock_contended + 52\r\n0x39da1d3b _pthread_mutex_lock + 262\r\n0x2f5cbd67 -[NSRecursiveLock lock] + 14\r\n0x0014c651 -[FICImageTable entryExistsForEntityUUID:sourceImageUUID:] (FICImageTable.m:438)\r\n0x001498e9 -[FICImageCache _processImage:forEntity:withFormatName:completionBlocksDictionary:] (FICImageCache.m:317)\r\n0x001492bf -[FICImageCache _imageDidLoad:forURL:] (FICImageCache.m:232)\r\n0x2f5eb64f -[NSBlockOperation main] + 130\r\n0x2f5db875 -[__NSOperationInternal _start:] + 772\r\n0x2f67f745 __NSOQSchedule_f + 60\r\n0x39c70d3f _dispatch_client_callout + 22\r\n0x39c736c3 _dispatch_main_queue_callback_4CF + 278\r\n0x2ec71641 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8\r\n0x2ec6ff0d __CFRunLoopRun + 1308\r\n0x2ebda729 CFRunLoopRunSpecific + 524\r\n0x2ebda50b CFRunLoopRunInMode + 106\r\n0x33b166d3 GSEventRunModal + 138\r\n0x3153b871 UIApplicationMain + 1136\r\n0x000abca7 main (main.m:16)\r\n```\r\n\r\n```\r\nThread : Crashed: com.path.FastImageCacheQueue\r\n0x39d62af0 tiny_malloc_from_free_list + 3\r\n0x39d619ed szone_malloc_should_clear + 228\r\n0x39d619ed szone_malloc_should_clear + 228\r\n0x39d64c81 malloc_zone_calloc + 76\r\n0x39d64c23 calloc + 50\r\n0x3978e197 class_createInstance + 42\r\n0x39796c75 _objc_rootAlloc + 32\r\n0x0014d035 -[FICImageTable _nextEntryIndex] (FICImageTable.m:573)\r\n0x0014d115 -[FICImageTable _nextEntryIndex] (FICImageTable.m:587)\r\n0x0014d115 -[FICImageTable _nextEntryIndex] (FICImageTable.m:587)\r\n…\r\n0x0014d115 -[FICImageTable _nextEntryIndex] (FICImageTable.m:587)\r\n0x0014d115 -[FICImageTable _nextEntryIndex] (FICImageTable.m:587)\r\n```"},"comment":{"url":"https://api.github.com/repos/path/FastImageCache/issues/comments/127691849","html_url":"https://github.com/path/FastImageCache/issues/82#issuecomment-127691849","issue_url":"https://api.github.com/repos/path/FastImageCache/issues/82","id":127691849,"user":{"login":"bliang","id":171889,"avatar_url":"https://avatars.githubusercontent.com/u/171889?v=3","gravatar_id":"","url":"https://api.github.com/users/bliang","html_url":"https://github.com/bliang","followers_url":"https://api.github.com/users/bliang/followers","following_url":"https://api.github.com/users/bliang/following{/other_user}","gists_url":"https://api.github.com/users/bliang/gists{/gist_id}","starred_url":"https://api.github.com/users/bliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bliang/subscriptions","organizations_url":"https://api.github.com/users/bliang/orgs","repos_url":"https://api.github.com/users/bliang/repos","events_url":"https://api.github.com/users/bliang/events{/privacy}","received_events_url":"https://api.github.com/users/bliang/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T17:54:10Z","updated_at":"2015-08-04T17:54:10Z","body":"The maximum limit is set to 50 during the cache.\r\n\r\nThis could be related actually, but when I attempt to delete an image from the image table, it actually doesn't delete. The image table data actually grows up to 200+ MB and there's no way to control it.\r\n\r\nI wonder if this was an issue that was fixed recently?\r\n\r\nWe're on a version of FIC from a year ago."}}