{ "id": "142358", "key": "TIMOB-18325", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-01-28T20:13:40.000+0000", "created": "2015-01-06T20:57:22.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T19:52:54.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "TitaniumKit Module instance crashes as soon as its destructor is fired.\r\n\r\n{code}\r\njavascript\r\n'use strict';\r\n\r\nfor (var i = 0; i < 1000; i++) {\r\n var b = Ti.UI.createButton({\r\n top: 20,\r\n bottom: 20,\r\n width: 200,\r\n height: Ti.UI.SIZE\r\n });\r\n b = null;\r\n}\r\n{code}\r\n\r\nThis crashes at UI::Button destructor. Tested on Windows Store app, 100% reproducible.\r\n\r\n{code}\r\n000000533 DEBUG: UI::createButton.\r\n000001067 DEBUG: Button::ctor Initialize.\r\n000001068 DEBUG: Button::ctor CallAsConstructor.\r\n000000534 DEBUG: UI::createButton.\r\n000001069 DEBUG: Button::dtor.\r\nFirst-chance exception at 0x54E60262 (TitaniumKit.dll) in Issue34.exe: 0xC0000005: Access violation reading location 0xDDDDDDDD.\r\nUnhandled exception at 0x54E60262 (TitaniumKit.dll) in Issue34.exe: 0xC0000005: Access violation reading location 0xDDDDDDDD.\r\n{code}\r\n\r\nI'll push a new PR which demonstrates this issue.", "attachment": [], "flagged": false, "summary": "Windows: Module crashes at destructor", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 317, "state": "closed", "name": "2015 Sprint 02 Windows", "startDate": "2015-01-17T01:00:50.859Z", "endDate": "2015-01-31T01:00:00.000Z", "completeDate": "2015-01-30T23:07:52.735Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "339821", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is a issue on HAL and fixed in https://github.com/appcelerator/HAL/pull/21, needs to be integrated in titanium_mobile_windows.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-20T01:16:02.000+0000", "updated": "2015-01-20T01:16:02.000+0000" }, { "id": "341017", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Sounds like this was fixed.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-28T20:13:40.000+0000", "updated": "2015-01-28T20:13:40.000+0000" }, { "id": "412192", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T19:52:54.000+0000", "updated": "2017-03-14T19:52:54.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }