Filing mostly in case anyone else hits this and is looking for workarounds:
Since the Update to 24.04 PHPStorm crashes on open for me. I think when it tries to preview a markdown file, like a README.md which is shown when opening a project.
```
[0309/094602.913394: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/user/bin/phpstorm/jbr/lib/chrome-sandbox is owned by root and has mode 4755.
```
* Run `<path-to-phpstorm>/bin/phpstorm.sh dontReopenProjects` (to avoid it crashing on start)
* ctrl+shift+a
* type "Registry..."
* disable the "ide.browser.jcef.sandbox.enable" option
* Restart phpstorm
Filing mostly in case anyone else hits this and is looking for workarounds:
Since the Update to 24.04 PHPStorm crashes on open for me. I think when it tries to preview a markdown file, like a README.md which is shown when opening a project.
``` 913394: 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/user/ bin/phpstorm/ jbr/lib/ chrome- sandbox is owned by root and has mode 4755.
[0309/094602.
```
Workaround 1 (wont persist reboots, needs root):
sudo sysctl -w kernel. apparmor_ restrict_ unprivileged_ unconfined= 0 apparmor_ restrict_ unprivileged_ userns= 0
sudo sysctl -w kernel.
Workaround 2 (persists and doesn't need root):
thanks to https:/ /youtrack. jetbrains. com/issue/ IDEA-313202/ IDE-crashes- due-to- chrome- sandbox- is-owned- by-root- and-has- mode-error- when-IDE- is-launching- the-JCEF- in-a-sandbox# focus=Comments- 27-7059083. 0-0
* Run `<path- to-phpstorm> /bin/phpstorm. sh dontReopenProjects` (to avoid it crashing on start) jcef.sandbox. enable" option
* ctrl+shift+a
* type "Registry..."
* disable the "ide.browser.
* Restart phpstorm