{ "id": "125786", "key": "TIMOB-16363", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-02-03T22:27:14.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios7", "qe-3.2.1" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "35532", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121359", "key": "TIMOB-15524", "fields": { "summary": "iOS: Console displays invalid context errors", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:04:18.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Details:* If you run Ti.Media.VideoPlayer *only* on an iPad running iOS 7, then a \"invalid context 0x0\" error message appears in the console. But, VideoPlayer is still able to stream the remote video file.\r\n\r\n*Note:*\r\n1. This is *not a regression* since this occurs in 3.2.0.GA as well (but, only on iPad running iOS 7)\r\n2. Do not see the error message on the following test devices: iphone 5s (7.0.2), iphone 5 (6.1.3), ipad 4 (6.0.1)\r\n\r\n*Steps to reproduce:*\r\n1. Run the following app.js on an iPad running iOS 7:\r\n{code}\r\nvar window = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar activeMovie = Titanium.Media.createVideoPlayer({\r\n\turl : 'http://movies.apple.com/media/us/ipad/2010/tours/apple-ipad-video-us-20100127_r848-9cie.mov',\r\n\tmovieControlMode : Titanium.Media.VIDEO_CONTROL_DEFAULT,\r\n\tscalingMode : Titanium.Media.VIDEO_SCALING_MODE_FILL,\r\n\tautoplay : true\r\n});\r\n\r\nwindow.add(activeMovie);\r\nactiveMovie.play();\r\n\r\nactiveMovie.addEventListener('playing', function() {\r\n\tTi.API.info('playing');\r\n});\r\n\r\nwindow.open();\r\n{code}\r\n\r\n2. Check Xcode console\r\n\r\n*Actual:* The following error message appears in the Xcode console:\r\n{code}\r\nMediaModule[259] : CGContextSaveGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.\r\n{code}\r\n\r\nAlso, see console.log attachment for the raw logs.\r\n\r\n*Expected:* Should not see this error message in the console.", "attachment": [ { "id": "45568", "filename": "console.log", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-03T22:27:14.000+0000", "size": 10391, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS 7: VideoPlayer - A \"invalid context 0x0\" error message appears in console while running Ti.Media.VideoPlayer only on iPad iOS 7", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.2.1.201401311225\r\nSDK build: 3.2.1.v20140130101648 \r\nCLI: 3.2.1-beta3\r\nAlloy: 1.3.1-cr\r\nXcode: 5.0.2\r\nDevices: ipad 2 (7.0.4)", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }