{ "id": "161385", "key": "TIMOB-23563", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-07T01:44:46.000+0000", "created": "2016-06-27T18:51:47.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-09-05T16:12:13.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": "h5.Description\r\n\r\nWhen building a Windows Platform module the following warning is shown\r\n\r\n{code}\r\n(node) warning: possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit.\r\nTrace\r\n at [object Object].addListener (events.js:239:17)\r\n at [object Object].Readable.on (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\readable-stream\\lib\\_stream_readable.js:650:33)\r\n at [object Object].once (events.js:265:8)\r\n at [object Object].Readable.pipe (_stream_readable.js:576:8)\r\n at [object Object].ZipArchiveOutputStream._smartStream (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\compress-commons\\lib\\archivers\\zip\\zip-archive-output-stream.js:171:11)\r\n at [object Object].ZipArchiveOutputStream._appendStream (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\compress-commons\\lib\\archivers\\zip\\zip-archive-output-stream.js:94:20)\r\n at [object Object].ArchiveOutputStream.entry (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\compress-commons\\lib\\archivers\\archive-output-stream.js:89:10)\r\n at [object Object].ZipStream.entry (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\zip-stream\\lib\\zip-stream.js:105:49)\r\n(node) warning: possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit.\r\nTrace\r\n at [object Object].addListener (events.js:239:17)\r\n at [object Object].Readable.on (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\readable-stream\\lib\\_stream_readable.js:650:33)\r\n at [object Object].once (events.js:265:8)\r\n at [object Object].Readable.pipe (_stream_readable.js:582:8)\r\n at [object Object].ZipArchiveOutputStream._smartStream (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\compress-commons\\lib\\archivers\\zip\\zip-archive-output-stream.js:171:11)\r\n at [object Object].ZipArchiveOutputStream._appendStream (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\compress-commons\\lib\\archivers\\zip\\zip-archive-output-stream.js:94:20)\r\n at [object Object].ArchiveOutputStream.entry (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\compress-commons\\lib\\archivers\\archive-output-stream.js:89:10)\r\n at [object Object].ZipStream.entry (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160617074028\\node_modules\\zip-stream\\lib\\zip-stream.js:105:49)\r\n{code}\r\n\r\nThis warning is shown when building with {{appc run}} or {{ti build}}, it is not shown when building an Android module\r\n\r\nh5.Steps to reproduce\r\n\r\n# Create a windows module using {{appc new -t timodule -n winmodule --id com.winmodule}}\r\n# {{cd winmodule\\windows}}\r\n# Build the module using {{appc run -p windows --build-only}} or {{ti build -p windows --build-only}}\r\n\r\nh5.Actual result\r\n\r\nThe warning shown in the description is printed out\r\n\r\nh5.Expected result\r\n\r\nNo warning should be printed out", "attachment": [], "flagged": false, "summary": "Windows: 'possible EventEmitter memory leak detected' warning when building Windows Platform module", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 10 Pro\r\nTi SDK: 5.4.0.v20160617074028\r\nAppc NPM: 4.2.7-2 \r\nAppc CLI: 5.4.0-18\r\n", "closedSprints": [ { "id": 678, "state": "closed", "name": "2016 Sprint 14 SDK", "startDate": "2016-07-02T00:25:57.921Z", "endDate": "2016-07-16T00:25:00.000Z", "completeDate": "2016-07-18T03:18:29.729Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "389959", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/770", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-07-06T08:57:56.000+0000", "updated": "2016-07-06T08:57:56.000+0000" }, { "id": "395343", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nOS: Microsoft Windows 10 Pro 10.0.14393\r\nAppc core: 6.0.0-38\r\nAppc NPM: 4.2.8-6\r\nTi SDK: 6.0.0.v20160904203840\r\n\r\nWarning is no longer shown when building a module\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-09-05T16:12:06.000+0000", "updated": "2016-09-05T16:12:06.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }