{ "id": "83588", "key": "TIMOB-6572", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12094", "description": "", "name": "Sprint 2012-02", "archived": true, "released": true, "releaseDate": "2012-01-29" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-23T17:01:20.000+0000", "created": "2011-12-12T10:46:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_debugger", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14843", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "84057", "key": "TIMOB-6763", "fields": { "summary": "iOS: App Crashes trying to play sound while app resumes from background.", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14704", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85275", "key": "TIMOB-7329", "fields": { "summary": "iOS: Ti.Window.close() infinite loops", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-03T14:11:06.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "It appears that certain modules are causing crashes with the debugger at this time. In particular, the relevant crash log excerpt is:\r\n\r\n{code}\r\n14 CoreFoundation 0x02ebc30a -[__NSCFDictionary setObject:forKey:] + 250\r\n15 testModule 0x00328b88 -[TiDebugger sourceParsed:sourceId:context:] + 424 (TiDebugger.mm:2027)\r\n{code}\r\n\r\nSo there could be problems with certain types of source checking when we crash.", "attachment": [], "flagged": false, "summary": "iOS: Debugger crashing during module debug", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "176248", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Testing this fix (pull req 973) requires the following:\r\n\r\n* Testing against the provided sample app (available internally)\r\n* Testing against the following code for regressions before and after the fix:\r\n\r\n{{alert(\"durp durp durp\");}}\r\n\r\n* Test against the following code for regressions before and after the fix:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\nvar b = Ti.UI.createButton({\r\n\ttitle:\"Alert\",\r\n\twidth:200,\r\n\theight:40,\r\n\ttop:50\r\n});\r\nb.addEventListener('click', function() {\r\n\talert(\"durp durp durp\");\r\n});\r\nwin.add(b);\r\nvar b2 = Ti.UI.createButton({\r\n\ttitle:\"Change alert\",\r\n\twidth:200,\r\n\theight:40,\r\n\tbottom:50\r\n});\r\nb2.addEventListener('click', function() {\r\n\talert = function(e) {\r\n\t\tTi.API.info(\"durp durp durp\");\r\n\t};\r\n});\r\nwin.add(b2);\r\nwin.open();\r\n{code}\r\n\r\n# If alert() can be overriden before the fix, but not after, this is a *FAIL*\r\n# If alert() cannot be overriden before the fix, but can after, this is a *PASS*\r\n# If alert() has the same override behavior between versions, this is a *PASS*", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-15T11:03:55.000+0000", "updated": "2011-12-15T11:36:58.000+0000" }, { "id": "176357", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Functional test: Alert can be overridden after the fix. Either way, this is a PASS.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-16T11:20:49.000+0000", "updated": "2011-12-16T11:20:49.000+0000" }, { "id": "179652", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening issue. Internal sample app crashes in debug mode on:\r\n\r\nSDK build: 1.9.0.v20120117114633\r\nTitanium Studio, build: 1.0.8.201201131907\r\nOS: Mac OS X Lion (10.7.1)\r\nDevice: iOS Simulator (5.0)\r\n\r\nNote: Was not able to obtain crash log.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-17T14:42:37.000+0000", "updated": "2012-01-17T14:42:37.000+0000" }, { "id": "180193", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing this issue;\r\n\r\nTested with Ti Studio build 1.0.8.201201210622\r\nTi Mob SDK 1.9.0.v20120121223134\r\nOSX Lion 10.7.2\r\niPhone Sim 5.0, iPhone 4 OS 5.0\r\n\r\nRan both the internal app in debug and normally, and tested against sample code in this ticket. \r\n\r\nExpected behavior on no crash is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T11:14:15.000+0000", "updated": "2012-01-23T11:14:15.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }