{"action":"opened","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/12375","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/12375/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/12375/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/12375/events","html_url":"https://github.com/nodejs/node/issues/12375","id":221402423,"number":12375,"title":"Segmentation Fault for SuperUser","user":{"login":"danielkov","id":18039004,"avatar_url":"https://avatars3.githubusercontent.com/u/18039004?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkov","html_url":"https://github.com/danielkov","followers_url":"https://api.github.com/users/danielkov/followers","following_url":"https://api.github.com/users/danielkov/following{/other_user}","gists_url":"https://api.github.com/users/danielkov/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkov/subscriptions","organizations_url":"https://api.github.com/users/danielkov/orgs","repos_url":"https://api.github.com/users/danielkov/repos","events_url":"https://api.github.com/users/danielkov/events{/privacy}","received_events_url":"https://api.github.com/users/danielkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-12T21:58:39Z","updated_at":"2017-04-12T21:58:39Z","closed_at":null,"body":"Hello!\r\n\r\nAs of today I've been getting a segmentation fault when running Node JS (or NPM) as superuser on \r\n`Linux 4.9.20-1-MANJARO x86_64`. I've never ran into similar issues before so I am not sure how to debug it.\r\n\r\noutput of `sudo node -v`: `segmentation fault`\r\noutput of `npm -v`: `4.4.4`\r\noutput of `sudo npm -v`: `segmentation fault`\r\n\r\n* **Version**: `v7.7.3`\r\n* **Platform**: `Linux 4.9.20-1-MANJARO x86_64`\r\n\r\nI can't seem to think of any reason why that would be happening at this point. Node and NPM work completely fine for my own user account, but not for su, which is problematic when installing global modules (or say I wanted to open up :80 for some reason).\r\n\r\nI've just picked up working with Node JS on Linux systems after a long time of Windows (ab)use, so maybe I'm looking in the wrong places but my account uses `/usr/bin/node` and SU tries to use `/usr/local/bin/node`, for npm they're both using `/usr/bin/npm`. I can't seem to figure this one out."}}
{"actor":{"display_login":"danielkov"}}