{ "id": "119376", "key": "TIMOB-16055", "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": null, "resolutiondate": null, "created": "2013-09-03T01:11:38.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "ios" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:37.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "attachment": [ { "id": "42068", "filename": "app.js", "author": { "name": "talosi", "key": "talosi", "displayName": "Tim Alosi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-03T01:11:38.000+0000", "size": 1975, "mimeType": "text/javascript" }, { "id": "42642", "filename": "iOS Simulator Screen shot Sep 20, 2013 12.08.12 PM.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-20T06:09:47.000+0000", "size": 29207, "mimeType": "image/png" } ], "flagged": false, "summary": "Ti.Codec.encodeNumber crashes iOS Simulator when encoding numbers > 128 with breakpoints or stepping", "creator": { "name": "talosi", "key": "talosi", "displayName": "Tim Alosi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "talosi", "key": "talosi", "displayName": "Tim Alosi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.1.2.201308091617\r\nTi Mobile SDK 3.1.2GA\r\niOS Simulator 6.1 10B141", "comment": { "comments": [ { "id": "272078", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nPlease clean your project builds and run again. Here i have attachment for you code output.\r\n\r\nThanks ", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-20T06:09:47.000+0000", "updated": "2013-09-20T06:09:47.000+0000" }, { "id": "272380", "author": { "name": "talosi", "key": "talosi", "displayName": "Tim Alosi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,\n\nI cleaned the project and rebuilt the code. I have also upgraded to Studio 3.1.3.\n\nI am still seeing the same behavior.\n\nPlease confirm that you placed a break point in the code and stepped thru the code and it did not crash when encoding 128.\n\nIt only disconnects the simulator when stepping.\n\nTim", "updateAuthor": { "name": "talosi", "key": "talosi", "displayName": "Tim Alosi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-22T11:52:27.000+0000", "updated": "2013-09-22T11:52:27.000+0000" }, { "id": "285344", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can reproduce the problem with Studio 3.1.3 and SDK 3.1.3 with debugging turned on. Debugging process dies at the following statement:\n\nTi.Codec.encodeNumber({\n\tsource : 128,\n\tdest : b3,\n\ttype : Ti.Codec.TYPE_INT,\n\tbyteOrder : Ti.Codec.BIG_ENDIAN\n});\n\nNote that it works for a value of 127 but not for 128. But given that we allocated a buffer of 4 bytes that should be sufficient for this integer value.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-20T07:00:43.000+0000", "updated": "2013-12-20T07:00:43.000+0000" }, { "id": "285345", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as it can be reproduced with the provided test case.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-20T07:01:55.000+0000", "updated": "2013-12-20T07:01:55.000+0000" }, { "id": "285347", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "JIRA incorrectly changed the reporter to me when I moved the ticket but this ticket was originally created by \"Tim Alosi\" so I would appreciate if you can change the reporter back to him.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-20T07:04:38.000+0000", "updated": "2013-12-20T07:04:38.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }