{ "id": "173962", "key": "TIMOB-27300", "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": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-08-07T00:29:57.000+0000", "created": "2019-07-30T22:28:47.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "engSchedule" ], "versions": [ { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "issuelinks": [ { "id": "57976", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "174510", "key": "TIMOB-27642", "fields": { "summary": "Android: Code Encryption Exception", "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": "None", "id": "6" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-12-05T03:48:44.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": "*Summary:*\r\nA buffer overflow or out-of-memory exception can occur for device builds (ie: encrypted assets) if the total byte size of all JavaScript source code exceeds the max heap size. This is more likely to happen when transpiled and source-maps are enabled.\r\n\r\n*Steps to reproduce:*\r\n# Create a Classic Titanium app project using current *8_1_X*\r\n# Unzip the attached [^TIMOB-27300.zip] to the project's \"Resources\" directory.\r\n# Build and run on a physical Android device. (Alternatively, build with deployment type {{-D test}}.)\r\n# When the app launches, note that an exception occurs in the log.\r\n\r\n*Result:*\r\n- An \"BufferOverflowException\" gets logged.\r\n\r\n*Expected Result:*\r\n- App should have successfully started and display a green window.\r\n\r\n*Notes*\r\n- If you receive an \"OutOfMemory\" exception, test on a different device that has enough RAM to load the test case.\r\n\r\n*Recommended Solution:*\r\nRefactor {{titanium_prep}} to prevent {{BufferOverflowException}} for large Javascript files.\r\n", "attachment": [ { "id": "66793", "filename": "AppResources.zip", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-07-31T19:39:55.000+0000", "size": 98218, "mimeType": "application/zip" }, { "id": "66806", "filename": "TIMOB-27300.zip", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-06T17:55:50.000+0000", "size": 79708, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: AssetCryptImpl buffer overflow for large JS assets", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1157, "state": "closed", "name": "2019 Sprint 16", "startDate": "2019-07-29T15:35:47.313Z", "endDate": "2019-08-11T15:35:00.000Z", "completeDate": "2019-08-12T07:57:02.552Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "450199", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "titanium_prep: https://github.com/appcelerator/titanium_prep/pull/33\r\n8_1_X: https://github.com/appcelerator/titanium_mobile/pull/11100\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/11103", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-07-31T22:58:13.000+0000", "updated": "2019-08-02T23:36:59.000+0000" }, { "id": "450296", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR's Passed.\r\nPR's Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-06T18:43:35.000+0000", "updated": "2019-08-06T18:43:35.000+0000" }, { "id": "450304", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 8.1.0.v20190806151528 & 8.2.0.v20190806115125.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-07T00:29:52.000+0000", "updated": "2019-08-07T00:29:52.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }