{ "id": "152168", "key": "AC-474", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-05T08:32:05.000+0000", "created": "2015-10-19T13:44:02.000+0000", "labels": [ "ImageView", "crash", "ios" ], "versions": [], "issuelinks": [ { "id": "49389", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "149561", "key": "TIMOB-19647", "fields": { "summary": "iOS: ImageViews with remote images slow and failing", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-05T08:32:05.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When loading multiple ImageViews with remote urls, the app crashes:\r\n\r\n{code}\r\n[DEBUG] -[NSTaggedPointerString __setObject:forKey:]: unrecognized selector sent to instance 0xa000000013f4b4f4\r\n[ERROR] The application has crashed with an uncaught exception 'NSInvalidArgumentException'\r\n[ERROR] Reason:\r\n[ERROR] -[NSTaggedPointerString __setObject:forKey:]: unrecognized selector sent to instance 0xa000000013f4b4f4\r\n[ERROR] Stack trace:\r\n[ERROR] \r\n[ERROR] 0 CoreFoundation 0x000000018524cf5c + 124\r\n[ERROR] 1 libobjc.A.dylib 0x0000000199e43f80 objc_exception_throw + 56\r\n[ERROR] 2 CoreFoundation 0x0000000185253c6c + 0\r\n[ERROR] 3 CoreFoundation 0x0000000185250c14 + 872\r\n[ERROR] 4 CoreFoundation 0x0000000185154dcc _CF_forwarding_prep_0 + 92\r\n[ERROR] 5 CFNetwork 0x000000018495f254 + 196\r\n[ERROR] 6 CFNetwork 0x000000018495d38c + 128\r\n[ERROR] 7 CFNetwork 0x0000000184a09f00 + 2000\r\n[ERROR] 8 CFNetwork 0x0000000184a09660 + 144\r\n[ERROR] 9 CFNetwork 0x0000000184a0b30c + 28\r\n[ERROR] 10 libdispatch.dylib 0x000000019a63d770 + 16\r\n[ERROR] 11 libdispatch.dylib 0x000000019a646a54 + 540\r\n[ERROR] 12 CFNetwork 0x000000018493bc70 + 36\r\n[ERROR] 13 CoreFoundation 0x00000001851307ec CFArrayApplyFunction + 68\r\n[ERROR] 14 CFNetwork 0x000000018493bb54 + 136\r\n[ERROR] 15 CFNetwork 0x000000018493ba14 + 312\r\n[ERROR] 16 CFNetwork 0x000000018493b840 + 68\r\n[ERROR] 17 CoreFoundation 0x00000001852045a4 + 24\r\n[ERROR] 18 CoreFoundation 0x0000000185204038 + 540\r\n[ERROR] 19 CoreFoundation 0x0000000185201d38 + 724\r\n[ERROR] 20 CoreFoundation 0x0000000185130dc0 CFRunLoopRunSpecific + 384\r\n[ERROR] 21 CFNetwork 0x00000001849ce074 + 412\r\n[ERROR] 22 Foundation 0x000000018618b138 + 1000\r\n[ERROR] 23 libsystem_pthread.dylib 0x000000019a853b3c + 156\r\n[ERROR] 24 libsystem_pthread.dylib 0x000000019a853aa0 + 0\r\n[ERROR] 25 libsystem_pthread.dylib 0x000000019a851030 thread_start + 4\r\n[ERROR] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString __setObject:forKey:]: unrecognized selector sent to instance 0xa000000013f4b4f4'\r\n[ERROR] *** First throw call stack:\r\n[ERROR] (0x18524cf5c 0x199e43f80 0x185253c6c 0x185250c14 0x185154dcc 0x18495f254 0x18495d38c 0x184a09f00 0x184a09660 0x184a0b30c 0x19a63d770 0x19a646a54 0x18493bc70 0x1851307ec 0x18493bb54 0x18493ba14 0x18493b840 0x1852045a4 0x185204038 0x185201d38 0x185130dc0 0x1849ce074 0x18618b138 0x19a853b3c 0x19a853aa0 0x19a851030)\r\n{code}\r\n\r\nThere is never a TRACE log of the issue, only the reported error above. And when it happens you can visible see that there are still images being loaded.\r\n\r\nI personally have encountered the issue on ListViews, but I known of other developers who have had the issue happen on TableViews, which has me believe that the issue has to do with the ImageView component.\r\n\r\nAlso the issue seems to be present since at least version 5.0.1.GA.\r\n\r\nIssue seems to aggravate when the images are being loaded through cellular data.\r\n\r\nThanks", "attachment": [], "flagged": false, "summary": "App crashes unexpectedly when using ImageViews with remote URLs", "creator": { "name": "ulizama", "key": "ulizama", "displayName": "Uriel Lizama", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "ulizama", "key": "ulizama", "displayName": "Uriel Lizama", "active": true, "timeZone": "America/Mexico_City" }, "environment": "iOS", "comment": { "comments": [ { "id": "367138", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel] ^^ Can you please take a look?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-19T13:47:51.000+0000", "updated": "2015-10-19T13:47:51.000+0000" }, { "id": "367733", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-10-25T07:55:53.000+0000", "updated": "2015-10-25T07:55:53.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }