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

SIGTRAP error on Ubuntu #1598

Closed
aadcg opened this issue May 24, 2024 · 8 comments
Closed

SIGTRAP error on Ubuntu #1598

aadcg opened this issue May 24, 2024 · 8 comments

Comments

@aadcg
Copy link

aadcg commented May 24, 2024

Installed via .deb. The first error is easily fixed by following the instructions provided but I'm clueless about the second. Any idea? Thanks.

Console ready 🔬
Saving files to temp directory...
Saved files to /tmp/electron-fiddle-62593-op2n7hSFKe4p
Electron v29.4.0 started.
[62731:0524/190011.842919:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/aadcg/.config/Electron Fiddle/electron-bin/current/chrome-sandbox is owned by root and has mode 4755.

Electron exited with signal SIGTRAP.
Saving files to temp directory...
Saved files to /tmp/electron-fiddle-62593-EsSoCyyD6GLQ
Electron v29.4.0 started.
LaunchProcess: failed to execvp:
/home/aadcg/.config/Electron
[62772:0524/190051.235193:FATAL:zygote_host_impl_linux.cc(202)] Check failed: . : Invalid argument (22)

Electron exited with signal SIGTRAP.
@codebytere
Copy link
Member

Duplicate of #1597

@codebytere codebytere marked this as a duplicate of #1597 May 24, 2024
@codebytere codebytere closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2024
@aadcg
Copy link
Author

aadcg commented May 25, 2024

I have doubts whether this issue is a duplicate of #1597, since I am reporting that I can't run any fiddle while the other issue mentions not being able to run electron-fiddle.

@erickzhao
Copy link
Member

Hey @aadcg, are you able to run https://github.com/electron/electron-quick-start outside of the context of Fiddle? That's the sample code that we load by default into the program.

@aadcg
Copy link
Author

aadcg commented Jun 14, 2024

Hey @aadcg, are you able to run https://github.com/electron/electron-quick-start outside of the context of Fiddle? That's the sample code that we load by default into the program.

Yes, I am. That's why it is even more intriguing to me.

Same issue on 29.4.2.

Saving files to temp directory...
Saved files to /tmp/electron-fiddle-173225-HQq0KiRT9xzo
Electron v29.4.2 started.
LaunchProcess: failed to execvp:
/home/aadcg/.config/Electron
[173513:0614/223307.314562:FATAL:zygote_host_impl_linux.cc(202)] Check failed: . : Invalid argument (22)

Electron exited with signal SIGTRAP.

@dsanders11
Copy link
Member

Hi @aadcg, can you test the latest release (v0.36.4) and see if this is still a problem for you? Thanks!

@aadcg
Copy link
Author

aadcg commented Jul 25, 2024

@dsanders11 I figured the issue yesterday. It's unrelated to Electron. It's due to bwrap and a very odd Ubuntu policy. See the details here. To fix it, I disabled the apparmor service.

@aadcg aadcg closed this as completed Jul 25, 2024
@loicm
Copy link

loicm commented Oct 2, 2024

@aadcg I stopped apparmor (sudo service apparmor stop), then ran my fiddle code but I still have the same error.

I use Electron Fiddle 0.36.4 on Ubuntu 24.04

Any idea how to make it works? Thanks!

@rruggiero
Copy link

This issue has been ongoing with the ubuntu release for so long now and there is not resolution that I can identify form constant searching. I come back to this ubuntu release every 4-5 months to check that it has been resolved and it hasn't for over a year now.

Uninstalling it and reinstalling it different ways doesn't help. Maybe something is broken in my ubuntu config, who knows?

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

No branches or pull requests

6 participants