Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exited with signal SIGTRAP #554

Open
taylortreece opened this issue Nov 23, 2021 · 4 comments
Open

exited with signal SIGTRAP #554

taylortreece opened this issue Nov 23, 2021 · 4 comments

Comments

@taylortreece
Copy link

Hello, I have tried cloning this repo along with manually following the docs, and I am getting this error when running npm start:

/home/taylor/dev/electron-quick-start/node_modules/electron/dist/electron exited with signal SIGTRAP

I have traced the file only to find that electron within the dist directory is a file that cannot be read by vscode since it is a binary file or something of the sort. Does anyone know what this might be? I have googled around and posted to StackOverflow, but I have no idea how to resolve this. Any guidance would be appreciated. Thanks!

@erickzhao
Copy link
Member

Hi @taylortreece, happy American thanksgiving! 🦃

This might have been a regression found in Electron 16 specifically for Linux: electron/electron#31885

Do you still encounter the bug if you downgrade to Electron 15? You can manually do that in package.json or just check out the 15-x-y branch in this repo.

@itbj
Copy link

itbj commented Jan 3, 2022

Hello, I have tried cloning this repo along with manually following the docs, and I am getting this error when running npm start:

/home/taylor/dev/electron-quick-start/node_modules/electron/dist/electron exited with signal SIGTRAP

I have traced the file only to find that electron within the dist directory is a file that cannot be read by vscode since it is a binary file or something of the sort. Does anyone know what this might be? I have googled around and posted to StackOverflow, but I have no idea how to resolve this. Any guidance would be appreciated. Thanks!

1.  Xserver setup ok, for example export DISPLAY=127.0.0.1:0.0
2. start WSL as Administrator.
2.  cd /tmp/electron-quick-start/node_modules/electron/dist
3.  sudo chown root chrome-sandbox
    sudo chmod 4755 chrome-sandbox
4.  npm start
5.  the x-windows should be displayed and some alarms in shell.

electron-app

@lukewlms
Copy link

In my case this was fixed by updating the "main" entry in package.json:

"main": "main.js",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants