-
Notifications
You must be signed in to change notification settings - Fork 567
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
idea: UI freeze due to chromium + seccomp #6497
Comments
So which syscall is blocked? firejail/etc/templates/syscalls.txt Lines 89 to 112 in 0e7296b
If it is related to chromium, try |
kmk3
changed the title
IntelliJ Idea profile: seccomp causes issues
idea: UI freeze due to chromium + seccomp
Oct 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The profile for IntelliJ Idea includes
seccomp
, but this (at least recently) seems to cause problems with opening new projects (and potentially also running programs from the IDE).This happened for IntelliJ Idea Ultimate 2024.2.3 (after updating to this version, could not run run configurations anymore (which worked just before) until disabling seccomp). A crash when opening projects (which one hadn't opened before) happened for this and versions 2024.2.1 and 2024.2.2. What is printed on the console as the last thing around the time when the program gets stuck and then closes is:
FATAL:zygote_host_impl_linux.cc(216)] Check failed: . : No such file or directory (2)
It seems that zygote is related to Chromium: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux/zygote.md
I noticed that after disabling seccomp, the Readme of the project is displayed after loading it - a guess would be that this is displayed via Chromium, which causes the crash when it wants to fork the process or so.
The profile used is based on the profile coming with firejail, but whitelisted, and with a few other restrictions removed.
Steps to Reproduce
idea.sh
firejail profile:firejail --profile=... intellij-idea-ultimate-edition
FATAL:zygote_host_impl_linux.cc(216)] Check failed: . : No such file or directory (2)
on the consoleExpected behavior
The IDE does not crash
Actual behavior
The IDE crashes
Behavior without a profile
The IDE does not crash (when just removing
seccomp
from the profile)Environment
uname -srm
): Linux 6.6.47-1-MANJARO x86_64firejail --version
): 0.9.72Checklist
/usr/bin/vlc
) "fixes" it). (by the profile)https://github.com/netblue30/firejail/issues/1139
)browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)The text was updated successfully, but these errors were encountered: