{ "id": "63426", "key": "TIMOB-2794", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11254", "name": "Sprint 2011-19", "archived": true, "released": true, "releaseDate": "2011-05-16" } ], "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2011-05-16T11:05:24.000+0000", "created": "2011-04-15T03:29:44.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "html5", "ios", "klist", "release-1.7.0", "video", "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-05-16T11:05:24.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": "{html}

I have tried with two different sites containing HTML5 videos:\nYouTube and Vimeo.
\nOpening a webview twice with YouTube crashes the app.

\n

To reproduce, click on the YouTube button, start watching the\nvideo. Close the window. Click a Vimeo video, start watching and\nclose the window. Open the YouTube video again...crash. But if you\nopen a Vimeo window twice, no crash.

\n

Code:
\nhttp://pastie.org/private/xtfr931fbs0pdlmzulb0ka

\n

iPhone Simulator and Device 4.2
\nTi. SDK 1.5.1 and 1.6

\n

Problem reported on HD ticket, half way through the page:
\nhttp://developer.appcelerator.com/helpdesk/view/63611

{html}", "attachment": [ { "id": "18377", "filename": "app.js", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-21T11:53:18.000+0000", "size": 2416, "mimeType": "application/x-javascript" }, { "id": "18500", "filename": "WebFailings.zip", "author": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-16T10:51:33.000+0000", "size": 8551156, "mimeType": "application/zip" } ], "flagged": false, "summary": "iPhone YouTube on webview crashes app", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129429", "author": { "name": "mattcollinge", "key": "mattcollinge", "displayName": "Matt Collinge", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I've just hit this bug in Ti 1.6.0. It's been open for nearly 2\nmonths; any idea when it'll be fixed?

{html}", "updateAuthor": { "name": "mattcollinge", "key": "mattcollinge", "displayName": "Matt Collinge", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:45.000+0000", "updated": "2011-04-15T03:29:45.000+0000" }, { "id": "132565", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce this crash on master. App.js attached.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-21T11:54:04.000+0000", "updated": "2011-04-21T11:54:04.000+0000" }, { "id": "133265", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Sorry to reopen this, but it is still not fixed.\n\nTested with\n- Ti SDK 1.6.3 (Apr 18 2011 16:23 rb8672b44)\n- Ti SDK 1.7.0 (May 6 2011 06:44 r5d95bfe8)\n\nIn iPhone simulator 4.3\n\nThere is another helpdesk ticket that is working with youtube videos and needs this fixed.\nhttp://support.appcelerator.com/tickets/APP-832398/homepage", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-05-06T08:42:02.000+0000", "updated": "2011-05-06T08:42:02.000+0000" }, { "id": "133280", "author": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can reproduce this issue on iOS Simulator 4.2\n\nBacktrace:\n\n\n#0 0x02c97d42 in WebCore::RenderLayer::clippingRoot ()\n#1 0x02c97b65 in WebCore::RenderLayer::childrenClipRect ()\n#2 0x02c97918 in WebCore::RenderWidget::setWidgetGeometry ()\n#3 0x02c625b3 in WebCore::RenderWidget::updateWidgetPosition ()\n#4 0x02b1164e in WebCore::RenderView::updateWidgetPositions ()\n#5 0x02b042c6 in WebCore::FrameView::performPostLayoutTasks ()\n#6 0x02aef6f0 in WebCore::FrameView::layout ()\n#7 0x02b5438a in WebCore::FrameView::forceLayout ()\n#8 0x02728bd7 in -[WebHTMLView layoutToMinimumPageWidth:height:maximumPageWidth:adjustingViewSize:] ()\n#9 0x02728ae8 in -[WebHTMLView layout] ()\n#10 0x0272ae04 in -[WebHTMLView(WebInternal) _web_layoutIfNeededRecursive] ()\n#11 0x0272ace2 in -[WebHTMLView(WebPrivate) viewWillDraw] ()\n#12 0x021cf2cf in -[NSArray makeObjectsPerformSelector:] ()\n#13 0x02b2d95e in -[WAKView viewWillDraw] ()\n#14 0x021cf2cf in -[NSArray makeObjectsPerformSelector:] ()\n#15 0x02b2d95e in -[WAKView viewWillDraw] ()\n#16 0x021cf2cf in -[NSArray makeObjectsPerformSelector:] ()\n#17 0x02b2d95e in -[WAKView viewWillDraw] ()\n#18 0x021cf2cf in -[NSArray makeObjectsPerformSelector:] ()\n#19 0x02b2d95e in -[WAKView viewWillDraw] ()\n#20 0x0272ac1f in -[WebView(WebPrivate) viewWillDraw] ()\n#21 0x02b2d86c in WebCore::TileCache::prepareToDraw ()\n#22 0x02b2d7f3 in -[TileLayer display] ()\n#23 0x01914be4 in CALayerDisplayIfNeeded ()\n#24 0x0190738b in CA::Context::commit_transaction ()\n#25 0x019070d0 in CA::Transaction::commit ()\n#26 0x019377d5 in CA::Transaction::observer_callback ()\n#27 0x02239fbb in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ ()\n#28 0x021cf0e7 in __CFRunLoopDoObservers ()\n#29 0x02197bd7 in __CFRunLoopRun ()\n#30 0x02197240 in CFRunLoopRunSpecific ()\n#31 0x02197161 in CFRunLoopRunInMode ()\n#32 0x0402a268 in GSEventRunModal ()\n#33 0x0402a32d in GSEventRun ()\n#34 0x0089742e in UIApplicationMain ()\n#35 0x00003aaa in main (argc=1, argv=0xbfffef80) at /Users/jrelkin/Documents/Code/titanium_mobile/titanium_mobile/iphone/iphone/main.m:28", "updateAuthor": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-06T12:22:09.000+0000", "updated": "2011-05-06T12:22:09.000+0000" }, { "id": "133360", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Putting on hold as an Apple bug.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-10T12:32:07.000+0000", "updated": "2011-05-10T12:32:07.000+0000" }, { "id": "133541", "author": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Filed bug with Apple. (radar# 9434849)", "updateAuthor": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-13T11:34:56.000+0000", "updated": "2011-05-13T11:34:56.000+0000" }, { "id": "133710", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We may want to create a separate task for tracking 'hold' bugs.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-16T11:05:24.000+0000", "updated": "2011-05-16T11:05:24.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }