{ "id": "142659", "key": "TIMOB-18362", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-01-12T20:37:24.000+0000", "created": "2015-01-12T09:43:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T17:15:37.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": "This is not a regression as it can be reproduced with titanium sdk 3.4.1GA\r\n\r\nWith the allowEditing property of showCamera set, the app crashes when the process of capturing an image and displaying it as a view is repeated several times. The displaying of the captured image as a view is also not smooth after repeating the process for about 10 times. \r\n\r\nNote: Without the allowEditing property, the app seems to work fine. However, without the allowEditing property, the app seems to crash after repeating the process nearly 30-40 times and this crash type is different. [Refer to attachment: unknown for the crashlog]\r\n\r\nSteps to reproduce:\r\n1. Run and launch the attached app.js \r\n2. Click on the white window\r\n3. Capture an image and choose \"Use photo\"\r\n4. repeat step 2 and 3 several times (about 17-20 odd times)\r\n\r\nActual Results:\r\n1. A white window is displayed\r\n2. Camera opens up\r\n3. Image is displayed on the white window\r\n4. After repeating more than 10 times, the transition from the captured image to the window (after choosing 'Use Photo') is not smooth and after about 20 times, the app crashes. [Refer to attachment: backboardd for the crashlog]\r\n\r\nExpected Results:\r\n5. Transition must be smooth and app should not crash.", "attachment": [ { "id": "53524", "filename": "app.js", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-12T09:43:02.000+0000", "size": 1586, "mimeType": "text/javascript" }, { "id": "53522", "filename": "backboardd 1-12-15, 4-42 PM.crash", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-12T09:43:02.000+0000", "size": 40055, "mimeType": "application/octet-stream" }, { "id": "53523", "filename": "Unknown 1-12-15, 5-14 PM.crash", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-12T09:43:02.000+0000", "size": 8827, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "iOS: app crashes after taking several photos when allowEditing property of showcamera is set ", "creator": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Appc-Studio: 3.4.1.201410281743 \r\nTitanium SDK: 3.5.0.v20150109131718\r\nTitanium CLI: 3.4.1 \r\nAlloy : 1.5.1 GA \r\nOS: Mac OSX 10.10 \r\nXcode: 6.1 \r\nDevice: iphone 5s (iOS8.1), iphone 6plus (iOS8.1)", "comment": { "comments": [ { "id": "338728", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Memory issue. The way the app is setup after every photo taken an imageView is added to the window so all the images stay in memory and it runs out of memory. Modify the app to use a single ImageView and it should work fine", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-12T20:37:24.000+0000", "updated": "2015-01-12T20:37:24.000+0000" }, { "id": "413734", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T17:15:37.000+0000", "updated": "2017-03-20T17:15:37.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }