WebStorm crashes in Ubuntu 14.04 LTS

Whenever I try to run WebStorm, I get this warning and as soon as I load any of my project file/folder it just crashes and I am logged out of my system with all processes killed. I have spent 3-4 hours trying different versions of Java trying to make it run without a crash but it doesn't work. 

Current Java status after executing these commands:

sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer oracle-java7-set-default

 

 

And a few times I have seen an system generated error dialogue whose details contained the word Xorg.
I don't know what the issue is and it'd amazing if someone could help me troubleshoot and fix this!
Thanks in advance! 

11 comments
Comment actions Permalink

I'll be on my system all day to help in any way possible to troubleshoot this. 

0
Comment actions Permalink

I managed to find the actual error causing the crashes. 












0
Comment actions Permalink

Please provide java crash logs. By default, they are named hs_err_pidxxxx.log where xxxx is the PID number. Normally the system attempts to create these files in WebStorm working directory. If the file cannot be created in the working directory (insufficient space, permission problem, or other issue), the file is created in the OS temporary directory.
If you can't locate the logs, try specifying the target folder for crash logs explicitly  by passing `-XX:ErrorFile=some_path` to java - this has to be done in bin/webstorm.vmoptions file.

0
Comment actions Permalink

Hi, Has this been fixed yet? I am about to get a Dell XPS 13 Developer with Ubuntu 14 LTS!

Thanks

regards

Steve

0
Comment actions Permalink

It's not clear what should be fixed - not enough information to figure out the issue

0
Comment actions Permalink

Hey sorry for the late reply... 
It got fixed for me.
The issue was my Ubuntu version itself. 
My laptop's intel 520 GPU was not compatible with the newest kernel in 14.04 and the graphics driver kept crashing whenever I opened Webstorm.

 

It works fine in 16.04 now.

0
Comment actions Permalink

Hi. That's good to hear.

But, I can't get it my app to run in WebStorm. I'm a Linux beginner, so I must be missing something.

1 - I have Ubuntu 16.04 LTS

2 - Webstorm is installed and starts fine - I can edit my project (I have a Windows Licence at the moment, and doing a trial licence for this)

3 - Java installed :

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

4 - Dart SDK pointed to (installed under the /opt/ folder, as is WebStorm.

5 - Tried Dartium, Chrome, Firefox.  When I "run", absolutely nothing happens.

What I am missing please?

Thanks

cheers

Steve

 

0
Comment actions Permalink

what do you run exactly and how? Please attach screenshot of your run configuration. Also, what do you mean saying that nothing happens?

0
Comment actions Permalink

Hi Elena,

It is my Dartium setup (which I don't know how to fix).

After switching back to Chrome to do a non-debug run, that works.

For debug, I have Dartium pointed to. It actually does seem to start, because:

- if I press debug again, I get the warning "is a single instance....etc "stop and rerun?"

- the webstorm pink box "Waiting for connection from JetBrains IDE Support extension for Dartium....."

are there.  But there is no Dartium browser window to be seen.

 

In the terminal if I execute ./chrome, I get the following output:

 

steve@steve-xps:/opt/dartium-lucid64-full-stable-1.18.1.0$ ./chrome
[6238:6238:0831/201912:ERROR:browser_main_loop.cc(189)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[6238:6238:0831/201912:ERROR:process_singleton_posix.cc(419)] readlink failed: Permission denied
[6238:6238:0831/201912:ERROR:process_singleton_posix.cc(255)] readlink(/home/steve/.config/chromium/SingletonLock) failed: Permission denied
[6238:6238:0831/201912:ERROR:process_singleton_posix.cc(255)] readlink(/home/steve/.config/chromium/SingletonLock) failed: Permission denied
[6238:6238:0831/201912:ERROR:process_singleton_posix.cc(279)] Failed to create /home/steve/.config/chromium/SingletonLock: Permission denied
[6238:6238:0831/201912:ERROR:process_singleton_posix.cc(419)] readlink failed: Permission denied
[6238:6238:0831/201912:ERROR:process_singleton_posix.cc(255)] readlink(/home/steve/.config/chromium/SingletonLock) failed: Permission denied
[6238:6238:0831/201912:ERROR:chrome_browser_main.cc(1271)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
[0831/201912:ERROR:nacl_helper_linux.cc(317)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

 

I'm looking at this: https://productforums.google.com/forum/#!topic/chrome/5EmprHC36WU

but maybe you have a quick answer!

cheers

Steve

 

 

0
Comment actions Permalink

Seems you don't have permissions for the directory Dartium tries to create its SingletonLock in (/home/steve/.config/chromium)... See http://askubuntu.com/questions/618478/google-chrome-fails-to-start, https://ubuntuforums.org/showthread.php?t=1623261 for possible workaround

0
Comment actions Permalink

Hi Elena,

Thank you. I just bought a new laptop and have installed it (with Ubuntu) there. All is working fine. 

cheers

Steve

0

Please sign in to leave a comment.