解决linux‘打开readme.md文件pycharm闪退’问题

ellij.ui.jcef.JBCefApp$Holder requests com.intellij.ui.jcef.JBCefAppCache instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead.
[0929/160405.913717: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/rd-111s/app/pycharm-2024.1/jbr/lib/chrome-sandbox is owned by root and has mode 4755.
追踪或断点陷阱 (核心已转储)

这个错误是由于 PyCharm 内置浏览器组件(JCEF)的沙盒配置问题导致的。

进入 PyCharm 目录

cd “/home/rd-111s/document/QYJ/app/pycharm-professional-2024.1/pycharm-2024.1”

修复沙盒权限

sudo chown root:root jbr/lib/chrome-sandbox
sudo chmod 4755 jbr/lib/chrome-sandbox

验证权限

ls -l jbr/lib/chrome-sandbox

应该显示: -rwsr-xr-x 1 root root …

测试启动

./bin/pycharm.sh

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值