flathub/com.jetbrains.WebStorm

Latest update causes insta-crashes

Opened this issue · 14 comments

Was forced to downgrade to the previous update, as I can't even launch WebStorm with the newest one (#70). Please let me know what additional information or assistance I can provide to help solve this issue.

It works here, so I would need more info about what happens exactly.

x80486 commented

@FakeShemp, I think this could be an issue cause by a plugin or something alike. I also do not have any problems starting up any of the products I use from JetBrains, but people are posting they have issues after the upgrade.

On the other hand, a fresh install also doesn't have any problems — again, my experience. Looks like this one is going to be tricky to trace down.

I have the same issue. I can see my list of projects in the welcome screen. When I open a project, I see it opening for a second and then the IDE disappears. I haven’t seen anything special in the log file. I don’t have any downloaded plugins.

The workaround described in IDEA-316613 worked for me. I added -Dide.browser.jcef.enabled=false in webstorm64.vmoptions. On my system, that file was located in /var/lib/flatpak/app/com.jetbrains.WebStorm/current/active/files/extra/webstorm/bin.

cprai commented

I get the following error when opening a project since updating to 2023.1

[0405/190112.150928:FATAL:setuid_sandbox_host.cc(157)] 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 /app/extra/webstorm/jbr/lib/chrome-sandbox is owned by root and has mode 4755.

Setup:

  • Arch linux
  • Wayland
  • Flatpak options are the default that the app sets

Currently I can get around this by just downgrading to 2022.3.4

flatpak remote-info --log flathub com.jetbrains.WebStorm
sudo flatpak update --commit=<version_hash_from_previous_command> com.jetbrains.WebStorm

GoLand solved it by disabling jcef sandboxing like so flathub/com.jetbrains.GoLand@d3eaefb

I'm thinking maybe using https://github.com/refi64/zypak is the more longtime solution though

I've made a PR for adding zypak to PyCharm and it seem to work. flathub/com.jetbrains.PyCharm-Community#534

PRs are welcome as I'm a bit too busy now to add it to the other Jetbrains products.

Still occurs with the latest build:

[0716/123148.436594:FATAL:setuid_sandbox_host.cc(157)] 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 /app/extra/webstorm/jbr/lib/chrome-sandbox is owned by root and has mode 4755.

EDIT: Also had to revert to WebStorm 2022.3.4 to circumvent this

cprai commented

@FakeShemp Can we re-open this issue?

I still have this same issue as well.

x80486 commented

I think what's missing is the --env=IDEA_PROPERTIES=/app/bin/idea.properties permission — and you can remove this line: cat idea.properties | tee -a ${FLATPAK_DEST}/bin/idea.properties.

Insta crash for me too

m1rm commented

+1
OS: ArchLinux with Gnome
Used WebStorm Flatpak Version: 2023.3.2 (branch stable)

Just checking in here to say that I finally tried updating again and I'm still experiencing the same issue, even with the newest version. The only resolution is to go back to 2022.3.4.

If there are any logs I can dump for you, please point me in the right direction and I'll be happy to help when I get a chance.