Unable to start IDEA

Answered

Hi everyone, I'm having a problem starting Intellij IDEA on Ubontu 16.4 ,After i downloaded Intellij IDEA and tried to start it i get an error message [

"#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f23622b1009, pid=29332, tid=29382
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# C  [libjava.so+0x1d009]  JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %P" (or dumping to /home/salhop/core.29332)
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#"

Here is the full report

https://down.uploadfiles.io/get/gaabd 

15 comments
Comment actions Permalink

You are trying to run IntelliJ IDEA on Java 9, please use the bundled runtime instead: https://intellij-support.jetbrains.com/hc/articles/206544879.

1
Comment actions Permalink

Problem solved , Installed Java 8 and it's working now , Thanks Serge Baranov

0
Comment actions Permalink

I removed all versions of Java, then installed Java 8, but it still fails to start.  Note, copying the folder of pycharm-2018.3.2 from another machine to this machine worked.  But the Snap install of 2020.1 did not work.  Neither did the non-snap install of pycharm-2020.1.2 nor pycharm-2019.3.5. Please advise.

Console output:

 

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2020-06-11 18:16:23,296 [ 1056] WARN - llij.ide.plugins.PluginManager - Resource bundle redefinition for plugin 'com.jetbrains.pycharm.pro.customization'. Old value: messages.ActionsBundle, new value: messages.PyBundle
2020-06-11 18:16:26,213 [ 3973] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij]
2020-06-11 18:16:26,242 [ 4002] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: com.intellij]
2020-06-11 18:16:26,242 [ 4002] WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: com.intellij]
2020-06-11 18:16:26,242 [ 4002] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij]
2020-06-11 18:16:26,308 [ 4068] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: HtmlTools]
2020-06-11 18:16:26,415 [ 4175] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: JavaScript]
2020-06-11 18:16:26,416 [ 4176] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: JavaScript]
2020-06-11 18:16:26,490 [ 4250] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: Pythonid]
2020-06-11 18:16:26,490 [ 4250] WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: Pythonid]
2020-06-11 18:16:26,498 [ 4258] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: Pythonid]
2020-06-11 18:16:26,498 [ 4258] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: Pythonid]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007f18747a52ff, pid=5523, tid=5573
#
# JRE version: OpenJDK Runtime Environment (11.0.7+10) (build 11.0.7+10-b765.53)
# Java VM: OpenJDK 64-Bit Server VM (11.0.7+10-b765.53, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# C [ld-linux-x86-64.so.2+0xd2ff]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/USERNAME/core.5523)
#
# An error report file with more information is saved as:
# /home/USERNAME/java_error_in_PYCHARM_5523.log
[thread 5566 also had an error]
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

0
Comment actions Permalink

Please upload /home/USERNAME/java_error_in_PYCHARM_5523.log file at https://uploads.services.jetbrains.com/ .

0
Comment actions Permalink

Try adding ide.browser.jcef.enabled=true in bin/idea.properties file.

1
Comment actions Permalink

[ Error writing /snap/pycharm-professional/201/bin/idea.properties: Read-only file system ]

I got this while using sudo to edit.

Is there a way to edit this, or do I need to install the non-snap version?

0
Comment actions Permalink

See https://intellij-support.jetbrains.com/hc/articles/206544869 . You can create a copy of this file in the config directory and edit it instead. Or use -Dide.browser.jcef.enabled=true in the copy of the .vmoptions file.

1
Comment actions Permalink

That worked!  Thanks  Serge Baranov!

0
Comment actions Permalink

Serge Baranov (or other jetbrains support), I get the same error again now (pasted below). 

My ~/.config/JetBrains/PyCharm2020.1/idea.properties has this line at the end:

ide.browser.jcef.enabled=true

as you suggested, which fixed it, but is no longer effective.  I re-copied the file out of the /snap directory, re-added and tried to start pycharm again, but received the same error and crash.  I also rebooted the machine.  No success.   

Please advise.

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007f4dfdab12ff, pid=2470, tid=2508
#
# JRE version: OpenJDK Runtime Environment (11.0.7+10) (build 11.0.7+10-b765.53)
# Java VM: OpenJDK 64-Bit Server VM (11.0.7+10-b765.53, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# C [ld-linux-x86-64.so.2+0xd2ff]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/USERNAME/core.2470)
#
# An error report file with more information is saved as:
# /home/USERNAME/java_error_in_PYCHARM_2470.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

0
Comment actions Permalink

Could you please share /home/USERNAME/java_error_in_PYCHARM_2470.log file again and also share IDE logs? Help | Collect Logs and Diagnostic Data, see https://intellij-support.jetbrains.com/hc/articles/207241085.

0
Comment actions Permalink

Serge Baranov do you have any other suggestions?

0
Comment actions Permalink

Unfortunatelly, I don't have any other suggestions. It appears to be a unique issue that didn't affect any other user so far. Could be some corrupted system installation or incompatible libraries. I've logged it at https://youtrack.jetbrains.com/issue/JBR-2532.

0
Comment actions Permalink

In the end, I installed from .tar.gz instead of snap. If I renamed "jbr" to "jbr_old" (essentially deleting it), then it loaded fine. This is a strange solution and I don't understand why it worked.

opt/pycharm-2020.1.2/bin looks like:

bin build.txt debug-eggs help index Install-Linux-tar.txt jbr_old lib license plugins product-info.json

0

Please sign in to leave a comment.