{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/node-canvas/issues/1285","repository_url":"https://api.github.com/repos/Automattic/node-canvas","labels_url":"https://api.github.com/repos/Automattic/node-canvas/issues/1285/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/node-canvas/issues/1285/comments","events_url":"https://api.github.com/repos/Automattic/node-canvas/issues/1285/events","html_url":"https://github.com/Automattic/node-canvas/issues/1285","id":372310454,"node_id":"MDU6SXNzdWUzNzIzMTA0NTQ=","number":1285,"title":"Node process exists trying to load image","user":{"login":"UnacceptableUse","id":1770863,"node_id":"MDQ6VXNlcjE3NzA4NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/1770863?v=4","gravatar_id":"","url":"https://api.github.com/users/UnacceptableUse","html_url":"https://github.com/UnacceptableUse","followers_url":"https://api.github.com/users/UnacceptableUse/followers","following_url":"https://api.github.com/users/UnacceptableUse/following{/other_user}","gists_url":"https://api.github.com/users/UnacceptableUse/gists{/gist_id}","starred_url":"https://api.github.com/users/UnacceptableUse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnacceptableUse/subscriptions","organizations_url":"https://api.github.com/users/UnacceptableUse/orgs","repos_url":"https://api.github.com/users/UnacceptableUse/repos","events_url":"https://api.github.com/users/UnacceptableUse/events{/privacy}","received_events_url":"https://api.github.com/users/UnacceptableUse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-21T12:35:49Z","updated_at":"2018-10-22T10:26:36Z","closed_at":null,"author_association":"NONE","body":"## Issue or Feature\r\nnode.js process exits with no error after attempting to load an image. I think it's a memory issue but there is no error message.\r\n## Steps to Reproduce\r\nRun the code below. In theory, you should see \"image loaded\" and \"keeping the process alive\" every second, however neither of these happen and the process exits with no error.\r\n```js\r\nconst canvas  = require('canvas');\r\nsetInterval(function(){\r\n    console.log(\"Keeping the process alive\");\r\n}, 100);\r\ncanvas.loadImage(\"https://static1.squarespace.com/static/55e48783e4b0b05d86d82227/t/59d2f11af5e2315077b900bb/1506996537700/IMG_0293.JPG\").then(function(image){\r\n    console.log(\"image loaded\");\r\n}).catch(function(){\r\n    console.log(\"error\");\r\n    console.log(arguments);\r\n});\r\n```\r\n\r\n## Your Environment\r\n* node-canvas 2.0.1\r\n* node v8.5.0 \r\n* Windows 10 64-bit Version 1709 Build 16299.125"},"comment":{"url":"https://api.github.com/repos/Automattic/node-canvas/issues/comments/431796590","html_url":"https://github.com/Automattic/node-canvas/issues/1285#issuecomment-431796590","issue_url":"https://api.github.com/repos/Automattic/node-canvas/issues/1285","id":431796590,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTc5NjU5MA==","user":{"login":"UnacceptableUse","id":1770863,"node_id":"MDQ6VXNlcjE3NzA4NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/1770863?v=4","gravatar_id":"","url":"https://api.github.com/users/UnacceptableUse","html_url":"https://github.com/UnacceptableUse","followers_url":"https://api.github.com/users/UnacceptableUse/followers","following_url":"https://api.github.com/users/UnacceptableUse/following{/other_user}","gists_url":"https://api.github.com/users/UnacceptableUse/gists{/gist_id}","starred_url":"https://api.github.com/users/UnacceptableUse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnacceptableUse/subscriptions","organizations_url":"https://api.github.com/users/UnacceptableUse/orgs","repos_url":"https://api.github.com/users/UnacceptableUse/repos","events_url":"https://api.github.com/users/UnacceptableUse/events{/privacy}","received_events_url":"https://api.github.com/users/UnacceptableUse/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T10:26:36Z","updated_at":"2018-10-22T10:26:36Z","author_association":"NONE","body":"`-1066598273\r\n`"}}
{"actor":{"display_login":"UnacceptableUse"}}