electron: App crashes after entering first character in debug console
Electron v0.31.1 Linux Mint 17.1
- Launch the app via
node_modules/.bin/electron . - Open Developer Tools.
- Set a breakpoint on bar.
- Refresh the app so the breakpoint hits.
- Open the console and type b.
The debugger crashes at this point. The issue is also present on v0.31.0 but not v0.30.6.
The app is almost nothing. My main.js is pretty bare bones and can be supplied upon request but here’s the index.html:
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title>foo</title>
</head>
<script>
var bar = 1;
var baz = 2; // set a breakpoint here
</script>
</html>
The crash log is as follows:
[13144:0829/220835:ERROR:browser_main_loop.cc(185)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[13170:0829/220836:INFO:renderer_main.cc(200)] Renderer process started
[13187:0829/220848:INFO:renderer_main.cc(200)] Renderer process started
[13198:0829/220856:INFO:renderer_main.cc(200)] Renderer process started
[13170:0829/220856:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)
Failed to get crash dump id.
Report Id:
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 31 (11 by maintainers)
I’m also having this issue with Electron v1.8.2-beta3 on Windows 10, 64 bit.
I downgraded to the current latest (1.7.9) and it’s working fine.
Happening for me too, Windows 64bit.
Electron v1.8.2-beta.3 Chromium v59.0.3071.115 Node v8.2.1v8 v5.9.211.38
As soon as a character is typed into the developer console, electron crashes. Clicking to the console works.
Had same problem, downgrading to 1.7.9 fixed it. WIndows 10, electron-forge 4.2.0. Thanks for the tip guys, really hard to debug when you can evaluate code.
I am also having this problem on macOS 10.12.6 on Electron 1.6.2. Any updates on this @zcbenz? Makes debugging damn near impossible.
Happening for me on electron v1.8.2-beta.3. Crashes as soon as I type a single letter into the console. How is this still a thing? It’s a 2 year old issue.