{ "id": "65892", "key": "AC-2955", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-17T16:28:10.000+0000", "created": "2011-05-31T02:42:20.000+0000", "labels": [ "crash", "imageview", "ios", "view" ], "versions": [], "issuelinks": [], "assignee": { "name": "ihowarth", "key": "ihowarth", "displayName": "Ian Howarth", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:57.000+0000", "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" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "This problem occurs when the app has been busy for some time (1 out of 5 times). Seems to be a null reference error. However my ImageView is created on app start and is never set to null or removed from its parent view.\r\n\r\nThe problem seems to be fixed (though it's only a workaround) when I return if newValue is null in method DoProxyDelegateChangedValuesWithProxy.\r\n\r\nRelevant crash report entries:\r\n\r\n... Exception Type: EXC_BAD_ACCESS (SIGBUS)\r\nException Codes: KERN_PROTECTION_FAILURE at 0x00000008\r\nCrashed Thread: 3\r\n... Thread 3 Crashed:\r\n0 libobjc.A.dylib 0x32da1c98 objc_msgSend + 16\r\n1 appName 0x0008371c DoProxyDelegateChangedValuesWithProxy (TiProxy.m:57)\r\n2 appName 0x00055946 -[TiUIView propertyChanged:oldValue:newValue:proxy:] (TiUIView.m:591)\r\n3 apName 0x0008670a -[TiProxy replaceValue:forKey:notification:] (TiProxy.m:798)\r\n4 appName 0x00041304 -[TiViewProxy hide:] (TiViewProxy.m:188)\r\n5 CoreFoundation 0x3296379c invoking + 60\r\n6 CoreFoundation 0x328db436 -[NSInvocation invoke] + 102\r\n7 appname 0x000336ce -[KrollMethod call:] (KrollMethod.m:189)\r\n8 appName 0x00032c26 KrollCallAsFunction (KrollMethod.m:36)\r\n9 appname 0x001a36bc TI::TiCallbackObject::call(TI::TiExcState, TI::TiObject, TI::TiValue, TI::ArgList const&) (TiCallbackObjectFunctions.h:371)\r\n10 appName 0x00188eb4 TI::Interpreter::privateExecute(TI::Interpreter::ExecutionFlag, TI::RegisterFile, TI::TiExcState, TI::TiValue) (Interpreter.cpp:3053)\r\n11 appName 0x0018d3ce TI::Interpreter::execute(TI::FunctionExecutable, TI::TiExcState, TI::TiFunction, TI::TiObject, TI::ArgList const&, TI::ScopeChainNode, TI::TiValue) (Interpreter.cpp:688)\r\n12 appName 0x00196ada TI::TiFunction::call(TI::TiExcState, TI::TiValue, TI::ArgList const&) (TiFunction.cpp:127)\r\n13 appName 0x00152374 TI::call(TI::TiExcState*, TI::TiValue, TI::CallType, TI::CallData const&, TI::TiValue, TI::ArgList const&) (CallData.cpp:46)\r\n14 appName 0x001a25ce TiObjectCallAsFunction (TiObjectRef.cpp:417)\r\n15 appName 0x00037b5a -[KrollTimer invokeWithCondition:] (KrollTimer.m:68)\r\n16 CoreFoundation 0x328d056a -[NSObject(NSObject) performSelector:withObject:withObject:] + 18\r\n17 appName 0x0002eb18 -[KrollInvocation invoke:] (KrollContext.mm:62)\r\n18 appName 0x0002e1ac -[KrollContext invoke:] (KrollContext.mm:757)\r\n19 appName 0x0002f6d4 -[KrollContext main] (KrollContext.mm:1060)\r\n20 Foundation 0x33839382 -[NSThread main] + 38\r\n21 Foundation 0x338ab5c6 NSThreadmain__ + 966\r\n22 libsystem_c.dylib 0x32c9530a pthread_start + 242\r\n23 libsystem_c.dylib 0x32c96bb4 thread_start + 0\r\n...", "attachment": [], "flagged": false, "summary": "iPhone Ti Mobile SDK 1.6.2 Crash after hiding ImageView ", "creator": { "name": "c.fox@oput.net", "key": "c.fox@oput.net", "displayName": "Christopher.fox", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "c.fox@oput.net", "key": "c.fox@oput.net", "displayName": "Christopher.fox", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPhone, ios 4.3.3, Ti Mobile SDK 1.6.2, ios SDK 4.2", "comment": { "comments": [ { "id": "157774", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Christopher\r\n\r\nIn order for us to progress this issue, please edit your ticket to include a proper [Use-case|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases].\r\n\r\nDo you think this issue is the same as TIMOB-4493. If so, your usecase will be crucial, as the other users are not able to reproduce the problem.\r\n\r\nAlso, would you format the console output block using the wiki syntax provided?\r\n\r\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-06-25T03:42:01.000+0000", "updated": "2011-06-25T03:42:01.000+0000" }, { "id": "159048", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "No response from user", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-08T11:01:43.000+0000", "updated": "2011-07-08T11:01:43.000+0000" }, { "id": "163118", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing after 30 days of inactivity.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-16T17:18:04.000+0000", "updated": "2011-08-16T17:18:04.000+0000" }, { "id": "169487", "author": { "name": "ihowarth", "key": "ihowarth", "displayName": "Ian Howarth", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The ticket needs to be edited for a user.", "updateAuthor": { "name": "ihowarth", "key": "ihowarth", "displayName": "Ian Howarth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-17T16:03:14.000+0000", "updated": "2011-10-17T16:03:14.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }