{ "id": "89092", "key": "TIMOB-8444", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-04-17T10:13:36.000+0000", "created": "2012-03-28T19:25:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:35:28.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": "The following code causes the app to segfault in both the simulator and on the device (iphone4). Have not had a chance to see if this also happens on android. Alerts \"[object TiBlob]\" then segfaults.\r\n\r\n{code:javascript} \r\n Titanium.Media.showCamera({\r\n showControls : true,\r\n saveToPhotoGallery: true,\r\n success : function(e){\r\n var imgBlob = e.media\r\n\r\n alert(imgBlob);\r\n alert(imgBlob.getSize());\r\n alert(imgBlob.getWidth());\r\n alert(imgBlob.getHeight());\r\n\r\n },\r\n error : function(e){\r\n alert('camera error');\r\n }\r\n });\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: Call to Ti.Blob.getSize() and co. causes segfault", "creator": { "name": "tehnorm", "key": "tehnorm", "displayName": "Norm Santos", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tehnorm", "key": "tehnorm", "displayName": "Norm Santos", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "1.8.2 iOS 5.0 iphone4", "comment": { "comments": [ { "id": "195543", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested with 2.0.1GA2 on an iPhone 3GS, issue still exists. On a Samsung Galaxy S2, it says these functions (getSize() etc) don't exist and crashes the app.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-21T16:21:03.000+0000", "updated": "2012-05-21T16:21:03.000+0000" }, { "id": "247912", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPhone Simulator: iOS SDK version: 6.0\r\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-17T10:13:36.000+0000", "updated": "2013-04-17T10:14:00.000+0000" }, { "id": "413560", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:35:28.000+0000", "updated": "2017-03-17T18:35:28.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }