{ "id": "62568", "key": "TIMOB-1936", "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": "11228", "name": "Release 1.5.0 M03", "archived": true, "released": true, "releaseDate": "2010-11-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:35.000+0000", "created": "2011-04-15T03:06:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "crash", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:35.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

1.4.2.5935b3 G1 running 1.6

\n
    \n
  1. BaseUi>Views>Web Views>external url
  2. \n
  3. then BaseUi>Views>Web Views>local url
  4. \n
\n

crashlog at - http://pastie.org/1186898

{html}", "attachment": [], "flagged": false, "summary": "Android: crash (mem leak?) when running BaseUi>Views>Web Views (external url and local url)", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127034", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Let's check for leaks from one test to the other.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:06:03.000+0000", "updated": "2011-04-15T03:06:03.000+0000" }, { "id": "127035", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

You can even reproduce by backing out of the first webview,\ngoing back to the Views menu, and clicking to go into any Views set\nof tests. (So you don't need to load webview twice to get it to\nhappen.)

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:06:03.000+0000", "updated": "2011-04-15T03:06:03.000+0000" }, { "id": "127036", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

For posterity: the crash begins happening in 1.6 after this\ncommit is applied:

\n

\nhttp://github.com/appcelerator/titanium_mobile/commit/a8c5ccc4cb768...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:06:04.000+0000", "updated": "2011-04-15T03:06:04.000+0000" }, { "id": "127037", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [b8a6eb4de745a63299b04a9a6d221bfa35b1dc9c])\n[#1936 status:fixed-in-qa] Don't allow the\nwebview to be released like other views are in our new\nmemory-saving scheme. Some native (JNI) code seems to freak out and\ncrash the app if the webview isn't still around at a certain point\nin the GC process \nhttp://github.com/appcelerator/titanium_mobile/commit/b8a6eb4de745a...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:06:04.000+0000", "updated": "2011-04-15T03:06:04.000+0000" }, { "id": "127038", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

crash persists in Mobile sdk 1.5.0.02c264.

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:06:04.000+0000", "updated": "2011-04-15T03:06:04.000+0000" }, { "id": "127039", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

This seems to have resolved itself. (A lot of changes since\n10/14 in the master branch, related to the Kroll refactoring that\nwas merged around that time.) Can you still reproduce? I can't.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:06:05.000+0000", "updated": "2011-04-15T03:06:05.000+0000" }, { "id": "127040", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Titanium SDK version: 1.5.0 (12/03/10 09:29 33c2058). Not seeing\nit on the g1 or g2 anymore. closing as resolved

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:06:05.000+0000", "updated": "2011-04-15T03:06:05.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }