{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/10458","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/10458/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/10458/comments","events_url":"https://api.github.com/repos/electron/electron/issues/10458/events","html_url":"https://github.com/electron/electron/issues/10458","id":255883749,"node_id":"MDU6SXNzdWUyNTU4ODM3NDk=","number":10458,"title":"Electron Helper Crash - CMD+R in DevTools while paused with debugger statement - CrRendererMain EXC_BAD_INSTRUCTION SIGILL (macOS 10.13)","user":{"login":"SMotaal","id":849613,"node_id":"MDQ6VXNlcjg0OTYxMw==","avatar_url":"https://avatars3.githubusercontent.com/u/849613?v=4","gravatar_id":"","url":"https://api.github.com/users/SMotaal","html_url":"https://github.com/SMotaal","followers_url":"https://api.github.com/users/SMotaal/followers","following_url":"https://api.github.com/users/SMotaal/following{/other_user}","gists_url":"https://api.github.com/users/SMotaal/gists{/gist_id}","starred_url":"https://api.github.com/users/SMotaal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SMotaal/subscriptions","organizations_url":"https://api.github.com/users/SMotaal/orgs","repos_url":"https://api.github.com/users/SMotaal/repos","events_url":"https://api.github.com/users/SMotaal/events{/privacy}","received_events_url":"https://api.github.com/users/SMotaal/received_events","type":"User","site_admin":false},"labels":[{"id":520323169,"node_id":"MDU6TGFiZWw1MjAzMjMxNjk=","url":"https://api.github.com/repos/electron/electron/labels/bug%20:beetle:","name":"bug :beetle:","color":"fbca04","default":false},{"id":97403606,"node_id":"MDU6TGFiZWw5NzQwMzYwNg==","url":"https://api.github.com/repos/electron/electron/labels/platform/macOS","name":"platform/macOS","color":"c7def8","default":false},{"id":612349168,"node_id":"MDU6TGFiZWw2MTIzNDkxNjg=","url":"https://api.github.com/repos/electron/electron/labels/version/1.7.x","name":"version/1.7.x","color":"bfdadc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-07T10:04:24Z","updated_at":"2018-09-24T05:32:19Z","closed_at":"2018-09-24T05:32:19Z","author_association":"NONE","body":"I submitted this to iron-node's issues and we concluded this could be more relevant to your team. Just have to mention, I'm using macOS 10.13 developer/public beta, though this type of crash initially occurred on 10.12 stable.\r\n\r\n### Description\r\n\r\nI'm currently working on a nodes project that seems to crash Electron Helper when I hit cmd+R while devtools is paused at a debugger statement (while using iron-node).\r\n\r\n### Steps to Reproduce\r\n\r\nThe project calls require(' ts-node/require') then require('index.ts') to start my app, which might be relevant to reproduce. The debugger statement resides in the index.ts (which is transpired and loaded with inlined source maps  by ts-node.\r\n\r\n1. Launch iron-node within the project folder: iron-node ./index.js\r\n2. Wait for devtools to pause at a debugger statement.\r\n3. Hit cmd+R\r\n\r\n**Expected behavior:**\r\n\r\nReloads without issues.\r\n\r\n**Actual behavior:**\r\n\r\nReloads but shows Problem Report for Electron Helper\r\n\r\n**Reproduces how often:**\r\n\r\nThe crash seems to occur consistently on every reload even after relaunching iron-node and restarting, upgrading iron-node and dependencies, but in rare occasion while testing it sometimes stopped happening without clear cause.\r\n\r\nIt never happened when I manually pause devtools, as opposed to dynamically pausing by calling debugger, before hitting cmd+R.\r\n\r\nAt some point when I tried to replicate this by calling debugger from index.js, I could no longer reproduce it, even when I stepped through to the debugger statement in index.ts. I even removed the debugger statement from index.js to revert to the initial scenario and it no longer crashed when dynamically paused from index.ts. I simply don't have a clue what could have changed.\r\n\r\nThis has been happening for a few months, with different versions of every aspect involved (Iron-node, electron, node, typescript, ts-node, macOS, you name it), and it is not restricted to this one project, but most of my projects will usually require ts-node/require so it remains a potential factor but not necessarily the cause.\r\n\r\n**Screenshot(s):**\r\n\r\n<img width=\"1680\" alt=\"screen shot 2017-08-28 at 2 08 46 pm\" src=\"https://user-images.githubusercontent.com/849613/29787668-c71072ca-8bfd-11e7-897d-ef0fec0d613a.png\">\r\n\r\n**Relevant Crash Log**\r\n```\r\nCrashed Thread:        0  CrRendererMain  Dispatch queue: com.apple.main-thread\r\n\r\nException Type:        EXC_BAD_INSTRUCTION (SIGILL)\r\nException Codes:       0x0000000000000001, 0x0000000000000000\r\nException Note:        EXC_CORPSE_NOTIFY\r\n\r\nTermination Signal:    Illegal instruction: 4\r\nTermination Reason:    Namespace SIGNAL, Code 0x4\r\nTerminating Process:   exc handler [0]\r\n```\r\n[Crash Logs.zip](https://github.com/electron/electron/files/1284286/Crash.Logs.zip)\r\n\r\n### Version(s)\r\n\r\n```json\r\n{\r\n    \"http_parser\": \"2.7.0\",\r\n    \"node\": \"7.9.0\",\r\n    \"v8\": \"5.8.283.38\",\r\n    \"uv\": \"1.11.0\",\r\n    \"zlib\": \"1.2.11\",\r\n    \"ares\": \"1.10.1- DEV\",\r\n    \"modules\": \"54\",\r\n    \"openssl\": \"1.0.2k\",\r\n    \"electron\": \"1.7.5\",\r\n    \"chrome\": \"58.0.3029.110\",\r\n    \"atom-shell\": \"1.7.5\",\r\n    \"ts-node\": \"3.3.0\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/423880091","html_url":"https://github.com/electron/electron/issues/10458#issuecomment-423880091","issue_url":"https://api.github.com/repos/electron/electron/issues/10458","id":423880091,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzg4MDA5MQ==","user":{"login":"codebytere","id":2036040,"node_id":"MDQ6VXNlcjIwMzYwNDA=","avatar_url":"https://avatars2.githubusercontent.com/u/2036040?v=4","gravatar_id":"","url":"https://api.github.com/users/codebytere","html_url":"https://github.com/codebytere","followers_url":"https://api.github.com/users/codebytere/followers","following_url":"https://api.github.com/users/codebytere/following{/other_user}","gists_url":"https://api.github.com/users/codebytere/gists{/gist_id}","starred_url":"https://api.github.com/users/codebytere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebytere/subscriptions","organizations_url":"https://api.github.com/users/codebytere/orgs","repos_url":"https://api.github.com/users/codebytere/repos","events_url":"https://api.github.com/users/codebytere/events{/privacy}","received_events_url":"https://api.github.com/users/codebytere/received_events","type":"User","site_admin":true},"created_at":"2018-09-24T05:32:19Z","updated_at":"2018-09-24T05:32:19Z","author_association":"MEMBER","body":"We are no longer implementing bugfixes for versions of Electron <= `1.7.x`, so i'm going to close this issue but if it is still persisting in more recent versions of Electron we can certainly reopen it!"}}
{"actor":{"display_login":"codebytere"}}