{ "id": "82481", "key": "TIMOB-6074", "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": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-09T14:04:58.000+0000", "created": "2011-11-08T10:49:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "branch-v8" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44:18.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": "+Expected Behavior+\r\nRunning applications on emulator should not crash from ReferenceTableOverflow errors. \r\n\r\n+Actual Behavior+\r\nCertain conditions cause the application to run out of references when\r\nrunning on the emulator.\r\n\r\n+Test case+\r\nRunning the Drillbit Buffer or Database suites causes a ReferenceTableOverflow error and crash.\r\n\r\n+Community Discussion+\r\nN/A", "attachment": [], "flagged": false, "summary": "Android: V8 - Release Java proxy object references when running on emulator device.", "creator": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: master\r\nDevice details: emulator", "comment": { "comments": [ { "id": "171921", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sent [pull request #648|https://github.com/appcelerator/titanium_mobile/pull/648].", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-08T11:04:28.000+0000", "updated": "2011-11-08T11:04:28.000+0000" }, { "id": "171996", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here is a couple test cases which should cause the bug:\r\n\r\n{code}\r\nvar buffers = [];\r\nfor (var i = 0; i < 1000; i++) {\r\n\tvar b = Ti.createBuffer({value:\"Hello!\"});\r\n\tb.clear();\r\n\tbuffers.push(b);\r\n}\r\n{code}\r\n\r\n{code}\r\nvar db = Ti.Database.open(\"test\");\r\ndb.execute(\"drop table if exists Test\");\r\ndb.execute(\"create table if not exists Test(row text)\");\r\n\r\nfor (var i = 0; i < 1000; i++) {\r\n\tdb.execute(\"insert into Test(row) values(?)\", \"My TestRow\");\r\n}\r\n\r\nvar rs = db.execute(\"select * from Test\");\r\n{code}\r\n\r\nThese two should be tested separately. After the fix is applied neither should crash the app.\r\n", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-08T17:06:16.000+0000", "updated": "2011-11-08T17:06:16.000+0000" }, { "id": "175568", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111209011840 on\r\nNexus One (2.2.2) - v8\r\nDroid (2.2) - rhino\r\nEmulator (2.2) - v8", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T12:06:07.000+0000", "updated": "2011-12-09T12:06:07.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }